Re:Merging Indeces

2007-04-21 Thread jim shirreffs
"Lucene has no concept of "document identity" in that you can index the same document 15 times in a row and Lucene will have 15 entries. " Is this true? When ever I run the demo indexing logic document already indexed are skipped. What am I missing. jim s start java org.apache.lucene.demo.In

Re: Merging Indeces

2007-04-21 Thread Erick Erickson
Take a look at the source in IndexHTML.java (C:\lucene- 2.1.0\src\demo\org\apache\lucene\demo on my machine). The code goes through quite a bit of effort to remove old documents identified by uid. My comment was really that the underlying engine doesn't recognize duplicates, any such requirements

Leading and trailing wildcard together

2007-04-21 Thread Mohsen Saboorian
Hi, I've noticed that from Lucene 2.1 leading wildcard can be enabled using QueryParser.setAllowLeadingWildcard(true), however I wasn't able to search for *Foo* (while "?Foo*" and even "?*Foo*" works). Is it possible to have leading and trailing star wildcard together? Thanks. -- View this messa

Re: Merging Indeces

2007-04-21 Thread jim shirreffs
OK I get it, thanks for the info, just told my boss the opposite, guess I will have to send another email. thanks again jim s - Original Message - From: "Erick Erickson" <[EMAIL PROTECTED]> To: Sent: Saturday, April 21, 2007 8:32 AM Subject: Re: Merging Indeces Take a look at th

Re: Leading and trailing wildcard together

2007-04-21 Thread Daniel Naber
On Saturday 21 April 2007 17:16, Mohsen Saboorian wrote: > however I wasn't able to search > for *Foo* (while "?Foo*" and even "?*Foo*" works). Is it possible to > have leading and trailing star wildcard together? That's a bug in the 2.1 release which has been fixed in SVN trunk. There's also a

Re: MultiSearcher vs MultiReader

2007-04-21 Thread Grant Ingersoll
On Apr 20, 2007, at 3:08 PM, Kirk Roberts wrote: Grant Ingersoll wrote: I will try to take a crack at these, but not sure I know exactly what you are looking for, so maybe others can chime in too. At any rate, MultiSearcher has been around a lot longer (2001 versus 2004, or at least that is

Re: Leading and trailing wildcard together

2007-04-21 Thread Doron Cohen
Daniel Naber <[EMAIL PROTECTED]> wrote on 21/04/2007 15:54:31: > On Saturday 21 April 2007 17:16, Mohsen Saboorian wrote: > > > however I wasn't able to search > > for *Foo* (while "?Foo*" and even "?*Foo*" works). Is it possible to > > have leading and trailing star wildcard together? > > That's