lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Griffin" <jgrif...@thebluezone.net>
Subject RE: Term Frequency for more complex terms
Date Thu, 03 Jul 2008 21:51:33 GMT
Matthew,

I not totally sure what you are asking but if it's 'where do I call the
explain method from?' it looks like you want to call it from the
IndexSearcher class. Look at the API docs for Searcher (the IndexSearcher's
superclass).

John G.

P.S.
If that's not it, look for explain in the API docs by clicking on Index at
the top of the docs. They're all there.


-----Original Message-----
From: Matthew Hall [mailto:mhall@informatics.jax.org] 
Sent: Thursday, July 03, 2008 10:20 AM
To: lucene
Subject: Term Frequency for more complex terms

I have a quick question, could someone point me towards where in the API 
I'll have to investigate in order to figure out the term frequencies of 
more complex terms?

For example I want to know the tf of "kit ligand" treated as a phrase.  
I see that luke has access to this information in its explain method, 
but the api call is currently eluding me.

Thanks,

Matt

-- 
Matthew Hall
Software Engineer
Mouse Genome Informatics
mhall@informatics.jax.org
(207) 288-6012



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message