Re: SOLR: Array Key to Value on Result

2018-05-19 Thread Doss
Hi, I found a work around for our requirement with the help of Transforming Result Documents. https://lucene.apache.org/solr/guide/7_3/transforming-result-documents.html#subquery I need insights about the performance impact (if any) this is going to create. I assume this transformation is happen

Re: SOLR: Array Key to Value on Result

2018-05-19 Thread Erick Erickson
"The Solr Way" (tm) would be to flatten the data and store multiple records, i.e. id key lang lang_display 1_EN 1ENindia 1_TAM 1TAM \u0b87\u0ba8\u0bcd\u0ba4\u0bbf\u0baf\u0bbe where lang was indexed but possibly not stored

Setting up MiniSolrCloudCluster to use pre-built index

2018-05-19 Thread Ken Krugler
Hi all, Wondering if anyone has experience (this is with Solr 6.6) in setting up MiniSolrCloudCluster for unit testing, where we want to use an existing index. Note that this index wasn’t built with SolrCloud, as it’s generated by a distributed (Hadoop) workflow. So there’s no “restore from ba

Re: Setting up MiniSolrCloudCluster to use pre-built index

2018-05-19 Thread Mark Miller
You create MiniSolrCloudCluster with a base directory and then each Jetty instance created gets a SolrHome in a subfolder called node{i}. So if legacyCloud=true you can just preconfigure a core and index under the right node{i} subfolder. legacyCloud=true should not even exist anymore though, so th

about solr reduce shard nums

2018-05-19 Thread 苗海泉
Hello everyone, I encountered a shard reduction problem with solr. My current solr cluster is deployed in solrcloud mode. Now I need to use several solr machines for other purposes. The solr version I use is Solr 6.0. What should I do? Do it, thank you for your help.-- =