lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Question regarding URL encoding
Date Mon, 17 Jul 2006 21:55:08 GMT


it sounds like you may be confused by a couple of differnet things:

1) you are getting a parse exception bcause the '"' character is
meaningful to the query parser ... it thinks you are trying to do a phraes
search but you haven't finished the phrase, try escaping it with \"

2) just because you've *stored* the value '1"' in a field in your document
doesn't mean that value was *indexed* with the '"' preserved ... it really
depends on your analyzer.  Lucene In Action has some great information on
understanding hwat the differnet analyzers do and how they work and how to
see exactly what terms are being indexed.

3) Lucene can store any legal Unicode character -- but what characters
actaully make it into your index depends on what Analyzer you use.



-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message