Hi,
I am trying to retrieve from Solr API the position of a word from a text
field that was indexes but not stored.

I am storing the text field in an external repository and trying to do the
Solr built-in snippet function by myself, outside Solr.

Basically, all I need is to get from Solr the actual offset of the word in
the text.

I have tried 2 things:
1. Using the TermVectorComponent - Got NPE errors. 
2. Using Highlighting mechanism - didn't find the needed option in the API.

If one of this actually works, please tell me how :-)

Is there another way for me to get the location/position/offset of the
searched word from a text that is not stored in Solr?

Thank you very much!!




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Getting-the-position-of-a-word-via-Solr-API-tp4171877.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to