Term Vector Access


(Artie Copeland) #1

Is it possible to query the term vector? Say i need to know the most
common terms/words in a particular shard or partition is that possible?


(Shay Banon) #2

Term vector information is not exposed yet. But in master there is a Terms
API which I still need to document which basically does something similar to
Compass term freqs. It allows you to return the terms in a certain field
(possible sorted by their document frequency). Maybe thats what you are
after?

The issue for this is here:
http://github.com/elasticsearch/elasticsearch/issues/closed#issue/21. I will
put trivial documentation in the issue later today.

-shay.banon

On Mon, Feb 22, 2010 at 12:40 AM, Artie Copeland yestech.org@gmail.comwrote:

Is it possible to query the term vector? Say i need to know the most
common terms/words in a particular shard or partition is that possible?


(system) #3