-
Type: Question
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.4.5
-
Component/s: Querying
-
None
-
Query 2017-07-31, Query 2017-08-21
Hi.
This is my text index:
db.test.createIndex({ 'description' : 'text' }, { default_language : 'spanish' })
This is my document:
db.test.find({ _id : 1 }) { "_id" : 1, "description" : "Obtención de financiación" }
These are my questions:
db.test.find({ $text : { $search : 'Obtencion' } }); { "_id" : 1, "description" : "Obtención de financiación" } > db.test.find({ $text : { $search : 'financiacion' } }); >
Why I do not receive the same document as a result of my last command?
Why "diacriticSensitive : false" does not work when the searched word (financiacion) is not located at the very beginning of the field?
Is this a issue or I do not understand something?
¡Thank you very much!
- duplicates
-
SERVER-29918 stemming behavior for diacritics causes incorrect results
- Closed