Re: Query fieldNorm through http

2017-06-08 Thread Mikhail Khludnev
You probably need to configure TFIDFSimilarity or ClassicSimilarity in schema and rebuild your index. Otherwise, norm() seems unuseful to me. On Thu, Jun 8, 2017 at 11:24 PM, tstusr wrote: > Hi, thanks for reply. > > After adding true on distrib, with query > > localhost:8983/solr/uda/tvrh?q=usa

Re: Query fieldNorm through http

2017-06-08 Thread tstusr
Hi, thanks for reply. After adding true on distrib, with query localhost:8983/solr/uda/tvrh?q=usage:stuff&fl={!func}norm(usage)&debugQuery=on&distrib=true I've got something similar, I append the complete solr log. 2017-06-08 20:22:02.065 INFO (qtp1205044462-18) [c:uda s:shard2 r:core_node2 x:

Re: Query fieldNorm through http

2017-06-08 Thread Mikhail Khludnev
I tried to reproduce in on the recent release. Here is what I've got after adding distrib=false requires a TFIDFSimilarity (such as ClassicSimilarity) java.lang.UnsupportedOperationException: requires a TFIDFSimilarity (such as ClassicSimilarity) at org.apache.lucene.queries.function.valuesource.N