TermVector with a query


(Archana Manur) #1

Hi,
Let's say i have a query like this : "-gang AND california~0.5 OR "christmas"^2.0"
Basically, what i want is to parse the query and use the resulting terms as an input term to get the termvector for that term.
Is that possible in Elastic Search? I know how to get this done with just Lucene using QueryParser to parse the query and IndexReader to get terms. But can't figure out a way to do this in Elastic Search. I have successful with using TermVector API in ElasticSerach.Net.

Thanks,
Archana


(system) #2