Hi,
I have a database table of text flattend out and indexed.
Although searching with fuzzy query works well in most instances, on
occasions however the target record appears way down the list of
matching records.
This is because the query text may contain lots of irrelevant terms (in
the
Hello Mark,
It sounds like you could extend QueryParser and override one of the
Query get***Query methods (getFieldQuery?), perhaps first calling the
super method, and then adding a boost based on the words, which you
would look up in your implementation of the getFieldQuery method.
Otis
---
Hi Otis,
thanks for the reply. I'll have to read up the javadocs a bit more
before I fully understand your answer. ;)
One thing I had noticed in the docs (and was half expecting to get
pointed towards) is the WordlistLoader class. I was thinking that I
could maybe use this and create a kind of
Sure, you can use that class - that is just a utility class for reading
in words from a file, nothing really Lucene-specific.
Otis
--- Mark Page [EMAIL PROTECTED] wrote:
Hi Otis,
thanks for the reply. I'll have to read up the javadocs a bit more
before I fully understand your answer. ;)
];
[EMAIL PROTECTED]
Sent: Friday, November 01, 2002 12:05 AM
Subject: Re: Query Boosting
On Thursday 31 October 2002 18:45, [EMAIL PROTECTED] wrote:
Hi,
My application requires a facility to have security build into the
documents so that when i search for a given word depending on the
security
Hi,
My application requires a facility to have security build into the documents so that
when i search for a given word depending on the security credentials stored in a field
in the document the results are filtered .
Now the problem i am facing is that the score of such results includes
Hi,
My application requires a facility to have security build into the documents so that
when i search for a given word depending on the security credentials stored in a field
in the document the results are filtered .
Now the problem i am facing is that the score of such results includes
Hi,
My application requires a facility to have security build into the documents so that
when i search for a given word depending on the security credentials stored in a field
in the document the results are filtered .
Now the problem i am facing is that the score of such results includes
On Thursday 31 October 2002 18:45, [EMAIL PROTECTED] wrote:
Hi,
My application requires a facility to have security build into the
documents so that when i search for a given word depending on the security
credentials stored in a field in the document the results are filtered .
Now the