How can I add a number field to the fulltext search?
It seems that Nuxeo is only using string fields to build the fulltext
. Maybe using the fulltextExcludedTypes
but I cannot find it anywhere being set.
Is there a way I can incorporate number fields, e.g. a year, into the fulltext index? Or specifiy the fields that will go into?
Update: I am using VCS with Postgres
Hello,
You should adapt the Elasticsearch mapping as described here: https://doc.nuxeo.com/nxdoc/configuring-the-elasticsearch-mapping/#includeexcluding-a-field-from-the-full-text-search
As you correctly pointed out, the default full text field only indexes text fields
Regards