Re: R: R: Incongruent results of numdocs

2016-10-14 Thread Erick Erickson
Not quite. When you add replica 3, it will be synchronized to the leader. So I'd shut down the solr node with the bad replica, add the new replica and then delete the old one. The disturbing bit is that the replicas for out of sync in the first place. Anything in the logs that gives any clues as t

R: R: Incongruent results of numdocs

2016-10-14 Thread Davide Isoardi
I am sorry for my typos. I have compared numdocs of shard1_replica1 with shard1_replica2. If I create another replica (replica3) and only after that I unload replica2, will the last replica be synchronized with replica1? Inviata dal mio Windows Phone Da: Shawn

Configuration options/concerns for multiple Solr versions

2016-10-14 Thread Tim Parker
We have a ColdFusion-based CMS product which can interface with Solr for search functionality. ColdFusion ships with an ancient version of Solr (old enough that it crashes when the search criteria includes a leading wildcard), so to get current Solr functionality... we have to interface direct

Filter response for lukerequest handler [SOLR 6.1.0]

2016-10-14 Thread slee
I have read the following documentation outline here: LukeRequestHandler The response always comes back as: What I want is just to have the response output as followed: I have a use-case where I have well over 100 dynamic fields, which could

Re: Access solr in web browser

2016-10-14 Thread Deeksha Sharma
So if you are looking for the information on collections that you created on solrCloud, then you may do so via API calls that are listed here. All you need is the host and port of one of the machines in the cluster. https://cwiki.apache.org/confluence/display/solr/Collections+API Thanks Deeksha

Re: group ts-dt with multiple shards

2016-10-14 Thread Erick Erickson
Please show the _exact_ query you're using. What is td-dt? A date-field? A field name? And if a field name is it literally "ds-dt"? If so, be aware that hyphens are not officially supported in field names. The recommendation is that your Solr fields have follow the recommendation here: https://cwi

Re: R: Incongruent results of numdocs

2016-10-14 Thread Shawn Heisey
On 10/14/2016 9:43 AM, Davide Isoardi wrote: > > thank you very much for the quick answare. > > > > Yes, I am not indexing between request. > > > > How can I risync two or all replicas? > > If I look the overviews in the shard menu (attached the screenshot) I > see that the num docs are mismatc

Access solr in web browser

2016-10-14 Thread Mugeesh Husain
Hi, I have sucessfully installed Solrcloud having 2 solr cores [installed in datanodes(using hortonworks)] As my cluster is kerberos enabled am unable to access the cluster through web browser. I want to access the Solr UI only through host's putty session. I have no clue on how to operate solr

R: Incongruent results of numdocs

2016-10-14 Thread Davide Isoardi
thank you very much for the quick answare. Yes, I am not indexing between request. How can I risync two or all replicas? If I look the overviews in the shard menu (attached the screenshot) I see that the num docs are mismatched. Davide Isoardi eCube S.r.l. isoa...@ecubecenter.it

R: Incongruent results of numdocs

2016-10-14 Thread Davide Isoardi
thank you very much for the quick answare. Yes, I am not indexing between request. How can I risync two or all replicas? If I look the overviews in the shard menu (attached the screenshot) I see that the num docs are mismatched. [cid:image001.jpg@01D22642.62A0AD40] Shard1_replica1 [cid

Re: SolrJ & Ridiculously Large Queries

2016-10-14 Thread Shawn Heisey
On 10/14/2016 7:36 AM, Bram Van Dam wrote: > I just noticed that Jetty barfs with HTTP 414 when request URIs are > very large, which makes sense. I think the default limit is ~8k. > Unfortunately I've got users who insist on executing queries that are > 16k (!1!?!?) in size. Although I think forci

RE: SolrJ & Ridiculously Large Queries

2016-10-14 Thread Markus Jelsma
Yes, you can use HTTP POST with SolrJ for queries. SolrRequest request = new QueryRequest((SolrParams)query, SolrRequest.METHOD.POST); QueryResponse response = new QueryResponse(client.request(request), client); https://lucene.apache.org/solr/6_2_1/solr-solrj/org/apache/solr/client/solrj/SolrReq

SolrJ & Ridiculously Large Queries

2016-10-14 Thread Bram Van Dam
Hey folks, I just noticed that Jetty barfs with HTTP 414 when request URIs are very large, which makes sense. I think the default limit is ~8k. Unfortunately I've got users who insist on executing queries that are 16k (!1!?!?) in size. Two questions: 1) is it possible to POST these oversized mon

Re: Incongruent results of numdocs

2016-10-14 Thread Shawn Heisey
On 10/14/2016 3:35 AM, Davide Isoardi wrote: > I have indexed more than 1 million of docs on a SolrCloud collections whit 5 > shards and 2 replicas. > > After the indexing if I try to query (many times) q=id:*&rows=0 I have > different result for the document number founds. > > Why the result is

Re: SOLR Sizing

2016-10-14 Thread Shawn Heisey
On 10/14/2016 12:18 AM, Vasu Y wrote: > Thank you all for the insight and help. Our SOLR instance has multiple > collections. > Do you know if the spreadsheet at LucidWorks ( > https://lucidworks.com/blog/2011/09/14/estimating-memory-and-storage-for-lucenesolr/) > is meant to be used to calculate s

Re: Slow indexing speed when index size is large?

2016-10-14 Thread Shawn Heisey
On 10/13/2016 9:58 PM, Zheng Lin Edwin Yeo wrote: > Thanks for the reply Shawn. Currently, my heap allocation to each Solr > instance is 22GB. Is that big enough? I can't answer that question. I know little about your install. Even if I *did* know a few more things about your install, I could o

Re: qf boosts with MoreLikeThis query parser

2016-10-14 Thread Ere Maijala
I've now attached a proposed patch to a pre-existing issue https://issues.apache.org/jira/browse/SOLR-9267. --Ere 13.10.2016, 2.19, Ere Maijala kirjoitti: Answering to myself.. I did some digging and found out that boosts work if qf is repeated in the local params, at least in Solr 6.2, like t

showing http 403 when accessing admin UI with solr authorization configured

2016-10-14 Thread 李爽
hi, i stuck into this issue which is very strange 1. i have a solr cloud enviroment, the solr version is 5.5.2 2. i get kerberos authentication and rule-based authorization, the configuration is as follows: 3. when i access the admin ui, it shows 403 4. in the jetty server log,it shows the

Re: How to boost a field copied in the Text Field

2016-10-14 Thread Alexandre Rafalovitch
The second you copy a bunch of things into one field, it becomes very hard to have a useful relevancy. Especially, since they are now parsed according to that target field's analyzer chain and your original field's chains become irrelevant. There was somewhere an article on using payloads for boos

How to boost a field copied in the Text Field

2016-10-14 Thread Frederic MERCEUR
Hello, we use Solr to describe datasets with several metadata (title, authors, description, etc). We copy all these metadata in the Text field to offer a default search to our end-users so they can make a search on all metadata in one search : multiValued="true" required="true"/> stored="tru

Incongruent results of numdocs

2016-10-14 Thread Davide Isoardi
Hi all, I have indexed more than 1 million of docs on a SolrCloud collections whit 5 shards and 2 replicas. After the indexing if I try to query (many times) q=id:*&rows=0 I have different result for the document number founds. Why the result is not the same for all querys? Thanks in advance D

group ts-dt with multiple shards

2016-10-14 Thread xiao.ma
Hi, We are trying to messages based on ts-dt value in solr 6.2.1. *One collection with only one shard, we are able to group ts-dt without error, but performance is getting worse over time *Multiple collections with only one shard each, we are able to group ts-dt without error

Re: Writing Solr Custom Components

2016-10-14 Thread Ishan Chattopadhyaya
http://home.apache.org/~ctargett/RefGuidePOC/jekyll-full/adding-custom-plugins-in-solrcloud-mode.html On Tue, Oct 4, 2016 at 12:23 PM, John Bickerstaff wrote: > All, > > I'm looking for information on writing custom Solr components. A quick > search showed nothing really recent and before I dig