Edismax, stopword query and non-existent fields

2018-02-02 Thread Craig Smiles
I've recently had a requirement request from the user to allow a query when searching for stopwords alone. I discovered that edismax will already do this for me, all I had to do was remove our StopFilterFactory on the index analyzer so that the stopwords actually exist in our index. So suppose I

Re: ClassCastException when using HighFrequencyDictionaryFactory with SearchComponent

2017-08-29 Thread Craig Smiles
Woops. Thanks Rick, that was it. I'm so used to typing "str" that it became white noise. On 29 August 2017 at 16:03, Rick Leir <rl...@leirtech.com> wrote: > Craig, > Just a guess, but your threshold is in a string field. Cheers -- Rick > > On August 29, 2017 7:37:56

ClassCastException when using HighFrequencyDictionaryFactory with SearchComponent

2017-08-29 Thread Craig Smiles
Hi, I've been trying to get a suggester working with the HighFrequencyDictionaryFactory but when setting the threshold I'm getting a ClassCastException when the dictionary is built. Could someone please advise? To reproduce: 1. Download solr 6.6 2. Replace the SuggestComponent within the