lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cw <second_co...@yahoo.com>
Subject lucene query parser syntax "escape ="
Date Sun, 20 Jul 2008 16:59:39 GMT
i have a field that indexed called 
<summary>. i can see the field and it's data using "luke"  . 
 
the content is like below:::
 
sadf
<body />
<body />
#
#Sun Jul 20 22:34:07 SGT 2008
photographerContact=
tasterContact=
foodType=-1
profileType=-1
payment=-1
location=-1

 
 
How to use query parser to search for this summary field content for "location=-1" .  from
what i know i cannot use " ="  for query. how to escape "="  ?
 
i tried something like this 'location=-1'  but failed
 
 


      
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message