How can I make full text search of Nuxeo Object property which is list?
Hi, fellows. That is schema declaration of that property.
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://a.com/annotationThread" xmlns:anot="http://a.com/annotationThread">
<xs:include schemaLocation="base.xsd" />
<xs:simpleType name="catList">
<xs:list itemType="xs:string" />
</xs:simpleType>
<xs:element name="categories" type="anot:catList"/>
</xs:schema>
What nuxeo file configuration should be done and what query has to be done, so I can use full text search in my defined list?
Something like that:
SELECT * FROM ImageAnnotationThread WHERE ecm:fulltext.annotationThread:categories/* = 'something'
0 votes
1 answers
2408 views
If you want to create a dedicate index for your schema look there: http://doc.nuxeo.com/x/hwQz
About NXQL Query generation: http://doc.nuxeo.com/x/ggU7
Hope this will help.