lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Mullins <tonymullins...@gmail.com>
Subject How to re-index Solr & get term frequency within documents
Date Mon, 01 Jul 2013 14:47:53 GMT
Hi,

I am using Solr 4.3.0.
If I change my solr's schema.xml then do I need to re-index my solr ? And
if yes , how to ?

My 2nd question is I need to find the frequency of term per document in all
documents of search result.

My field is

 <field name="CommentX" type="text_general" stored="true" indexed="true"
multiValued="true" termVectors="true" termPositions="true"
termOffsets="true"/>

And I am trying this query

http://localhost:8080/solr/select/?q=iphone&fl=AuthorX%2CTitleX%2CCommentX&df=CommentX&wt=xml&indent=true&qt=tvrh&tv=true&tv.tf=true&tv.df=true&tv.positions&tv.offsets=true

Its just returning me the result set, no info on my searched term's
(iphone) frequency in each document.

How can I make Solr to return the frequency of searched term per document
in result set ?

Thanks,
Tony.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message