How to use Ickl queries for Indexed fields in RHDG?
Issue
- When I need to have a field marked with
analyzed=Analyze.YES
? - do I need to adapt queries if the field annotation analyze is switched from NO to YES?
- How to annotate fields if I want to have an index for embedded objects?
- What is the performance if I use embedded objects in my queries?
- I have unexpected results when using queries with wildcards or fuzzy operator ~
- If the following query is used there is a ParsingException
from example.Person p where p.middleName:'middle' && p.lastName='last'
org.infinispan.client.hotrod.exceptions.HotRodClientException: org.infinispan.objectfilter.ParsingException: ISPN028522: No relational queries can be applied to property 'lastName' in type example.Person since the property is analyzed.
- With the following query a ParsingException is thrown
from example.Person a where p.lastName : 'last'
org.infinispan.client.hotrod.exceptions.HotRodClientException: org.infinispan.objectfilter.ParsingException: ISPN028521: Full-text queries cannot be applied to property 'lastName' in type example.Person unless the property is indexed and analyzed.
- If embedded objects are used there is a ParsingException even if the field of the embedded object contains the
@Field
annotation and is marked as Indexed and Analyzed?
Environment
- Red Hat JBoss Data Grid (RHDG)
- Ickl and or Lucene queries
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.