: Is there a way for solr to return only the frequency and position of a
: paticular word back to client?

I don't think so.

It would probably be relatively straight forward to add to 
TermVectorComponent -- i don't know that it would save any *time* (i tihnk 
it would still have to process all the terms to get all the positions for 
the one term you care about) but it would certainly reduce the data sent 
over the wire.

The other option you may wnat to consider is a custom Highligher 
components (i think you would need a fragmenter and a formatter) that just 
paid attention to the positions and returned them instead of marking up 
the text.

-Hoss

Reply via email to