lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From HPDrifter <dustin.ly...@exobox.com>
Subject Re: Getting tokens from search results. Simple concept
Date Thu, 05 Mar 2009 22:55:54 GMT

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: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
> 
> 
> 

-- 
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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message