I was wondering if anyone has any idea how i can start to implement my own similarity. I wanna use the cosine similarity measure instead. I was looking through the past forums posts and saw that quite a few people have also discussed this, but no real method of doing it was mentioned.

Any good links on extending the similarity class? A lot of posts discusses David Spencer's "More Like This" but i can;t find this anywhere.

Thanks.

Chris Hostetter wrote:
: I was looking at the new 1.9 api and can't seem to find this expert mode
: of searching.

yonik's refering to all of the methods in the Searcher class that have
"Expert" in their (javadoc) description.

: 
http://lucene.apache.org/java/docs/api/org/apache/lucene/search/IndexSearcher.html#search(org.apache.lucene.search.Weight,%20org.apache.lucene.search.Filter,%20org.apache.lucene.search.HitCollector)

...that method isn't labeled "expert" but it also uses raw scores
(HitCollector's have allways recieved the raw scores)


-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to