You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Ryan Chan <ry...@gmail.com> on 2010/07/27 17:05:23 UTC

Is it possible to get keyword/match's position?

According to SO:
http://stackoverflow.com/questions/1557616/retrieving-per-keyword-field-match-position-in-lucene-solr-possible

It is not possible, but it is one year ago, is it still true for now?

Thanks.

Re: Is it possible to get keyword/match's position?

Posted by Chris Hostetter <ho...@fucit.org>.
: Subject: Is it possible to get keyword/match's position?
: 
: According to SO:
: http://stackoverflow.com/questions/1557616/retrieving-per-keyword-field-match-position-in-lucene-solr-possible
: 
: It is not possible, but it is one year ago, is it still true for now?

Not at a high level with any built in Solr features

Under the covers, things like Highlighting and SpanQueries can be used to 
get this type of info for many types of queries, but it's not exposed in 
any convineint API.



-Hoss