Re: Use a constant entity in all imported documents of DIH

2014-12-13 Thread Per Newgro
Thanks Alexandre, it seems to be the way to go. I do now I use the CachedSqlEntityProcessor to avoid repeated load of my constant entity. I hope that is a valid way. I will come back if i'm facing problems with this approach. Thanks for yo

Re: different fields for user-supplied phrases in edismax

2014-12-13 Thread Michael Sokolov
I want terms to be stemmed, unless they are quoted, using dismax. On 12/12/14 8:19 PM, Amit Jha wrote: Hi Mike, What is exact your use case? What do mean by "controlling the fields used for phrase queries" ? Rgds AJ On 12-Dec-2014, at 20:11, Michael Sokolov wrote: Doug - I believe pf co

Re: different fields for user-supplied phrases in edismax

2014-12-13 Thread Jack Krupansky
Sounds worthy of a Jira. One gotcha - how to support both use cases of more precision for quoted phrases as well as the same precision as unquoted. The latter is needed for edismax phrase boosting, although it might be interesting to support both, so more precise phrases get an even higher boo

Re: different fields for user-supplied phrases in edismax

2014-12-13 Thread Michael Sokolov
I mentioned the ticket I opened earlier in the thread; it's https://issues.apache.org/jira/browse/SOLR-6842. My thought was to provide a new parameter, pqf, which would be just like qf, but for phrases. If it's not present, phrases work just like before (search field in qf). I wasn't proposi