RavenDB: grammar and phonetic analysis?

I am a little confused about the level of integration between Lucene.NET and RavenDB. Lucene supports grammar and phonetic analysis of texts (e.g. word stemming, Metaphone) to allow searches matching a document based on similarities. Now Lucene is used to query indexes and from what I take from the documentation, as well as to create them (see http://ravendb.net/documentation/docs-http-indexes-querying , last section).

However, Lucene analyzers that provide grammar and phonetic analysis do not seem to work. Or are they, and I miss the switch? Or, is there a way to install / create a plugin for receiving text analyzers in RavenDB?

+4
source share
1 answer

It is currently not possible to configure the analyzer, see this thread for a more detailed discussion.

If you contributed to the discussion here , it can be added. You are not the first person to ask for this.

One possible solution is to pre-label or analyze the test yourself. So what is added to the index is the changed text. For example, you can change "run" to "run run run runner", etc. Then a search for “runs” will find your document. There is also a fuzzy search that may help, see here for more information.

Update , this feature is now added to RavenDB, see here for more details.

+3
source

Source: https://habr.com/ru/post/1314961/


All Articles