A couple of thoughts on non technical users and query parsers.

2013-05-30 Thread Karl Wettin
Non technical users understand what a field is. All of them might however not know that they they can use them but It's easy for them to learn that name:john will search for john only in names. Non technical users can learn to understand that logic and functionality can be specified in their qu

help for Lucene 4.0.0

2013-05-30 Thread mary meriem
HiIs there a difference between a txt file and a pdf and html, as is the presence ASCIIFoldingFilter consider different carecteres as aphstrophe, J'n fai could eliminate in. txt but those pdf and html apparently this is not the same encoding!there is a filter that can help me for this??I'm worki

Re: Calling IndexWriter.commit() immediately after creating the writer

2013-05-30 Thread Michael McCandless
I opened https://issues.apache.org/jira/browse/LUCENE-5024 to see if we can improve this ... Mike McCandless http://blog.mikemccandless.com On Thu, May 30, 2013 at 7:31 AM, Michael McCandless wrote: > Hi Vitaly, > > This is unfortunately due to a recent change in IndexWriter ... search > for

Re: CorruptIndexException when opening Index during first commit

2013-05-30 Thread Michael McCandless
OK I opened https://issues.apache.org/jira/browse/LUCENE-5024 ... Geoff can you describe your idea there? Thanks. Mike McCandless http://blog.mikemccandless.com On Thu, May 30, 2013 at 7:35 AM, Michael McCandless wrote: > On Mon, May 20, 2013 at 9:22 AM, Geoff Cooney wrote: >>> The problem

Re: CorruptIndexException when opening Index during first commit

2013-05-30 Thread Michael McCandless
On Mon, May 20, 2013 at 9:22 AM, Geoff Cooney wrote: >> The problem is we can't reliably differentiate commit-in-progress from >> a corrupt first commit... > > I think you can tell them apart with high probability because the checksum > is off by exactly one(at least in lucene 3.5 where I'm lookin

Re: Calling IndexWriter.commit() immediately after creating the writer

2013-05-30 Thread Michael McCandless
Hi Vitaly, This is unfortunately due to a recent change in IndexWriter ... search for the recent thread "CorruptIndexException when opening Index during first commit" on this list. Normally, if a commit fails for any reason (OS, hardware, JVM crashes) we simply fall back to the last commit and no