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

Mailing List Archive: Lucene: Java-User
two fields, the first important than the second
 

Index | Next | Previous | View Flat


akos.tajti at gmail

Apr 26, 2012, 12:12 PM


Views: 312
Permalink
two fields, the first important than the second

Dear List,

we've been struggling the following problem for a while:
we have two fields: title and description. Title is generated from short
summaries while description is generated fromlong texts. We want to search
on both fields at the same time but we'd like to get all documents in which
the title matches the search term before all others. For multi term queries
we want to achieve the following: all documents that contain all terms in
their title must come before every other document, no matter how many times
the description matches the query. Is there a simple way to achieve this?

Thanks in advance,
Ákos Tajti

Subject User Time
two fields, the first important than the second akos.tajti at gmail Apr 26, 2012, 12:12 PM
    Re: two fields, the first important than the second jakedsouza88 at gmail Apr 26, 2012, 12:20 PM
    Re: two fields, the first important than the second akos.tajti at gmail Apr 26, 2012, 12:30 PM
    Re: two fields, the first important than the second ian.lea at gmail Apr 26, 2012, 12:36 PM
    Re: two fields, the first important than the second fancyerii at gmail Apr 26, 2012, 8:12 PM
    Re: two fields, the first important than the second fancyerii at gmail Apr 26, 2012, 8:17 PM
    Re: two fields, the first important than the second akos.tajti at gmail Apr 26, 2012, 11:59 PM
    Re: two fields, the first important than the second fancyerii at gmail Apr 27, 2012, 12:40 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.