Thanks for your thoughts!  This, at least, makes me feel sane.


hossman wrote:
> 
> 
> : What I would LOVE is if I could do it in a standard Lucene search like I
> : mentioned earlier. 
> : Hit.doc[0].getHitTokenList() :confused:
> : Something like this...
> 
> The Query/Scorer APIs don't provide any mechanism for information like 
> that to be conveyed back up the call chain -- mainly because it's more 
> heavy weight then most people need.
> 
> If you have custom Query/Scorer implementations, you can keep track of 
> whatever state you want when executing a QUery -- in fact the SpanQuery 
> family of queries do keep track of exactly the type of info you seem to 
> want, and after executing a query, you can ask it for the "Spans" of any 
> matching document -- the down side is the a loss in performance of query 
> execution (because it takes time/memory to keep track of all the matches)
> 
> 
> -Hoss
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Getting-tokens-from-search-results.--Simple-concept-tp22225364p22362626.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to