Offsets in results?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Offsets in results?

Steve Suppe-2
Hi all,

I apologize if this question has been asked, but I've been unable to find
the answer in the archives.

Is there a way to get the offsets for results from a search in JSON format,
or even from SOLR in general (regardless of format, XML even)?  As in, I
have fields set that I am searching over, and am returning those fields in
my JSON object, and would like to know either a) the offsets of those
fields or b) the offsets of the part that matched.

I understand that there is a highlighting plugin, but for various reasons
I'd like to get my hands on the offsets themselves.  Is this something I
need to hack up on my own?

Steve Suppe