how to search documents that value is ;

2004-08-31 Thread juan lu
Hi, I have a field named bidcode in my Index,the value is like this: Doc1:; Doc2:;a0213;a0245 Doc3:; Doc4:; Doc5:;a2148;a0214 how can I search all the documents that the value of this field is ;? I use the Query like this: Query query = QueryParser.parse(bidcode:\;\,

alternative query syntax?

2004-08-31 Thread petite_abeille
Hello, I would like to provide an alternative query syntax for ranges by using a colon (':') or two dots ('..') instead of ' TO '. For example: mod_date:[20020101:20030101] Or mod_date:[20020101..20030101] What would be the correct procedure to modify the QueryParser to achieve this? Should I

Re: TR : -- Lucene, error when indexing demo !

2004-08-31 Thread Otis Gospodnetic
JPhD, you have to add the _JAR_ (lucene-1.4.1-final.jar probably) to your CLASSPATH. You may also have to add the demo Jar to the CLASSPATH. Otis --- J.Ph DEGLETAGNE [EMAIL PROTECTED] wrote: Hello everybody, I want test lucene, My configuration : Windows XP... First, I have

Re: indexing size

2004-08-31 Thread Otis Gospodnetic
Are you using pre-1.4.1 version of Lucene? There was a bug in one of the older versions that left multiple, old index files around, instead of deleting them. Maybe that's using up the disk space. Give us your index directory's 'ls -al' or 'dir'. Otis --- Niraj Alok [EMAIL PROTECTED] wrote:

Lucene Minor Version ????

2004-08-31 Thread Karthik N S
Hi Guys Apologies... Just was Curious to know If Lucene-1.4.1-final.jar a minor version change of Lucene1-4-final.jar or ;{ Thx in Advance WITH WARM REGARDS HAVE A NICE DAY [ N.S.KARTHIK]

Re: how to search documents that value is ;

2004-08-31 Thread Otis Gospodnetic
Which Analyzer did you use for indexing, and which one are you using for searching? You have to make sure that neither of them discards that ; character. Use Luke to double-check that fields in your index still have that ; character, and then make sure that the Analyzer you are passing to

Re: Lucene Minor Version ????

2004-08-31 Thread Otis Gospodnetic
Yes. Minor bug fix, minor version. See the lnk to CHANGES.txt file on Lucene's home page. Otis P.S. No need to apologize :) --- Karthik N S [EMAIL PROTECTED] wrote: Hi Guys Apologies... Just was Curious to know If Lucene-1.4.1-final.jar a minor version change

Re: alternative query syntax?

2004-08-31 Thread Otis Gospodnetic
I'm not on very friendly terms with JavaCC either, but I think what you are saying is correct - it looks like lines 519 and 526 (the ones that define 'TO') are the ones to change, in Lucene CVS HEAD. Otis --- petite_abeille [EMAIL PROTECTED] wrote: Hello, I would like to provide an

Re: indexing size

2004-08-31 Thread Niraj Alok
Hi Otis, Here is the dir results: ( I am using 1.3 final) Volume in drive C has no label. Volume Serial Number is 3767-CD49 Directory of C:\eclipse\jakarta-tomcat-5.0.19\webapps\HCPF\WEB-INF\classes\indexall 23/08/2004 10:50DIR . 23/08/2004 10:50DIR .. 21/08/2004

Re: indexing size

2004-08-31 Thread Otis Gospodnetic
This looks optimized and healthy. You also have a large number of fields, and it looks like a lot (all?) of them are stored and indexed. That's what that large .fdt file indicated. That file is 206 MB in size. Have you looked into your index to make sure you don't have duplicate Documents in

Re: indexing size

2004-08-31 Thread petite_abeille
On Aug 31, 2004, at 17:17, Otis Gospodnetic wrote: You also have a large number of fields, and it looks like a lot (all?) of them are stored and indexed. That's what that large .fdt file indicated. That file is 206 MB in size. Try using Field.UnStored() to avoid storing all those data in your

-- TomCat/Lucene, filesystem

2004-08-31 Thread J.Ph DEGLETAGNE
Hello Somebody, ..I beg your pardon... Under Windows XP / TomCat, How to customize Webapp Lucene to access directory filesystem which are outside TomCat ? like this : D:\Program Files\Apache Software Foundation\Tomcat 5.0\.. to access E:\Data Thank's a lot JPhD

RE: -- TomCat/Lucene, filesystem

2004-08-31 Thread Rupinder Singh Mazara
i have a web application using lucene via tomcat, you may need to set the correct permissions in ur catalina.policy file i use a blanket policy of grant { permission java.io.FilePermission /,read; }; to manage allow access to lucene -Original Message- From: J.Ph

Lucene 1.4.1 not listed on jakarta downloads page

2004-08-31 Thread Armbrust, Daniel C.
FYI I was able to find Lucene 1.4.1 here: http://cvs.apache.org/dist/jakarta/lucene/v1.4.1/ But if I go here: http://jakarta.apache.org/site/binindex.cgi 1.4 is the only lucene download option available. Dan - To

Re: Lucene 1.4.1 not listed on jakarta downloads page

2004-08-31 Thread Erik Hatcher
Thanks for reporting this. We actually know. Lucene 1.4.1 was not released properly, and it is going to require someone to do so. I've done the last two releases, but have been swamped lately. If no one beats me to it, I'll hopefully get around to this in the near future. Erik On

.net version - seperate mailinglist?

2004-08-31 Thread Jan Agermose
Hi Im having some troble using Lucene - but is the .NET port. Should I ask questions about the different analyzers and tokenizers on this mailinglist or one some other? Also - does anyone know the difference between the to .NET implementations listed on the Lucene website?

Re: indexing size

2004-08-31 Thread Niraj Alok
I was also thinking on the same lines. Actually the original code was written by some one else who has left and so I have to own this. At almost all the places, it is Field.Text and at some few places its Field.UnIndexed. I looked at the javadocs and found that there is Field.UnStored also. The

Re: indexing size

2004-08-31 Thread Stephane James Vaucher
On Wed, 1 Sep 2004, Niraj Alok wrote I was also thinking on the same lines. Actually the original code was written by some one else who has left and so I have to own this. At almost all the places, it is Field.Text and at some few places its Field.UnIndexed. I looked at the javadocs and