lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danielitos85 <danydany....@gmail.com>
Subject RE: get term frequency, just only keywords search
Date Wed, 14 Aug 2013 11:37:11 GMT
sorry, but now I give more attention at the results and it don't return that
I needed.

If I have two documents indexed:

the text of my first document: "ice-cream pizza pizza pizza"
the text of my second document: "pizza tomato"

it returns the followed code:

<response>
	<result name="response" numFound="2" start="0">
		<doc>
			<str name="id">1</str>
		</doc>
		<doc>
			<str name="id">3</str>
		</doc>
	</result>
	<lst name="terms">
		<lst name="mytext">
			<int name="pizza">2</int>   *I want that it returns 3 for the first
document and 1 for the second document and not 2*
		</lst>
	</lst>
</response>

Thanks a lot



--
View this message in context: http://lucene.472066.n3.nabble.com/SOLVED-get-term-frequency-just-only-keywords-search-tp4084510p4084530.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message