In Solr, if we have a field in the schema with stored="true", and we change the analyzer associated with that field, is it possible to update just this field without reindexing all the documents? Could this be done using the "stored" values of the field with the new analyzer without going back to the original data source?
相关问题
- Solr Deduplication (dedupe) giving all zeros in si
- Merge dataframes that have indices that one contai
- Postgresql: query on jsonb column - index doesn
- Solr (Sunspot), max results more than 30?
- Search a list for item(s)and return x number of su
相关文章
- Use savefig in Python with string and iterative in
- Accessing an array element when returning from a f
- Solr - _version_ field must exist in schema and be
- Index not used when LIMIT is used in postgres
- SELECT statement not using possible_keys
- How to use uuid with postgresql gist index type?
- Pandas slicing excluding the end
- UserWarning: Pandas doesn't allow columns to b
I found a way using SolrJ.
When we add the "new" inputdoc (a copy of the old resultDoc), it uses the new analyzer we have changed in the schema to index. It´s not very elegant, but it works.
check out this IBM Tutorial for Solr
Guy, I optimized your code.