Re: indexing and searching the document title question

2007-02-28 Thread Phillip Rhodes
- 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:

Re: indexing and searching the document title question

2007-02-27 Thread Daniel Naber
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 -

Re: indexing and searching the document title question

2007-02-27 Thread Phillip Rhodes
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

Re: indexing and searching the document title question

2007-02-27 Thread Chris Hostetter
: 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 -

Re: indexing and searching the document title question

2007-02-27 Thread Erick Erickson
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"

indexing and searching the document title question

2007-02-27 Thread Phillip Rhodes
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