RE: Intermittent exception on optimize(): IOException: Cannot delete _5.cfs

2005-05-09 Thread Monsur Hossain
I'm using Lucene.NET, but I had a similar issue with Visual Studio. With Visual Studio open, my application would randomly crash with the same error when I tried to run it from the command line. I'd recommend shutting down all running apps and then see if the error happens in Ant. You could als

Spacing problem in highlight

2005-05-09 Thread yinjin
Hi, All, I use lucene highlight package to generate KWIC contents. When part of the paper with text like this, == PARTICIPATORY NATURAL RESOURCES MANAGEMENT IN MOZAMBIQUE AN ASSESSMENT OF LEGAL AND INSTITUTIONAL ARRANGEMENTS FOR CO

RE: alpha numeric searching or highlighting problem.

2005-05-09 Thread Yagnesh Shah
Thanks! for pointing this out. -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Friday, May 06, 2005 8:15 PM To: java-user@lucene.apache.org Subject: Re: alpha numeric searching or highlighting problem. On May 6, 2005, at 5:43 PM, Yagnesh Shah wrote: > Hi folks, >

Re: a *match all* query

2005-05-09 Thread kimchy . compass
You can use Compass, since it does it for you by default. If you don't care about OSEM (mapping your domain objects to search engine), you can use the Compass::Core search engine abstraction to do that (just define the resource mapping...), and work with Resource (Document) and Property (

Re: QueryParser and Special Characters

2005-05-09 Thread Chris Lamprecht
You might need a double backslash, since the string \(1\+1\) represented in Java is "\\(1\\+1\\)" (see the javadocs for java.util.regex.Pattern for a better explanation). On 5/9/05, Kipping, Peter <[EMAIL PROTECTED]> wrote: > The documentation tells us to escape special characters by using the \

QueryParser and Special Characters

2005-05-09 Thread Kipping, Peter
The documentation tells us to escape special characters by using the \ Example: \(1\+1\) However if we put this in a string String query = "\(1\+1\)"; Then the java compiler throws an Invalid Escape Sequence error. QueryParser doesn't seem to recognize the double backslash. Is there a workaro

Re: Difference between minMergeDocs and mergeFactor

2005-05-09 Thread Lorenzo Viscanti
Hi Barbara, while mergeFactor deals with the size of new segments and the number of segments in the index, minMergeDocs deals only with the size of new segments. minMergeDocs sets the number of documents a new segment must contain before it is written from RAM to the index. So does mergeFactor;

FileNotFound Exception

2005-05-09 Thread Ravi
I'm getting the following exception when I try to update my searcher object. When I checked the index folder it does not have the .fnm file. I have .cfs files, a deletable and a segments file. Has anybody had similar problem? Thanks in advance, Ravi. The class java.io.FileNotFoundException's m

Re: a *match all* query

2005-05-09 Thread Miles Barr
On Mon, 2005-05-09 at 14:57 +0300, Stanislav Jordanov wrote: > I need a query that will hit all documents in the index. > How do I get one? The semi-official technique is to create an additional field in the index and store the same value in it for all the documents. Then do a query on that field

a *match all* query

2005-05-09 Thread Stanislav Jordanov
I need a query that will hit all documents in the index. How do I get one? 10x StJ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]