You probably need to make sure you understand analyzers beforeyou think
about escaping/encoding. For instance, if you use
StandardAnalyzer when indexing the text "Las Vegas-Food Dining Place"
would index the tokens
las
vegas
food
dining
place
nary a hyphen to be seen. If you used StandardAnalyzer
Hello Simon,
I am looking for some class which automaticly will take care of text and
convert it into text which can be used in query. The same way as URLEncoder
encodes string for URL for example:
Term: Las Vegas-Food AND Dining place
After encoding term: Las Vagas(escapedDash)Food and Dining
Hi John,
what do you mean by encoding? If you can be more clear about what you
are looking for you might get help easily.
simon
On Sat, Jun 27, 2009 at 12:27 AM, John Seer wrote:
>
> Hello,
> Is there any class in lucene which will do encoding for term?
>
>
> Thanks
> --
> View this message in co