Re: omitTermFreqAndPositions issue

2015-04-09 Thread Ryan Josal
Thanks a lot Erick, your suggestion on using similarity will work great; I wasn't aware you could define similarity on a field by field basis until now, and that solution works perfectly. Sorry what I said was a little misleading. I should have said "I don't want it to issue phrase queries to that

Re: omitTermFreqAndPositions issue

2015-04-08 Thread Erick Erickson
Ryan: bq: I don't want it to issue phrase queries to that field ever This is one of those requirements that you'd have to enforce at the app layer. Having Solr (or Lucene) enforce a rule like this for everyone would be terrible. So if you're turning off TF but also saying title is "one of the p

Re: omitTermFreqAndPositions issue

2015-04-08 Thread Ryan Josal
Thanks for your thought Shawn, I don't think fq will be helpful here. The field for which I want to turn TF off is "title", which is actually one of the primary components of score, so I really need it in qf. I just don't want the TF portion of the score for that field only. I don't want it to i

Re: omitTermFreqAndPositions issue

2015-04-08 Thread Shawn Heisey
On 4/8/2015 5:06 PM, Ryan Josal wrote: > The error: > IllegalStateException: field "foo" indexed without position data; cannot > run PhraseQuery. > > It would actually be ok for us to index position data but there isn't an > option for that without term frequencies. No TF is important for us when

omitTermFreqAndPositions issue

2015-04-08 Thread Ryan Josal
Hey guys, it seems that omitTermFreqAndPositions is not very usable with edismax, and I'm wondering if this is intended behavior, and how I can get around the problem. The setup: define field "foo" with omitTermFreqAndPositions=true The query: q="ground coffee"&qf=foo bar baz The error: IllegalS