SegmentInfo from (SolrIndexSearcher) LeafReader

2016-05-14 Thread Amit Kumar
Hey Guys, I am writing a SearchComponent for SOLR 5.4.0 that does some caching at the level of segments and I want to be able to get SegmentInfo from a LeafReader -I am unable to figure that out; A LeafReader is not an instance of SegmentReader that exposes the segment information, is it still pos

Re: Streaming Expression joins not returning all results

2016-05-14 Thread Ryan Cutter
Hello, I'm running Solr on my laptop with -Xmx8g and gave each collection 4 shards and 2 replicas. Even grabbing 100k triple documents (like the following) is taking 20 seconds to complete and prone to fall over. I could try this in a proper cluster with multiple hosts and more sharding, etc. I

Re: Documents auto-expiry inside a collection Solr 6.0.0

2016-05-14 Thread Hammad
Wonderful - thanks Hoss. I had only one default updateRequestProcessorChain but yes as I started with the data_driven_schema_configs configset, and modified that to include my new updateRequestProcessorChain, it's not used because; was forcing "add-unknown-fields-to-the-schema" updateRequestProce

Re: Renaming a collection

2016-05-14 Thread Anil
Hi Arcadius, Yeah.. i was using that. i am trying to understand if there is a way to rename collection name. Thanks for the response. Regards, Anil On 14 May 2016 at 16:53, Arcadius Ahouansou wrote: > Hi Anil. > You may want to look at collection alias > > > https://cwiki.apache.org/confluenc

Re: Renaming a collection

2016-05-14 Thread Arcadius Ahouansou
Hi Anil. You may want to look at collection alias https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api4 When using alias, the name of the underlying collection should not really matter. Thanks. On 14 May 2016 at 10:58, Anil wrote: > Seems solr allows to rename

Re: Renaming a collection

2016-05-14 Thread Anil
Seems solr allows to rename the core only not the collection. On 14 May 2016 at 15:06, Anil wrote: > HI, > > Can we rename the collection ? > > if yes, action=rename with request path /admin/cores works ? Please > clarify. > > i tried following code.. but no luck. > > CloudSolrServer cloudSolrSe

Renaming a collection

2016-05-14 Thread Anil
HI, Can we rename the collection ? if yes, action=rename with request path /admin/cores works ? Please clarify. i tried following code.. but no luck. CloudSolrServer cloudSolrServer = new CloudSolrServer("localhost:2181/solr"); cloudSolrServer.setDefaultCollection("test-collection-2010"); Modif

how to implement multiple level classification with facet ?

2016-05-14 Thread xiangliumi
hi all, My data have a category field, the field value is category code. I want to classify search result in multiple level facet. For example, parent category code is "01", child category codes contain two "0101" and "0102", i expected the facet return the count of records that belong to