However leaving the name as a single term would make me miss a hit
like "john doe johnson" -- which is unacceptable.
Is there a way I could boost the queryresults that match better?
Will the score rise if a query is matched more than once? "j*" in
"john johnson"?
It wouldn't matter that much that
On Aug 12, 2005, at 9:22 PM, Chris Hostetter wrote:
: Programatically you can use PhrasePrefixQuery - see Lucene's test
: case code for examples of how it's used, but it is a bit of work to
: set up.
That's only needed if you assume that the field contains tokenized
text.
if the whole name is
: Programatically you can use PhrasePrefixQuery - see Lucene's test
: case code for examples of how it's used, but it is a bit of work to
: set up.
That's only needed if you assume that the field contains tokenized text.
if the whole name is indexed as a single Term, then a regular prefix query
s
On Aug 12, 2005, at 3:11 PM, Lasse L wrote:
I am using the queryparser to search for names.
If I search for: john j*
I'd expect to get everybody called john j-something. john johnson,
john joe doe ect.
Instead I just all john and joes. In many of the hits there is not
second j-word.
That is a
I am using the queryparser to search for names.
If I search for: john j*
I'd expect to get everybody called john j-something. john johnson,
john joe doe ect.
Instead I just all john and joes. In many of the hits there is not
second j-word.
Is there a way to get lucene to get "satisfied" after mat