Error getting replica locations : unable to get autoscaling policy session when creating collection

2019-02-01 Thread Zheng Lin Edwin Yeo
Hi, I am using Solr 7.6.0. When I tried to create a collection, I encountered the error of unable to get autoscaling policy session. I have 2 replicas running, and I am creating it with the following command: https://localhost:8983/solr/admin/collections?action=CREATE&name=collection1&numShards=

Re: Using the terms component in Solr Cloud gives random result

2019-02-01 Thread Markus Kalkbrenner
I’ll answer my own question: setting distrib=true solved the issue … mostly Our client requests wt=json&json.nl =flat But the result isn’t flat! As soon I set distrib=true the json response is formatted as a map instead go being flat. Did I find a bug or this a known limitati

Re: Query over nested documents with an AND Operator

2019-02-01 Thread Scott Stults
Hi Julia, Keep in mind that in order to facet on child document fields you'll need to use the block join facet component: https://lucene.apache.org/solr/guide/7_4/blockjoin-faceting.html For the query itself you probably need to specify each required attribute value, but looks like you're already

RE: Need to perfom search and group the record on basis of domain,subject,from address and display the count of label i.e inbox,spam

2019-02-01 Thread Margaret Owens
Please remove me from this list. -Original Message- From: Scott Stults Sent: February 1, 2019 2:03 PM To: solr-user@lucene.apache.org Subject: Re: Need to perfom search and group the record on basis of domain,subject,from address and display the count of label i.e inbox,spam Hi Swapnil

Re: Need to perfom search and group the record on basis of domain,subject,from address and display the count of label i.e inbox,spam

2019-02-01 Thread Scott Stults
Hi Swapnil, There wasn't a a question in your post, so I'm guessing you're having trouble getting started. Take a look at the JSON Facet API. That should get you most of the way there. https://lucene.apache.org/solr/guide/7_5/json-facet-api.html k/r, Scott On Fri, Feb 1, 2019 at 7:36 AM swap w

Re: [CDCR]Unable to locate core

2019-02-01 Thread Tim
After some more investigation it seems that we're running into the same bug found here . However if my understanding is correct that bug in 7.3 was patched out. Unfortunately we're running into the same behavior in 7.5 CDCR is replicating succe

change in White Space when upgrading 6.6 to 7.4

2019-02-01 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
We had a problem when upgrading from Solr 6.6 to Solr 7.4 in that a query ceased to work. The query was of the form http://localhost:8983/solr/collection/select?indent=on&q=ABC4856.21%20AND%20-field1:ABC4856.21&wt=json&rows=0 Basically finding a count of those records where there is some field

Re: Query over nested documents with an AND Operator

2019-02-01 Thread Mikhail Khludnev
Whats' your current query? It's probably a question of building boolean query by combining Solr queries. Note, this datamodel might be a little bit overwhelming, So, if number of distinct attributename values is around a thousand, just handle it via dynamic field without nesting docs: brass

SolrJ removes header set by HttpClient

2019-02-01 Thread Erlend Garåsen
For some reasons, the "Expect: 100-continue" header will not be set, even though it's configured in HttpClient: builder.setDefaultRequestConfig(RequestConfig.custom().setExpectContinueEnabled(true).build()); A HttpClient developer has reviewed the code and says we're setting up the client correc

Re: Solr Size Limitation upto 32 kb limitation

2019-02-01 Thread Kranthi Kumar K
Hi Team, Thanks for your suggestions that you've posted, but none of them have fixed our issue. Could you please provide us your valuable suggestions to address this issue. We'll be awaiting your reply. Thanks, Kranthi kumar.K From: Michelle Ngo Sent: Thur

Need to perfom search and group the record on basis of domain,subject,from address and display the count of label i.e inbox,spam

2019-02-01 Thread swap
Need to perfom search and group the record on basis of domain,subject,from address and display the count of label i.e inbox,spam and label status i.e read and unread with it.The label and label status should be displayed as percentage. Scenorio 1 Document structure is as mentioned below indexed

Query over nested documents with an AND Operator

2019-02-01 Thread Gelszus Julia
Hello, recently I started to work with Apache SOLR 7.6.0 in the course of a project. I encountered the following problem during the queries, where I want to know if the SOLR offers this in general: We want to index a nested XML document, which can have the following structure: - there are 1-n Par

Re: Creating shard with core.properties

2019-02-01 Thread Bharath Kumar
Thanks Shawn for your inputs and the pointer to the documentation. Our setup currently has 1 shard and 2 replicas for that shard and we do not want a manual step which involves creating a collection since for SOLR Cloud at least more than 50% of the shard nodes should be up and running. Also if the