I contributed a little reward to whoever can complete this task too
http://nextsprocket.com/tasks/solr-1337-spans-and-payloads-query-support-asf-jira

Feel free to contribute to the reward if you need this done too!

Tommy Chheng
Programmer and UC Irvine Graduate Student
Twitter @tommychheng
http://tommy.chheng.com


On 3/12/10 2:14 PM, Grant Ingersoll wrote:
OK, you need https://issues.apache.org/jira/browse/SOLR-1337 and it's related 
item: https://issues.apache.org/jira/browse/SOLR-1485

Unfortunately, not implemented yet.

On Mar 12, 2010, at 1:36 PM, MitchK wrote:

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