Results 1 to 1 of 1
  1. #1
    laserjim is offline Member
    Join Date
    Dec 2009
    Rep Power

    Arrow Additional Weight


    I have a large index that searches about a bazillion documents. Usually (but not always), when a user is searching for a page, they are looking for something in one of the departments with which they have an affiliation. Additionally, if they've opened the document before, there is a good chance they're looking for that document again. Therefore, I would like to weight such results higher. The trick here is that the additional weights are different for different users.

    It's not even just a re-ordering of the returned 100-or-so top results. There may be 10,000 documents containing the word "networking", but the correct result may not even be in the first 100 results returned by lucene.

    My idea was that if there were some way to indicate that a keyword is beneficial if it is contained in the document, but is not a required keyword, I could just append that to the user's query before passing it to lucene.

    Does this make sense? Does such a query syntax for "boost words" exist?
    Last edited by laserjim; 12-13-2009 at 02:31 AM.

Similar Threads

  1. Print image and send additional PCL instructions.
    By bronai in forum Advanced Java
    Replies: 1
    Last Post: 05-16-2011, 08:18 PM
  2. Replies: 7
    Last Post: 10-06-2009, 06:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts