works, thanks Yonik.
On Sun, Dec 16, 2012 at 10:34 PM, Yonik Seeley <yo...@lucidworks.com> wrote: > On Mon, Dec 17, 2012 at 12:58 AM, lukai <lukai1...@gmail.com> wrote: > > Hi, guys: > > Does queryplugin implementation impacts caching? I have implemented a > new > > query parser which just take the input query string and return my own > query > > object. But the problem is, when i apply this logic to solr, it seems it > > only works for the first time. Then even i change query, it still returns > > the same result as the first time result. Is it cached? If so, the cache > > key is based on what? > > The key is the query object. Implement equals and hashcode so that it > won't match other other versions of your query. > > -Yonik > http://lucidworks.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > >