This should be a common wildcard query highlighting problem.
You will need to query.rewrite() first, and pass the result to the highlighter.

--
Chris Lu
-------------------------
Instant Scalable Full-Text Search On Any Database/Application
site: http://www.dbsight.net
demo: http://search.dbsight.com
Lucene Database Search in 3 minutes: 
http://wiki.dbsight.com/index.php?title=Create_Lucene_Database_Search_in_3_minutes
DBSight customer, a shopping comparison site, (anonymous per request) got 2.6 
Million Euro funding!


halbtuerderschwarze wrote:
Hi,

I just changed from Lucene 2.4.1 to Lucene 3.0.0 to use the
FastVectorHighlighter, because I've large documents to search and hope for
better highlighting performance.
If I call the getBestFragments method I didn't get fragments for truncated
queries (f.e. Ipod*), simple none truncated queries are still working fine.

Thanks in advance,
Arne

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

Reply via email to