Re: Regarding Solr UI authentication

2016-08-12 Thread Shawn Heisey
On 8/11/2016 11:12 PM, Pradeep Chandra wrote: > I am running solr using the command *bin/solr start *in Ubuntu. Now I > want to give UI authentication to secure my Solr. Can you tell me how > to make Solr password protected. I am not using Zookeeper/SolrCloud. For what I would call "typical"

RE: Getting "collection already exists" when creating collection in admin UI

2016-08-12 Thread Alexandre Drouin
I removed everything related to Zookeeper or Solr between each of my test, including the data directory. Alexandre Drouin -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: August 12, 2016 3:24 PM To: solr-user Subject: RE:

RE: Getting "collection already exists" when creating collection in admin UI

2016-08-12 Thread Erick Erickson
Reinstalling ZK wouldn't help if the data directory weren't purged..m On Aug 12, 2016 11:35, "Alexandre Drouin" wrote: > Thanks for the offer however I think I have a different issue. I > reinstalled my ZK and Solr servers between each tests so I didn't have any

Re: Want zero results from SOLR when there are no matches for "querystring"

2016-08-12 Thread John Bickerstaff
Thanks - I'll look at it... On Fri, Aug 12, 2016 at 1:21 PM, Erick Erickson wrote: > Maybe rerankqparserplugin? > > On Aug 12, 2016 11:54, "John Bickerstaff" > wrote: > > > @Hossman -- thanks again. > > > > I've made the following change and

Re: Want zero results from SOLR when there are no matches for "querystring"

2016-08-12 Thread Erick Erickson
Maybe rerankqparserplugin? On Aug 12, 2016 11:54, "John Bickerstaff" wrote: > @Hossman -- thanks again. > > I've made the following change and so far things look good. I couldn't see > debug or find results for what I put in for $func, so I just removed it, > but

Re: Want zero results from SOLR when there are no matches for "querystring"

2016-08-12 Thread John Bickerstaff
@Hossman -- thanks again. I've made the following change and so far things look good. I couldn't see debug or find results for what I put in for $func, so I just removed it, but making modifications as you suggested appears to be working. Including the actual line from my endpoint XML in case

Re: Effects of insert order on query performance

2016-08-12 Thread Jeff Wartes
Thanks Emir. I’m unfortunately already using a routing key that needs to be at the top level, since I’m collapsing on that field. Adding a sub-key won’t help much if my theory is correct, as even a single shard (distrib=false) showed serious performance degradation, and query latency is the

RE: Getting "collection already exists" when creating collection in admin UI

2016-08-12 Thread Alexandre Drouin
Thanks for the offer however I think I have a different issue. I reinstalled my ZK and Solr servers between each tests so I didn't have any unwanted files. Alexandre Drouin -Original Message- From: John Bickerstaff [mailto:j...@johnbickerstaff.com] Sent: August 12, 2016 1:43 PM To:

Re: Want zero results from SOLR when there are no matches for "querystring"

2016-08-12 Thread John Bickerstaff
Thanks! I'll check it out. On Fri, Aug 12, 2016 at 12:05 PM, Susheel Kumar wrote: > Not exactly sure what you are looking from chaining the results but similar > functionality is available in Streaming expressions where result of inner > expressions are passed to outer

Re: Want zero results from SOLR when there are no matches for "querystring"

2016-08-12 Thread Susheel Kumar
Not exactly sure what you are looking from chaining the results but similar functionality is available in Streaming expressions where result of inner expressions are passed to outer expressions and so on https://cwiki.apache.org/confluence/display/solr/Streaming+Expressions HTH Susheel On Fri,

Re: Getting "collection already exists" when creating collection in admin UI

2016-08-12 Thread John Bickerstaff
I don't know if this helps, but I had trouble creating collections due to a number of issues and I think I got this error (I was using the command line, not the UI) As I recall, if it exists in Zookeeper, it will error out. It was a while ago, but I think the way I had to solve it was to go into

ConcurrentModificationException due to high volume of requests

2016-08-12 Thread Katherine Mora
Hi All, We are using Solr 5.2.1 in a production environment where we have a high volume of requests. We are not having any timeouts or performance issues. However, the logs are filled with this exception. We've been researching and there isn't a lot of information about this problem or why it

Re: Consume sql response using solrj

2016-08-12 Thread Pablo Anzorena
Thanks Joel, that's work perfectly well. I checked some cases and the data is consistent. 2016-08-11 14:17 GMT-03:00 Joel Bernstein : > Actually try this: > > select a from b where _query_='a:b' > > *This produces the query:* > > (_query_:"a:b") > > which should run. > > >

RE: Getting "collection already exists" when creating collection in admin UI

2016-08-12 Thread Alexandre Drouin
Hi Esther-Melaine, The collection exists in Zookeeper under the /collections node and I can see the shardX_replicaX folders under $SOLR_HOME/server/solr of both servers. I was not able to replicate the issue using the collection API. Here are the logs where I added the 'MyNewerNode'

Re: Want zero results from SOLR when there are no matches for "querystring"

2016-08-12 Thread John Bickerstaff
Hossman - many thanks again for your comprehensive and very helpful answer! All, I am (possibly mis-remembering) reading something about being able to pass the results of one query to another query... Essentially "chaining" result sets. I have looked in docs and can't find anything on a quick

Re: Need Help Resolving Unknown Shape Definition Error

2016-08-12 Thread Jennifer Coston
I figured out the solution to this and figured I would send out the solution in case anyone else runs into this issue and stumbles across this. It turns out that I was using an outdated version of the jts jar. When I updated to version 1.14 it works. Thanks, Jennifer Coston From: Jennifer

Re: Solr 6: Use facet with Streaming Expressions- LeftOuterJoin

2016-08-12 Thread Joel Bernstein
What issue were you having with the rollup() function? Joel Bernstein http://joelsolr.blogspot.com/ On Fri, Aug 12, 2016 at 5:01 AM, vrindavda wrote: > Hey Joel, > > Thanks for you quick response, I was able to merge documents using > OutherHashJoin. But I am not able to

Re: Getting "collection already exists" when creating collection in admin UI

2016-08-12 Thread Esther-Melaine Quansah
Hi Alexandre, The question here is why the create action is called twice. You’re getting that “collection already exists” error after the second action is called. Can you verify if MyNewNode exists in /collections in ZK or on the machines running Solr at $SOLR_HOME/server/solr/ Your logs show

Getting "collection already exists" when creating collection in admin UI

2016-08-12 Thread Alexandre Drouin
Hello, I am running SolrCloud with 2 nodes (Solr 6.1 with SSL and basic auth) and with one Zookeeper node (for development purposes) and when I try to create a new collection in the admin UI with 'replicationFactor=2' I get a "Connection to Solr lost" message and another message telling me "

Re: Need Help Resolving Unknown Shape Definition Error

2016-08-12 Thread Jennifer Coston
Update: I get the same error when I try to use curl instead of the admin console. I'm really stuck on this. Any help, tips, suggestions, etc. would be greatly appreciated! Curl Command: curl -X POST -H 'Content-Type: application/json' 'http://localhost:8983/solr/spaceknow/update/json/docs'

Re: Getting dynamic fields using LukeRequest.

2016-08-12 Thread Pranaya Behera
Hi, With solrj I am getting inconsistent results. Previously it was working great. But now it is not giving any expanded results while querying the same search in solr admin it gives the expanded query. When I say previously is that after the first release of 6.1.0, now LukeRequest is

AUTO: Brian J. Vanecek is out of the office (returning 08/15/2016)

2016-08-12 Thread Brian J. Vanecek
I am out of the office until 08/15/2016. Note: This is an automated response to your message "Re: commit it taking 1300 ms" sent on 8/11/2016 10:58:34 PM. This is the only notification you will receive while this person is away. ** This email and any attachments may contain information

Unable to upgrade from 5.4 to 5.5.2

2016-08-12 Thread Yago Riveiro
I'm trying to upgrade my Solr cluster from 5.4 to 5.5.2 in a rolling restart without success. The first node upgraded with 5.4 worked without any issue, the problem arise with the second. When the second node is restarted with the 5.4 version, the heap of both nodes grows until the first node

Re: Effects of insert order on query performance

2016-08-12 Thread Emir Arnautovic
Hi Jeff, I will not comment on your theory (will let that to guys more familiar with Lucene code) but will point to one alternative solution: routing. You can use routing to split documents with different permission to different shards and use composite hash routing to split "A" (and maybe

Re: Solr 6: Use facet with Streaming Expressions- LeftOuterJoin

2016-08-12 Thread vrindavda
Hey Joel, Thanks for you quick response, I was able to merge documents using OutherHashJoin. But I am not able to use rollup() to get count(*) for multiple fields, as we get using facets. Please suggest if last option is to merge documents using atomic updates, and then use facets(or

RE: Wildcard search not working

2016-08-12 Thread Ribeaud, Christian (Ext)
Hi Ahmet, Hi Upayavira, OK, it seems that I have to dive a bit deeper in the Solr filters and tokenizers. I've just realized that my command there is too limited. Thanks a lot guys so far for help. Cheers and have a nice day, christian -Original Message- From: Ahmet Arslan

Re: Wildcard search not working

2016-08-12 Thread Ahmet Arslan
Hi Christian, Please use the following filter before/above the stemmer. Plus, you may want to add : Ahmet On Thursday, August 11, 2016 9:31 PM, "Ribeaud, Christian (Ext)" wrote: Hi Ahmet, Many thanks for your reply. I had a look at the URL you

Re: commit it taking 1300 ms

2016-08-12 Thread Esther-Melaine Quansah
Midas, I’d like further clarification as well. Are you sending commits along with each document that you’re POSTing to Solr? If so, you’re essentially either opening a new searcher or flushing to disk with each POST which could explain latency between each request. Thanks, Esther > On Aug

Regarding Solr UI authentication

2016-08-12 Thread Pradeep Chandra
Hi I am running solr using the command *bin/solr start *in Ubuntu. Now I want to give UI authentication to secure my Solr. Can you tell me how to make Solr password protected. I am not using Zookeeper/SolrCloud. Thanks and Regards, M Pradeep Chandra