]
Marc Schipperheyn commented on HSEARCH-1099:
--------------------------------------------
This is actually resolved by indexNullAs. Move to close
Add query to DSL that allow you to match field exists
-----------------------------------------------------
Key: HSEARCH-1099
URL:
https://hibernate.onjira.com/browse/HSEARCH-1099
Project: Hibernate Search
Issue Type: Improvement
Components: engine, query
Affects Versions: 4.1.0.Final
Environment: Lucene 3.6
Reporter: Marc Schipperheyn
Priority: Minor
https://issues.apache.org/jira/browse/LUCENE-3593 adds a new filter for Lucene 3.6 that
allows you to match documents that contain or do not contain a certain field.
This would be a usefull way to test for indexedEmbedded objects that are null in the
query dsl. Something like
{code}
QueryBuilder qb =
fts.getSearchFactory().buildQueryBuilder().forEntity(MyEntity.class).get();
qb.exists().onField("myField").createQuery();
qb.exists().not().onField("myField").createQuery();
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: