How exclude Document Types and Fields from ElasticSearch fulltext Indexing?

Hi,

How exclude Document Types and Fields from ElasticSearch fulltext Indexing?

I did it before till Nuxeo doesn't use ElasticSearch as indexing engine (Nuxeo 4.3->5.8). So, as I'm using the 7.10 now, with elasticsearch, I've did the same configuration on repository-config.xml, using the example bellow.

But, it appears don't has effect in Nuxeo 7.10 with ElasticSearch indexing engine.

Also, I've found something here: https://funkload.nuxeo.org/display/NXDOC/Configuring+the+Elasticsearch+Mapping#ConfiguringtheElasticsearchMapping-ExcludingaFieldfromtheFull-TextSearch

But it don't explain where should I put this configuration. Into some elastichsearch configure file? Inside Nuxeo? Or just on my search(bad idea)?

The best way is if could be done into a Nuxeo/ElastichSearch configuration and don't related to my search parameters.

Thanks!

<#elseif "${nuxeo.db.type}" == "oracle">

0 votes

1 answers

3070 views

ANSWER



Should be done into that file: …/nuxeo7.10/templates/common-base/nxserver/config/elasticsearch-config.xml.nxftl ?? Thanks!

0 votes