Search on particular fields


(android) #1

Hi all,

I want to search only on specific fields, not all. Could you tell me a way to do this in java?

Thanks!


(BARNEY) #2

QueryBuilders.queryString("search string").field(query).field(query);

On Thu, Mar 1, 2012 at 7:58 PM, android orcunsimsek@gmail.com wrote:

Hi all,

I want to search only on specific fields, not all. Could you tell me a way
to do this in java?

Thanks!

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Search-on-particular-fields-tp3790572p3790572.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.


(system) #3