CheckIndex tool

2013-04-03 Thread ikoelliker
Hello, We have very old indexes (i.e. created with Lucene 2.1.0) we would like to run the CheckIndex tool from the 2.9.4 Lucene jar file, since it is not available in 2.1.0. Is it safe to assume that if we are not running with the -fix option that the indexes being checked aren't altered but the

Lucene 3.6.2 deleteDocument(docNum) and undeleteAll

2013-05-23 Thread ikoelliker
Hello, We have code running with Lucene 2.9.4 that does the following: 1. Check that number of documents to be deleted, found with a particular query, matches the expected number we pass in 2. For each ScoreDoc in the ScoreDoc[] returned from the search we call deleteDocument(score

RE: Lucene 3.6.2 deleteDocument(docNum) and undeleteAll

2013-05-23 Thread ikoelliker
What about undeleteAll? Is there an equivalent on the IndexWriter side? -Original Message- From: Uwe Schindler [mailto:u...@thetaphi.de] Sent: Thursday, May 23, 2013 4:01 PM To: java-user@lucene.apache.org Subject: Re: Lucene 3.6.2 deleteDocument(docNum) and undeleteAll Use delete by que

deleting documents

2013-07-30 Thread ikoelliker
Hello, In Lucene 4.x is there a way to get the number of documents that were deleted from calling IndexWriter. deleteDocuments(Query)? Another question, if we call IndexWriter. tryDeleteDocument(Reader, docId) utilizing a near-real-time reader, what is the appropriate order to close the reader

TermRangeQuery with a custom comparator

2013-08-06 Thread ikoelliker
Hello, In earlier versions of Lucene the TermRangeQuery constructor was able to take a Collator object in order to provide a custom comparator for comparing terms when determining whether or not a document's term fell within the search range. In Lucene 4.x this functionality has been removed, so

Index merge question

2010-08-10 Thread IKoelliker
Hello, Is there any point during a merge operation where the index cannot be searched or is unstable? We want to create a bunch of smaller indexes in parallel and then merge them into a single index that may have searches running against it. Thanks, Ian Koelliker

RE: Index merge question

2010-08-10 Thread IKoelliker
Would it matter if an IndexReader was opened while an index merge is in progress? Thanks -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: Tuesday, August 10, 2010 12:03 PM To: java-user@lucene.apache.org Subject: Re: Index merge question When you open an In

SpanNearQuery vs. PhraseQuery.setSlop

2011-08-22 Thread ikoelliker
Hello, We are using phrase queries with a slop value to perform Near and Within style searches and the issue we are encountering is as follows: Since the slop value in the PhraseQuery is the edit-distance, a message with the terms 'thank' and 'you' will be found with a query of field:"thank you

Possible to use span queries to avoid stepping over null index positions

2011-08-26 Thread ikoelliker
Hello, In our indexes we have a field that is a combination of other various metadata fields (i.e. subject, from, to, etc.). Each field that is added has a null position at the beginning. As an example, in Luke the field data looks like: null_1 this is a test subject null_1 ikoelliker email

RE: Possible to use span queries to avoid stepping over null index positions

2011-08-29 Thread ikoelliker
arious > metadata fields (i.e. subject, from, to, etc.). Each field that is added has > a null position at the beginning. As an example, in Luke the field data looks > like: > > null_1 this is a test subject null_1 ikoelliker email address > > If someone searches this field using a NEA