Can we migrate non stored Index data in SOLR to Elastic search?

334 views Asked by At

We are currently using SOLR for full-text search. Now we are planning to move from SOLR to ElasticSearch. When we were in this process i have read somewhere that there are some plugins available which will migrate data from SOLR-ElasticSearch. But it won't be able to migrate those records which are not stored in SOLR. So is there a plugin available which will migrate non-stored index data from SOLR to elastic search if so please let me know.

Currently am using SOLR-to-ES plugin, but it won't migrate the non-stored index data.

Thanks

1

There are 1 answers

2
Persimmonium On

If the field is not stored, then you don't have the original value. If you have it indexed, what's is in there is the value after it has gone through the analysis chain, and so is probably different than the original one (has no stopwords, is probably lowercased, maybe stemmed...stuff like that).

There are a couple of possibilities that might allow you to have the original content when not stored:

  1. indexed field: if it has been analyzed with just the keyword tokenizer: then the indexed value is the original value.
  2. field has docValues=true then the original value is also stored. This feature was introduced later, so your index might not be using it.

The issue is, the common plugings might not take advantage of those cases where stored=true is not totally necessary. You need to check them.