Pagination issue when grouping

2017-05-29 Thread Nguyen Manh Tien
Hello, I group search result by a field (with high cardinality) I paginate search page using num of groups using param group.ngroups=true. But that cause high CPU issue. So i turn off it. Without ngroups=true, i can't get the num of groups so pagination is not correct because i must use numFound,

Re: Unable to enrich UIMA annotated results to Solr fields

2017-05-29 Thread aruninfo100
I was able to resolve the issue.I was passing the extracted text content of each document to Solr for indexing after converting to lowercase(did this for a different usage).When the original content(without converting lowercase) was indexed annotated entities were enriched to respective fields to

Re: TLog for non-Solrcloud scenario

2017-05-29 Thread Nawab Zada Asad Iqbal
Thanks Erick, that summary is very helpful. Nawab On Mon, May 29, 2017 at 1:39 PM, Erick Erickson wrote: > Yeah, it's a bit confusing. I made Yonik and Mark take me through the > process in detail in order to write that blog, misunderstandings my > fault of course ;) > > bq: This makes me thi

Re: TLog for non-Solrcloud scenario

2017-05-29 Thread Erick Erickson
Yeah, it's a bit confusing. I made Yonik and Mark take me through the process in detail in order to write that blog, misunderstandings my fault of course ;) bq: This makes me think that at the time of soft-commit, the documents in preceding update requests are already flushed (might not be on the

Re: Spread SolrCloud across two locations

2017-05-29 Thread Jan Høydahl
> I believe that my solution isolates manual change to two ZK nodes in DC2, > while your requires config change to 1 in DC2 and manual start/stop of 1 in > DC1. Answering my own statement here. Turns out that in order to flip the observer bit for one ZK node, you need to touch the config of all

Re: TLog for non-Solrcloud scenario

2017-05-29 Thread Nawab Zada Asad Iqbal
Thanks Erick, I have read different documents in this area and I am getting confused due to overloaded/"reused" terms. E.g., in that lucidworks page, the flow for an indexing request is explained as follows. This makes me think that at the time of soft-commit, the documents in preceding update re

Re: StandardDirectoryReader.java:: applyAllDeletes, writeAllDeletes

2017-05-29 Thread Michael McCandless
If you are not using NRT readers then the applyAllDeletes/writeAllDeletes boolean values are completely unused (and should have no impact on your performance). Mike McCandless http://blog.mikemccandless.com On Sun, May 28, 2017 at 8:34 PM, Nawab Zada Asad Iqbal wrote: > After reading some more

Re: Spread SolrCloud across two locations

2017-05-29 Thread Jan Høydahl
> In my setup once DC1 comes back up make sure you start only two nodes. And if you start all three in DC1, you have 3+3 voting, what would then happen? Any chance of state corruption? I believe that my solution isolates manual change to two ZK nodes in DC2, while your requires config change to

Re: TLog for non-Solrcloud scenario

2017-05-29 Thread Erick Erickson
There's a long post here on this that might help: https://lucidworks.com/2013/08/23/understanding-transaction-logs-softcommit-and-commit-in-sorlcloud/ Short form: soft commit doesn't flush tlogs, does not start a new tlog, does not close segments, does not open new segments. Hard commit does all

Re: java.lang.NullPointerException in json facet hll function

2017-05-29 Thread jpereira
Hi, Any updates on this issue? I am using Solr 6.3 and I have hit this same bug... Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/java-lang-NullPointerException-in-json-facet-hll-function-tp4265378p4337877.html Sent from the Solr - User mailing list archive at Nabb

Re: eDisMax with nested documents

2017-05-29 Thread Rick Leir
Michael, I assume you were trying his out in the SolrAdmin Query tab? With the debug=true flag set? What do you see in the debug output about scoring? You might end up using a Boost Function to get the desired ranking. Google "solr multiple boost functions". cheers -- Rick On 2017-05-29 0

eDisMax with nested documents

2017-05-29 Thread Moritz Michael
Hello, I'm new to this list and having a question regarding nested documents with scoring through eDisMax. We do have an index of e-books that contains the metadata of the e-book and each page as a single document: - Book 1 - Page 1 - Page 2 - Page 3 - ... - Pag