-
From: "Daniel Naber" <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Tuesday, February 27, 2007 5:33:01 PM (GMT-0500) America/New_York
Subject: Re: indexing and searching the document title question
On Tuesday 27 February 2007 23:07, Phillip Rhodes wrote:
> NAME:
On Tuesday 27 February 2007 23:07, Phillip Rhodes wrote:
> NAME:"color me mine"^2.0 (CONTENTS:color CONTENTS:me CONTENTS:mine)
Try a (much) higer boost like 20 or 50, does that help?
Regards
Daniel
--
http://www.danielnaber.de
-
ncompressed,indexed
stored/uncompressed,indexed>
- Original Message -
From: "Erick Erickson" <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Tuesday, February 27, 2007 1:13:45 PM (GMT-0500) America/New_York
Subject: Re: indexing and searching the document tit
: 7> I think your underlying problem is that the syntax of the search
: isn't correct. You're really searching on
: NAME:color
: defaultfield:me
: defaultfield:mine
:
: You want something like +NAME:color +NAME:me +NAME:mine
or... NAME:"color me mine"
-Hoss
-
You've probably got it right. But I'd add a couple of things
1> by using the correct analyzer at index and query time, the
casing will be taken care of for you.
2> you don't want UN_TOKENIZED for fields you search on
in general because there's no parsing. So if you indexed
"This is a String"
Hi,
According to the FAQ, by indexing the title of the document and performing a
search against the shorter field will automatically give it a higher weight
than matches against the document content. That is what I am trying to
accomplish with a "NAME" field. If someone enters a close match of