Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-User
Scoring for all the documents in the index relative to a query
 

Index | Next | Previous | View Flat


haiduc_sonia at yahoo

Nov 19, 2007, 8:05 AM


Views: 506
Permalink
Scoring for all the documents in the index relative to a query

Hi everyone,

I am trying to obtain the score for each document in the index relative to a given query. For example, if I have the query "search file", I am trying to get the list of all documents in the index and their scores relative to the given query. I tried first using Hits, which gave me the normalized score. I thought that I don't see the whole list of documents and their scores because of the normalization, so I tried using HitsCollector. But even after using HitsCollector, I get the same number of matching documents, so the normalization didn't exclude documents because of negative scoring. Does Lucene actually compute the score for all the documents in the index or just for matching documents? I really need to have the scores for all the documents in the index relative to the query (even if negative), not just the ones that contain the query terms(this is what Lucene considers "matching documents", right?). Is this possible using Lucene?

I really appreciate your time and effort!
Thanks,
Sonia




____________________________________________________________________________________
Get easy, one-click access to your favorites.
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs

Subject User Time
Scoring for all the documents in the index relative to a query haiduc_sonia at yahoo Nov 19, 2007, 8:05 AM
    Re: Scoring for all the documents in the index relative to a query erickerickson at gmail Nov 19, 2007, 8:55 AM
    Re: Scoring for all the documents in the index relative to a query haiduc_sonia at yahoo Nov 19, 2007, 10:25 AM
        Re: Scoring for all the documents in the index relative to a query gsingers at apache Nov 19, 2007, 10:38 AM
        Re: Scoring for all the documents in the index relative to a query DORONC at il Nov 20, 2007, 4:23 AM
    Re: Scoring for all the documents in the index relative to a query haiduc_sonia at yahoo Nov 19, 2007, 10:25 AM
        Re: Scoring for all the documents in the index relative to a query buschmic at gmail Nov 19, 2007, 10:32 AM
        Re: Scoring for all the documents in the index relative to a query gresh at us Nov 19, 2007, 10:45 AM
    Re: Scoring for all the documents in the index relative to a query haiduc_sonia at yahoo Nov 19, 2007, 10:54 AM
    Re: Scoring for all the documents in the index relative to a query hossman_lucene at fucit Nov 19, 2007, 2:03 PM
    Re: Scoring for all the documents in the index relative to a query yonik at apache Nov 19, 2007, 2:35 PM
    Re: Scoring for all the documents in the index relative to a query paul.elschot at xs4all Nov 19, 2007, 3:09 PM
        Re: Scoring for all the documents in the index relative to a query hossman_lucene at fucit Nov 20, 2007, 9:33 AM
            Re: Scoring for all the documents in the index relative to a query paul.elschot at xs4all Nov 20, 2007, 3:09 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.