Adding documents through Solr Client

2019-01-05 Thread lakshmi_ram20
Guys - I need help on exception handling while adding documents. I am adding collection of documents - several millions with a batch of 2000-3000 documents through parallel threads - through SolrJ.add ( Collection ) API and storing the response in UpdateResponse object. I was using response.get

Re: Is it possible to force solr show all facet values for the field with an enum type?

2019-01-05 Thread Mikhail Khludnev
Hello, On Sat, Jan 5, 2019 at 12:53 PM Arvydas Silanskas < nma.arvydas.silans...@gmail.com> wrote: > But can I make it to also > return the values that literally none of the documents in the index have? > No. -- Sincerely yours Mikhail Khludnev

Re: Is it possible to force solr show all facet values for the field with an enum type?

2019-01-05 Thread Arvydas Silanskas
Thanks for your reply. No, not exactly what I want. Consider I have enum defined as A B and correspondingly I have defined a fieldtype "enumType" that uses this enum, and a field "enumfield" that is of type "enumType". Consider my index is like this: [ { "name_s":"Doc 1

Re: Is it possible to force solr show all facet values for the field with an enum type?

2019-01-05 Thread Erick Erickson
So really the results you want are q=*:*&facet.field=enumField right? You could fire that query in parallel and combine the two in your app, perhaps caching the result if the index isn't changing very rapidly. Facets were designed with the idea that they'd only count for docs that were hits, so th

Solr Failover environment.

2019-01-05 Thread Mannar mannan
Hi, I am running solr7 in cloud with 3 zookeeper (zk1, zk2, zk3) and 2 solr (solr1 & solr2) nodes in my environment. I would like to have a failover environment in AWS. If solr nodes in my environment went down, so that i can point to AWS environment. * Planned to configure Master .(master node

Is it possible to force solr show all facet values for the field with an enum type?

2019-01-05 Thread Arvydas Silanskas
Hello, I have an enum solr fieldtype. When I do a facet search, I want that all the enum values appear in the facet -- and setting field.mincount = 0 is not enough. It only works, if there exist a document with the matching value for the field, but it was filtered out by current query (and then I'm