Re: Search for null

2007-07-23 Thread Jay Yu
If you want performance, a better way might be to assign some special string/value (if it's easy to create) to the missing field of docs and index the field without tokenizing it. Then you may search for that special value to find the docs. Jay Les Fletcher wrote: Does this particular range

Re: Search for null

2007-07-23 Thread Les Fletcher
Does this particular range query have any significant performance issues? Les Erik Hatcher wrote: On Jul 23, 2007, at 11:32 AM, testn wrote: Is it possible to search for the document that specified field doesn't exist or such field value is null? This is from Solr, so I'm not sure off the

Re: Search for null

2007-07-23 Thread Erik Hatcher
On Jul 23, 2007, at 11:32 AM, testn wrote: Is it possible to search for the document that specified field doesn't exist or such field value is null? This is from Solr, so I'm not sure off the top of my head if this mojo applies by itself, but a search for -fieldname:[* TO *] will result

Re: Lucene 2.2 + Not Merging Segments

2007-07-23 Thread Doron Cohen
Also, are you perhaps closing the indexWriter after each addDoc()? "Michael McCandless" <[EMAIL PROTECTED]> wrote: > > This is spooky. Could you provide more details about how you are using > IndexWriter? Are you changing "max buffered docs" from the default? > > Also, can you call writer.setIn

Re: Lucene 2.2 + Not Merging Segments

2007-07-23 Thread Michael McCandless
This is spooky. Could you provide more details about how you are using IndexWriter? Are you changing "max buffered docs" from the default? Also, can you call writer.setInfoStream(System.out), capture that log, and post it? Mike "Harini Raghavan" <[EMAIL PROTECTED]> wrote: > Hi All, > > I jus

Lucene 2.2 + Not Merging Segments

2007-07-23 Thread Harini Raghavan
Hi All, I just upgraded my application to use lucene 2.2. Prior to this, I was using lucene 1.9.1 and the addDocument method in the IndexWriter used to keep merging smaller segments while adding new documents depending on the mergeFactor. I was using the default mergeFactor settings. But after th

Search for null

2007-07-23 Thread testn
Is it possible to search for the document that specified field doesn't exist or such field value is null? -- View this message in context: http://www.nabble.com/Search-for-null-tf4130600.html#a11746864 Sent from the Lucene - Java Users mailing list archive at Nabble.com. --

Re: Synonym Search and stemming

2007-07-23 Thread Mathieu Lecarme
IMHO, stemming is hurting index. A stemmed index can't be use for completion or other kind of search. But stemming is nice for synonyms search. You should look for spellchecker code. If you index your word with stemmed version, you can provide a synonym filter, just like wordnet example. M. Le lu

Re: Lucene indexing for PDM system like Windchill

2007-07-23 Thread Mathieu Lecarme
Le dimanche 22 juillet 2007 à 13:17 -0500, Dmitry a écrit : > Mathieru, > I never used Compass, i know that there is integration Shards /Search with > Hibernate, but it absolutely different what actually I need, probably I can > take a look on it. any way thanks > thanks, > DT Not only hibernate

Synonym Search and stemming

2007-07-23 Thread sandeep chawla
Hi, I want to implement synonym search in my application. I think there are two ways to implement synonym search. Index the documents using a synonym analyzer OR Expand the query using a parser which uses a synonym analyzer. Well I am expanding query as indexing with synonym analyzer takes muc