RE: Enabling indexing of hyphenated terms sans the hyphen

2011-09-20 Thread SBS
> Solr's WordDelimiterFilterFactory does what you want. Thanks Steve, that's exactly what I was looking for and it is now working. -sbs -- View this message in context: http://lucene.472066.n3.nabble.com/Enabling-indexing-of-hyphenated-terms-sans-the-hyphen-tp3350008p3353208.html Sent from the

Re: QueryWrapperFilter and DocIdSetIterator

2011-09-20 Thread aberdeen61
I've created https://issues.apache.org/jira/browse/LUCENE-3442 to document this. Thanks for your help, Dan - Original Message - From: Uwe Schindler To: java-user@lucene.apache.org Cc: Sent: Tuesday, September 20, 2011 11:01 AM Subject: RE: QueryWrapperFilter and DocIdSetIterator I in

RE: QueryWrapperFilter and DocIdSetIterator

2011-09-20 Thread Uwe Schindler
I investigated your problem: It's a 3.x bug in an optimization in TermQuery. All other queries work. TermQuery assumes that the IndexReader passed into it's Scorer method is atomic (means is a segment reader). This is not the case for your example code. It uses a hash-based cache to cache documen

RE: QueryWrapperFilter and DocIdSetIterator

2011-09-20 Thread Uwe Schindler
Hi, I don't see a problem in your code: If you look at the source code of QueryWrapperFilter, it will never return NULL, so it returns always a DocIdSet theat itself returns the Scorer of the query as Iterator. @Override public DocIdSet getDocIdSet(final IndexReader reader) throws IOException

QueryWrapperFilter and DocIdSetIterator

2011-09-20 Thread aberdeen61
I've been trying to use the QueryWrapperFilter as part of composing a set of filters. Are there limitations on the types of queries it can wrap?  When I try to get the DocSetIdIterator for the filter it comes up null. This happens even when the query is a simple TermQuery. The following code sh

Re: [ANNOUNCE] Apache Lucene 3.4.0 released

2011-09-20 Thread Shai Erera
Hi Mihai, Currently LuceneTaxonomyReader does not support NRT. In order to do that, we'd need to add API to LuceneTaxonomyWriter to expose its reader, and allow you to instantiate LTR with LTW. There is another change to LTR.refresh() that we'll need to do in order to support that - first and fore

Re: [ANNOUNCE] Apache Lucene 3.4.0 released

2011-09-20 Thread Mihai Caraman
How can you use the TaxonomyReader in NRT search? Fantastic job! 2011/9/15 Michael McCandless > September 14 2011, Apache Lucene™ 3.4.0 available > > The Lucene PMC is pleased to announce the release of Apache Lucene 3.4.0. > > Apache Lucene is a high-performance, full-featured text search engi