Guys, some idea of what is this?, I have been looking through the documentation without success nor able to find a reference to such limit in the limits documentation.
It happens if I try to add a second mapping to a search index.
The concrete case is that I have 2 fields title and edition that are analyzed differently depending on the language:
title: {
multi: {
de: {
searchAnalyzer: 'lucene.german',
type: 'string',
},
en: {
searchAnalyzer: 'lucene.english',
type: 'string',
},
es: {
searchAnalyzer: 'lucene.spanish',
type: 'string',
},
fr: {
searchAnalyzer: 'lucene.french',
type: 'string',
},
it: {
searchAnalyzer: 'lucene.italian',
type: 'string',
},
pt: {
searchAnalyzer: 'lucene.portuguese',
type: 'string',
},
},
type: 'string',
},
edition: {
multi: {
de: {
searchAnalyzer: 'lucene.german',
type: 'string',
},
en: {
searchAnalyzer: 'lucene.english',
type: 'string',
},
es: {
searchAnalyzer: 'lucene.spanish',
type: 'string',
},
fr: {
searchAnalyzer: 'lucene.french',
type: 'string',
},
it: {
searchAnalyzer: 'lucene.italian',
type: 'string',
},
pt: {
searchAnalyzer: 'lucene.portuguese',
type: 'string',
},
},
type: 'string',
},
And here is how I’m trying to create the mapping:
[
{
analyzer: 'lucene.english',
name: 'book-english-synonyms',
source: {
collection: 'synonyms',
},
},
{
analyzer: 'lucene.spanish',
name: 'book-spanish-synonyms',
source: {
collection: 'synonyms',
},
},
]
And just to complete the idea I query like:
{ value: 'title', multi: 'en' },
{ value: 'edition', multi: 'en' },
And the problem that I’m trying to resolve is that I want to use a synonym for ‘1st’ to be ‘first’ and viceversa.
Concrete example (and what I’m trying to resolve), If I search for “Optimize B2 first” or “Optimize B2 1st”, I should get the same results. Currently the result with larger score is the one that matches the way “first” is being written.
Thanks in advance