Hi, how can I make a field not queryable, not indexed?
I've created a custom type.
<extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
<doctype name="custom:asset" extends="Document">
<schema name="common"/>
<schema name="dublincore"/>
<schema name="custom-asset"/>
</doctype>
</extension>
<extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
<schema name="custom-asset" src="schemas/custom-asset.xsd" prefix="customAsset" />
</extension>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:nxs="http://example.com.br/contenttypes/schemas/custom-asset/"
targetNamespace="http://example.com.br/contenttypes/schemas/custom-asset/">
<xs:element name="fieldNotQueryable" type="xs:string"/>
</xs:schema>
Previus version, I could do something like this:
<extension target="org.nuxeo.ecm.core.search.service.SearchServiceImpl" point="resource">
<resource name="custom-asset" prefix="customAsset" indexAllFields="true" type="schema">
<field name="fieldNotQueryable" stored="true" indexed="false" type="Text" binary="false" sortable="true"/>
</resource>
</extension>
Thanks in advance.
Fabio