Hi,
I am using MultiFieldQueryParser (Lucene 1.9) to
search title and body fields in the documents. The
requirement is that documents with title match should
be returned before the documents with body match.
Using the default scoring, title matches do come
before the body matches. But, I also need
Hi,
Yes, I could run two searches, but that means running
two searches for each request from user and that I
think doubles the job taking double time. Any
suggestions to do it more efficiently please ?
Thanks and Regards
Wiseman
--- "Michael D. Curtin" <[EMAIL PROTECTED]> wr
in body as well.
Really appreciate your interest and help, any more
suggestions how to achieve the desired behaviour
please?
Thanks and Regards
Wiseman
--- "Michael D. Curtin" <[EMAIL PROTECTED]> wrote:
> SOME ONE wrote:
>
> > Yes, I could run two searches, but
Hi,
Yes, my queries are like the first case. And as there
have been no other suggestions to do it in a single
search operation, will have to do it the way you
suggested. This technique will do the job particularly
because title's text is always in the body as well. So
finally I will have to run tw