cancel
Showing results for 
Search instead for 
Did you mean: 

How exclude Document Types and Fields from ElasticSearch fulltext Indexing?

Klyff_Harlley1
Champ on-the-rise
Champ on-the-rise

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#ConfiguringtheElastic...

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">

DocType_to_dont_index

dt_to_dont_index:field_to_dont_index

dc:title

dc:description

1 REPLY 1

Klyff_Harlley1
Champ on-the-rise
Champ on-the-rise

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