Where to download package org.apache.lucene.search.trie

2009-01-23 Thread Zhibin Mai
Hi We try to use package org.apache.lucene.search.trie to support spatial index. Does anyone know whether it is ready, even just for trial, and where to download it? Thank you, Zhibin

Re: Problem with creating IndexReaders and understanding their implementation use

2009-01-23 Thread Michael McCandless
OK, phew! Thanks for bringing closure. Mike Micah Jaffe wrote: Hi, thanks for responding. A quick follow-up, the problem turned out to be more complex than originally explained, and it was not in fact a problem with buggy behavior in Lucene. A static nested class created a fugly point

Re: Problem with creating IndexReaders and understanding their implementation use

2009-01-23 Thread Micah Jaffe
Hi, thanks for responding. A quick follow-up, the problem turned out to be more complex than originally explained, and it was not in fact a problem with buggy behavior in Lucene. A static nested class created a fugly point where I was holding/using the wrong reader at the time of failure.

Re: why would a Field *vanish* from a Document?

2009-01-23 Thread Michael McCandless
This (the sneaky "difference" between an indexed Document and a the newly-created-at-search-time Document) is a frequent confusion with Lucene. The field needs to be marked as stored (Field.Store.YES) in order for it to appear in the retrieved document at search time. But, TokenStream f

Re: check if document is deleted using indexwriter

2009-01-23 Thread Michael McCandless
Could you just call IndexReader.numDocs (after updating your docs & reopening your reader)? Mike Marc Sturlese wrote: I am using IndexWriter updatedocument. If the doc has a duplicate it will delete the old one and insert de new one. If it has no duplicates in the index, it will just

why would a Field *vanish* from a Document?

2009-01-23 Thread rolarenfan
R 2.4 I am rather new to Lucene, and it is entirely likely that the problem is somehow mine -- but I have no clue how. I have an index (of files), all fine; I post keyword queries and get lists of documents, all fine. Now I want to query against something other than keywords, so (here I am i

Re: contrib Benchmark enwiki problem

2009-01-23 Thread Michael McCandless
I think temp is for downloading X.gz and un-gzipping it, and then X is supposed to get unpacked/moved into work. I think? work also holds the index subdir by default. I'd suggest moving your massive Wikipedia XML file to somewhere "safe" (ie, not in "temp") and then symlinking from work t

IndexReader.isDeleted

2009-01-23 Thread Michael McCandless
We are considering replacing the current random-access IndexReader.isDeleted(int docID) method with an iterator & skipTo (DocIdSet) access that would let you iterate through the deleted docIDs, instead. At the same time we would move to a new API to replace IndexReader.document(int docID) that wo

Re: contrib Benchmark enwiki problem

2009-01-23 Thread Jason Rutherglen
I did the symbolic link from work to temp and things worked. Perhaps benchmark should download directly to work? What is temp for? On Thu, Jan 22, 2009 at 4:58 AM, Grant Ingersoll wrote: > There is a little funkiness in the ant script there in that if the original > file exists in temp, but has

Fwd: [Travel Assistance] Applications for ApacheCon EU 2009 - Now Open

2009-01-23 Thread Erik Hatcher
Begin forwarded message: From: Tony Stevenson Date: January 23, 2009 8:28:19 AM EST To: travel-assista...@apache.org Subject: [Travel Assistance] Applications for ApacheCon EU 2009 - Now Open The Travel Assistance Committee is now accepting applications for those wanting to attend Apa