>
> Can i use the highlighter even if i don't store text in clucene index?
>    

I'm not familiar with the specifics of the implementation in our 
contrib, but it should also work without storing the text by looking at 
the term vectors and using the token offsets generated by the analyzer 
while indexing.

This approach has its caveats - for example when normalization such as 
stemming is applied. It also won't work for n-grams.

Java has several versions to solve those issues, and I believe CLucene's 
version is quite old compared to those. See 
https://issues.apache.org/jira/browse/LUCENE-1522 and 
https://issues.apache.org/jira/browse/LUCENE/component/12312096.

It would be nice if someone could do some work to upgrade our Highlighter...

Itamar.

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to