Using Lucene with Jarowinkler

2008-01-07 Thread Shivani Sawhney
y? * Is there any way I can override the way Lucene's logic for String match and use Jarowinkler there instead. Any help will be appreciated. Thanks Shivani Sawhney

Error while closing IndexWriter

2006-10-12 Thread Shivani Sawhney
Hi All, I am facing a peculiar problem. I am trying to index a file and the indexing code executes without any error but when I try to close the indexer, I get the following error and the error comes very rarely but when it does, no code on document indexing works and I finally have to delete al

RE: Error while closing IndexWriter

2006-10-15 Thread Shivani Sawhney
o.columnName, value)); } } } try { indexwriter.addDocument(document); } catch (IOException e) { e.printStackTrace(); throw new MyRuntimeException(e.getMessage(), e); } } } Regards, Shiv

Using Range Queries

2006-02-08 Thread Shivani Sawhney
Hi, I am trying to search across some documents and have min and max experience, min and max ctc and email as some of the search fields. I have problem using the Range Query. The problem is as follows. If I am trying to search for documents with exp between 0 to 9, I get 15 hits, assuming that

How to index numeric fields

2006-02-15 Thread Shivani Sawhney
Hi, What is the best way to index numeric decimal fields, like experience, when I want to use a range search on this field? Thanks in advance. Regards, Shivani

ArrayIndexOutOfBoundsException while closing the index writer

2006-02-15 Thread Shivani Sawhney
Hi, I have used Lucene in my application and am just indexing and searching on some documents. The code that indexes the documents was working fine till yesterday and suddenly stopped working. I get an error when I am trying to close the index writer. The code is as follows: .

RE: ArrayIndexOutOfBoundsException while closing the index writer

2006-02-15 Thread Shivani Sawhney
writer != null. Otis - Original Message From: Shivani Sawhney <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Wednesday, February 15, 2006 11:31:12 PM Subject: ArrayIndexOutOfBoundsException while closing the index writer Hi, I have used Lucene in my application and am just ind

RE: It worked---NullPointerException while closing the index writer

2006-02-16 Thread Shivani Sawhney
iter.close(); } } catch (IOException e) { e.printStackTrace(); throw new Error(e); } finally { if (indexwriter != null) { indexwriter.close(); } } } -Original Message----- From: Shiva

NullPointerException while closing the index writer

2006-02-16 Thread Shivani Sawhney
al Message----- From: Shivani Sawhney [mailto:[EMAIL PROTECTED] Sent: 16 February, 2006 11:03 AM To: java-user@lucene.apache.org Subject: RE: ArrayIndexOutOfBoundsException while closing the index writer Hi Otis, Thanks for such a quick reply. I tried using finally, but it didn't help.

Asserting that a value must match the entire content of a field

2006-06-11 Thread Shivani Sawhney
Hi, I have a small query here. How do I do an exact match on the value of a field and also assert that the value must match the entire content of that field? For E.g., I want that only the documents with 'Product Lifecycle' as the value of a given field must be selected and even documents wit

RE: Asserting that a value must match the entire content of a field

2006-06-11 Thread Shivani Sawhney
] Sent: Monday, June 12, 2006 11:10 AM To: java-user@lucene.apache.org Subject: Re: Asserting that a value must match the entire content of a field One (ugly) way might be to insert artificial begin/end markers at both index and search time. Otis - Original Message From: Shivani Sawhney

RE: Asserting that a value must match the entire content of a field

2006-06-12 Thread Shivani Sawhney
OTECTED] Sent: Monday, June 12, 2006 12:39 PM To: java-user@lucene.apache.org Subject: Re: Asserting that a value must match the entire content of a field On Jun 12, 2006, at 2:04 AM, Shivani Sawhney wrote: > Are you saying that there is no out-of-the-box way of doing this...? Well, there are l