With wrapping collector scenarios, wrapping LeafCollector needs access to
wrapped LeafCollector.
If wrapping LeafCollector has access to LeafReaderContext, it seems one can
use getLeafCollector "getter" anytime to get the wrapped leaf collector.
if collect(int doc) method retrieves LeafCollector
Hi Adrien
it appears 4.x Filter and our custom implementation inherited Object's
hashcode and equals method. Obviously, this worked for us so far. Logical
equality might not be important in this case and likely to be expensive
given the nature of the custom filters.
Just wanted to understand any
Hi Anton,
I don't see anything obvious. However something that surprised me is
that the number of matches looks quite different in the filter and
query case, are we actually comparing oranges to oranges?
I'm wondering if the explanation could lie in the fact that the
initial caching phase is more
Hi Selva,
Indeed, this default implementation is not good enough for most
filters and should be extended in order to include parameters that
define the "identity" of the filter. One could argue that using object
identity might be a better default, but since Filter now extends Query
it also needs t
Gh, I keep losing track of what list I'm on. Thanks!
On Sat, Jun 27, 2015 at 1:07 PM, Uwe Schindler wrote:
> This was about Lucene, Erick!
>
> There is IndexWriter#deleteDocument taking a term. The term must match a
> StringField holding your ID.
>
> It is no longer possible to easily de
This was about Lucene, Erick!
There is IndexWriter#deleteDocument taking a term. The term must match a
StringField holding your ID.
It is no longer possible to easily delete by internal Lucene doc id. You can
try this with tryDelete but this only works if index did not change inbetween.
The do
http://solr:port/solr/collection/update?commit=true&;123
On Sat, Jun 27, 2015 at 3:00 AM, Behnam Khoshsafar
wrote:
> I need example of deleting one document from index by id in lucene 5.2. tnx
>
> -
> To unsubscribe, e-mail: jav
I need example of deleting one document from index by id in lucene 5.2. tnx
-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org