-----Original Message-----
From: Markus Jelsma [mailto:markus.jelsma@openindex.io]
Sent: 30 March 2018 02:36
To: Solr-user <solr-user@lucene.apache.org>
Subject: PreAnalyzed FieldType, and simultaneously importing JSON
Hello,
We want to move to PreAnalyzed FieldType to offload our very heavy analysis
chain away from the search cluster, so we have to configure our fields to
accept pre-analyzed tokens in production.
But we use the same schema in development environments too, and that is
where we use JSON files, or stream (export/import) data directly from
production servers into a development environment, again via JSON. And in
case of disaster recovery, we can import the daily exported JSON bzipped
files back into our production servers.
But this JSON loading does not work with PreAnalyzed FieldType. So to load
JSON we must reset all fields back to their respective language specific
FieldTypes on-the-fly, we could automate, but it is a hassle we like to
avoid.
Have i overlooked any configuration parameters that can help? Must we
automate the on-the-fly schema reconfiguration and reset to PreAnalyzed
after JSON loading is finished?
Many thanks!
Markus
No comments:
Post a Comment