--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ravendb/5f5f68bc-2826-47c0-bcd0-5ac56365d245%40googlegroups.com.
![]() | Egor Developer / Hibernating Rhinos LTD
|
--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ravendb/5f5f68bc-2826-47c0-bcd0-5ac56365d245%40googlegroups.com.
![]() | Oren Eini CEO / Hibernating Rhinos LTD
|
These analyzes are there so you can generate appropriate *sorting* based on culture rules, that is all.The way it works, they transform the text to culture appropriate lexically sortable binary data.That is fine an expected. If you want to do actual textual analysis of the data, that is different.See: here: https://docs.microsoft.com/en-us/globalization/locale/sorting-and-string-comparison#using-sort-keysNote that the key here is to allow different sorting rules. For example, in French, you have this rule: cote < côte < coté < côtéBut for German, they are the equivalent.
On Fri, Mar 27, 2020 at 12:05 PM Alexander Nuta <alexan...@gmail.com> wrote:
--I'm trying to add an analyzer on an indexed field like so:Analyzers.Add(x => x.Name, "Raven.Server.Documents.Indexes.Persistence.Lucene.Analyzers.Collation.Cultures.EnCollationAnalyzer, Raven.Server");orAnalyzers.Add(x => x.Name, "Raven.Server.Documents.Indexes.Persistence.Lucene.Analyzers.Collation.Cultures.ElCollationAnalyzer, Raven.Server");But the result on Name field is "܁ΜDŽშ偳瀺㸝ᄎ䢇 恁悐焈㠈ᰔฬǏ䃩䡱йဂĒā€䁀†တ䠈ЄȂऀ䁀\u0000\u0000"No matter what analyzer I use even english letters are transformed to gibberish.Can you please help me figure out what I'm missing?Thanks in advance.
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rav...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ravendb/5f5f68bc-2826-47c0-bcd0-5ac56365d245%40googlegroups.com.
Hi,
It is hard to know without a reproduce, please send a failing test for this
https://ravendb.net/docs/article-page/4.2/csharp/start/test-driver#unittest
On Fri, Mar 27, 2020 at 12:05 PM Alexander Nuta <alexan...@gmail.com> wrote:
--I'm trying to add an analyzer on an indexed field like so:Analyzers.Add(x => x.Name, "Raven.Server.Documents.Indexes.Persistence.Lucene.Analyzers.Collation.Cultures.EnCollationAnalyzer, Raven.Server");orAnalyzers.Add(x => x.Name, "Raven.Server.Documents.Indexes.Persistence.Lucene.Analyzers.Collation.Cultures.ElCollationAnalyzer, Raven.Server");But the result on Name field is "܁ΜDŽშ偳瀺㸝ᄎ䢇 恁悐焈㠈ᰔฬǏ䃩䡱йဂĒā€䁀†တ䠈ЄȂऀ䁀\u0000\u0000"No matter what analyzer I use even english letters are transformed to gibberish.Can you please help me figure out what I'm missing?Thanks in advance.
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rav...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ravendb/5f5f68bc-2826-47c0-bcd0-5ac56365d245%40googlegroups.com.