Indexing domain names?

2009-11-07 Thread Chris Were
Hi, How do I go about indexing domain names? I currently index the domain, but it only works if I put the exact full domain in. For example: site:www.youtube.com (this works) site:youtube.com (this doesn't work) I am using the StandardAnalyzer as most of the other fields being indexed are free f

Apache Lucene java 2.9.1 released

2009-11-07 Thread Michael McCandless
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Release 2.9.1 of Apache Lucene java is now available. This release fixes bugs from 2.9.0, including one serious bug whereby BooleanQuery could silently fail to retrieve certain matching documents. There are also some minor API changes, including a Ve

Re: addIndexesNoOptimize on shards --> is docid deterministic and calculable?

2009-11-07 Thread Michael McCandless
Currently the docIDs are in fact logically appended, during IndexWriter.addIndexes*. This really is an implementation detail, though, so conceivably this may change some day... Mike On Wed, Nov 4, 2009 at 9:23 AM, Britske wrote: > > Hi, > > say I have: > - Indexreader[] readers = {reader1, read

Re: 2 phase commit with external data

2009-11-07 Thread Michael McCandless
Hmm... for step 4 you should have gotten "true" back from isCurrent. You're sure there were no intervening calls to IndexWriter.commit? Are you using Lucene 2.9? If not, you have to make sure autoCommit is false when opening the IndexWriter. Mike On Fri, Nov 6, 2009 at 2:46 PM, Peter Keegan wr