Probably SOLR-11770 and/or SOLR-11792. In the meantime, insure that <uniqueKey> has stored=true set and insure that there are terms.
You'll probably have to re-index though Best, Erick On Wed, Jul 18, 2018 at 10:38 AM, babuasian <babuas...@gmail.com> wrote: > Hi,Running solr version 6.5.Trying to get tf-idf values of a term ‘price’ > .../solr/mycore/tvrh/?q=price&start=0&rows=1&indent=on&tv=true&tv.all=true&terms=trueWhen > run, I get the following messagejava.lang.NullPointerException at > org.apache.solr.handler.component.TermVectorComponent.process(TermVectorComponent.java:324) > at > org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:295) > at > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:173) > at org.apache.solr.core.SolrCore.execute(SolrCore.java:2440) at > org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:723) at > org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:529) at > ..........Also, when tried against single field, it doesn’t throw error, but > the following messageNote: I’ve enabled adding termVectors to title field, > but to no avail. Kindly suggest... > > > > -- > Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html