Re: Update to solr 5 - custom phrase query implementation issue

2016-02-03 Thread Gerald Reinhart
Erik, here is some context : - migration from solr 4.10.4 to 5.4.1. - we have our own synonym implementation that do not use solr synonym mechanism: at the time, we needed to manage multi token synonym and it wasn't covered by the Lucene features. So basically we - let' say that

Re: Update to solr 5 - custom phrase query implementation issue

2016-02-03 Thread Erik Hatcher
Gerald - I don’t quite understand, sorry - perhaps best if you could post your code (or some test version you can work with and share here) so we can see what exactly you’re trying to do.Maybe there’s other ways to achieve what you want, maybe with somehow leveraging a StopFilter-like facili

Re: Update to solr 5 - custom phrase query implementation issue

2016-02-03 Thread Gerald Reinhart
On 02/02/2016 03:20 PM, Erik Hatcher wrote: On Feb 2, 2016, at 8:57 AM, Elodie Sannier wrote: Hello, We are using solr 4.10.4 and we want to update to 5.4.1. With solr 4.10.4: - we extend PhraseQuery with a custom class in order to remove some terms from phrase queries with phrase slop (updat

Re: Update to solr 5 - custom phrase query implementation issue

2016-02-02 Thread Erik Hatcher
> On Feb 2, 2016, at 8:57 AM, Elodie Sannier wrote: > > Hello, > > We are using solr 4.10.4 and we want to update to 5.4.1. > > With solr 4.10.4: > - we extend PhraseQuery with a custom class in order to remove some > terms from phrase queries with phrase slop (update of add(Term term, int > po

Update to solr 5 - custom phrase query implementation issue

2016-02-02 Thread Elodie Sannier
Hello, We are using solr 4.10.4 and we want to update to 5.4.1. With solr 4.10.4: - we extend PhraseQuery with a custom class in order to remove some terms from phrase queries with phrase slop (update of add(Term term, int position) method) - in order to use our implementation, we extend Extende