Re: Searching against Database

2004-07-15 Thread Peter M Cipollone
- Original Message - From: "Hetan Shah" <[EMAIL PROTECTED]> To: "Lucene Users List" <[EMAIL PROTECTED]> Sent: Thursday, July 15, 2004 7:51 PM Subject: Re: Searching against Database > Is it possible to search against the column in the table ? If so are > there any limitations on the # o

Re: Browse by Letter within a Category

2004-07-12 Thread Peter M Cipollone
You can use http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/search/spans/SpanFirstQuery.html Pete - Original Message - From: "O'Hare, Thomas" <[EMAIL PROTECTED]> To: "Lucene Users List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, July 12, 2004 11:48 AM Subject: RE:

Re: Way to repair an index broking during 1/2 optimize?

2004-07-08 Thread Peter M Cipollone
You might try merging the existing index into a new index located on a ram disk. Once it is done, you can move the directory from ram disk back to your hard disk. I think this will work as long as the old index did not finish merging. You might do a "strings" command on the segments file to make

Re: Deleting a Doc found via a Query

2004-07-07 Thread Peter M Cipollone
Bill, Check http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/search/Hits.html#id(int) Pete - Original Message - From: "Bill Tschumy" <[EMAIL PROTECTED]> To: "Lucene Users List" <[EMAIL PROTECTED]> Sent: Wednesday, July 07, 2004 9:46 PM Subject: Deleting a Doc found via a Quer

Re: search multiple indexes

2004-07-01 Thread Peter M Cipollone
Toby, Check http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/search/MultiSearcher.html and http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/search/ParallelMultiSearcher.html If you need sample code, check the test cases in the source distribution. They show usage examples f

Re: Adding to an existing document

2004-06-30 Thread Peter M Cipollone
t > Sorry I'm not quite sure what you mean - I do store threadid with every > document already - is there a way to append to a single thread's body field? > > cheers, > Toby > > -Original Message- > From: Peter M Cipollone [mailto:[EMAIL PROTECTED] > Sen

Re: Adding to an existing document

2004-06-30 Thread Peter M Cipollone
- Original Message - From: "Toby Tremayne" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 30, 2004 8:28 PM Subject: Adding to an existing document > > Hi all, > > I have an index which contains information from a forum database > > > > - one document per thread,

Re: How to query collection for document count

2004-06-30 Thread Peter M Cipollone
Try this... http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/index/IndexReader.html#numDocs() - Original Message - From: "Don Vaillancourt" <[EMAIL PROTECTED]> To: "Lucene Users List" <[EMAIL PROTECTED]> Sent: Wednesday, June 30, 2004 3:55 PM Subject: How to query collection f

Re: Demo 3 on windows

2004-06-21 Thread Peter M Cipollone
Try quoting the path name java org.apache.lucene.demo.IndexHTML -create -index "c:\apache group\index" - Original Message - From: "Hetan Shah" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 21, 2004 5:54 PM Subject: Demo 3 on windows > Hello, > > I have been trying to b

Re: question on design for ordering of field names written to FieldInfos object

2004-05-29 Thread Peter M Cipollone
sorry. I meant to send this to the dev list... - Original Message - From: "Peter M Cipollone" <[EMAIL PROTECTED]> To: "Lucene Users List" <[EMAIL PROTECTED]> Sent: Saturday, May 29, 2004 6:42 PM Subject: question on design for ordering of field names wri

question on design for ordering of field names written to FieldInfos object

2004-05-29 Thread Peter M Cipollone
Hi, I have a question about the following code from org.apache.lucene.index.SegmentMerger. I would like to know if the ordering of the fields as they are stored to the FieldInfos object is critical to some other purpose. In the code below (from a week+/- ago CVS pull), the fields are stored in t

Re: Query parser and minus signs

2004-05-21 Thread Peter M Cipollone
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 21, 2004 11:36 AM Subject: Query parser and minus signs > > > > > Hi All, > > I'm using Lucene on a site that has split content with a branch containing > pages in English and a separate branch in C

Re: Question on QueryParser.parse()

2004-05-14 Thread Peter M Cipollone
- Original Message - From: "Terence Lai" <[EMAIL PROTECTED]> To: "'Lucene Users List'" <[EMAIL PROTECTED]> Sent: Friday, May 14, 2004 2:12 PM Subject: Question on QueryParser.parse() > I am trying to create a query object using the QueryParser for the search word "A+". However, it alway

Re: Getting a field value from a large indexed document is slow.

2004-05-14 Thread Peter M Cipollone
Paul, It might be worth your while to store the file itself outside lucene, and only store the filename in the stored data. This is generally how relational databases deal with LOBs, and will work with Lucene, too. You will also save yourself hours when it comes time to merge indices or optimize