Thanks for your response, Grant!

Imagine you are searching for "foo".
"foor" occurs in doc1 three times. It is the 5th, the 20th, and the 50th
term in the document.
I want to get these positions.

Of course, if I am searching for "foo bar" and "bar" occurs at the 4th and
the 21th position, I also want to know that. I am not sure, but I think this
is what you mean by "per doc basis", right?

Since I need the TermPosition at scoring time, TermVectorComponent seems to
be no option in this case, or do you think it could be one, if I create such
Vectors at index-time?
-- 
View this message in context: 
http://old.nabble.com/How-to-get-Term-Positions--tp27880551p27881024.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to