Re: search problem when indexed using Field.setOmitTf()

2009-03-13 Thread Michael McCandless
a-user@lucene.apache.org Sent: Wednesday, March 11, 2009 2:35:02 PM Subject: Re: search problem when indexed using Field.setOmitTf() This is expected: phrase searches will not work when you omitTf. omitTf means positional information about tokens is not saved in the index. Span queries & p

Re: search problem when indexed using Field.setOmitTf()

2009-03-13 Thread Michael McCandless
27;s more self-descriptive. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Michael McCandless To: java-user@lucene.apache.org Sent: Wednesday, March 11, 2009 2:35:02 PM Subject: Re: search problem when indexed using Field.setOmitTf() This is

Re: search problem when indexed using Field.setOmitTf()

2009-03-12 Thread Otis Gospodnetic
even consider renaming this so it's more self-descriptive. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Michael McCandless > To: java-user@lucene.apache.org > Sent: Wednesday, March 11, 2009 2:35:02 PM > Subject: Re: searc

Re: search problem when indexed using Field.setOmitTf()

2009-03-11 Thread Michael McCandless
Siraj Haider wrote: Yonik Seeley wrote: On Wed, Mar 11, 2009 at 2:35 PM, Michael McCandless wrote: This is expected: phrase searches will not work when you omitTf. But why would a phrase query be created? The code given looks like it should create a boolean query with two terms. Of

Re: search problem when indexed using Field.setOmitTf()

2009-03-11 Thread Siraj Haider
Yonik Seeley wrote: > On Wed, Mar 11, 2009 at 2:35 PM, Michael McCandless > wrote: > >> This is expected: phrase searches will not work when you omitTf. >> > > But why would a phrase query be created? The code given looks like it > should create a boolean query with two terms. > > Of cour

Re: search problem when indexed using Field.setOmitTf()

2009-03-11 Thread Yonik Seeley
On Wed, Mar 11, 2009 at 2:35 PM, Michael McCandless wrote: > This is expected: phrase searches will not work when you omitTf. But why would a phrase query be created? The code given looks like it should create a boolean query with two terms. Of course, the given code also uses "" as the default

Re: search problem when indexed using Field.setOmitTf()

2009-03-11 Thread Michael McCandless
This is expected: phrase searches will not work when you omitTf. omitTf means positional information about tokens is not saved in the index. Span queries & phrase queries require that positional information to work. Mike Siraj Haider wrote: We are having a problem running searches on an

search problem when indexed using Field.setOmitTf()

2009-03-11 Thread Siraj Haider
We are having a problem running searches on an index after upgrading to 2.4 and using the new Field.setOmitTf() function. The index size has been dramatically reduces and even the search performace is better. But searches do not return any results if searching for something that has a space i