How to get term frequencies?


(Thami Inaflas-2) #1

Hello everyone,

I'm wondering if there is a way to get the term-frequencies that
elasticsearch indexed with a request ?

Note : I m using the current version of Elasticsearch (1.1.1)

Thanks in advance for your help.
If my question lacks some details or is unclear please let me know.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/b1ad3534-4f1b-420b-8797-026dd7b65972%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Tomislav Poljak) #2

Hi Thami,
the 'scope' is not quite clear, but if you need per document
term-frequencies maybe check
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-termvectors.html
-> it requires you to store term vectors (see
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-termvectors.html#_example
for mapping, indexing and query usage), but if that's not an overhead
for you, its the simplest way to go.

Hope this helps,
Tomislav

2014-05-26 17:47 GMT+02:00 Thami Inaflas inaflas.thami@gmail.com:

Hello everyone,

I'm wondering if there is a way to get the term-frequencies that
elasticsearch indexed with a request ?

Note : I m using the current version of Elasticsearch (1.1.1)

Thanks in advance for your help.
If my question lacks some details or is unclear please let me know.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/b1ad3534-4f1b-420b-8797-026dd7b65972%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CALuCJxg9PMoTCuBepHvBgy9j70QjdhuKPkyyb6KZeFWNvYEHiA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(system) #3