lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yura Smolsky <i...@altervision.biz>
Subject highlighter and phrase search
Date Thu, 10 Mar 2005 18:48:19 GMT
Hello, java-user.

I have two documents:
1. content:A V A B
2. content:A B C D
When I do search for content:"A B" (exact phrase search) and
StandardAnalyzer(),
when I use Highlighter I receive following highlighted results:

1. _A_ V _A B_
2. _A B_ C D

Actually "A" in the first result does not need to be highlighted b/c
requested keyword was "A B".

Is this a bug or I do not understand something?

Yura Smolsky.


---------------------------------------------------------------------
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