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.


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

Search Discussions

Discussion Posts


Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupjava-user @
postedJul 17, '06 at 7:41p
activeJul 17, '06 at 9:55p

2 users in discussion

Van Nguyen: 1 post Chris Hostetter: 1 post



site design / logo © 2022 Grokbase