ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkulichenko <valentin.kuliche...@gmail.com>
Subject Re: Can TextQuery specify only one field of the class?
Date Thu, 24 Dec 2015 20:55:46 GMT
Hi,

You're right, text queries are based on Lucene full text search engine and
therefore fully support Lucene syntax [1].

E.g., query that searches only one field looks like this:

TextQuery(Person.class, "resume:Master"); 

[1] https://lucene.apache.org/core/2_9_4/queryparsersyntax.html

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Can-TextQuery-specify-only-one-field-of-the-class-tp2300p2304.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message