Re: Weird cloning in QueryNode implementations

2017-04-10 Thread Adrien Grand
I think you are right that those field copies are not necessary. Le mar. 11 avr. 2017 à 06:06, Trejkaz a écrit : > Hi all. > > Something queer I found while looking at QueryNode implementations is > this sort of thing: > > @Override > public FieldQueryNode cloneTree() throws CloneNotSupp

Weird cloning in QueryNode implementations

2017-04-10 Thread Trejkaz
Hi all. Something queer I found while looking at QueryNode implementations is this sort of thing: @Override public FieldQueryNode cloneTree() throws CloneNotSupportedException { FieldQueryNode fqn = (FieldQueryNode) super.cloneTree(); fqn.begin = this.begin; fqn.en

How to use FieldCache and Custom Collector to improve search speed

2017-04-10 Thread neeraj shah
I am using Lucene 3.6 and i am trying to implement FieldCache. I have seen some posts but did not get any clear idea. Can anyone please suggest me any link where i can find proper example of FieldCache and how to use it while searching.