Re: URL parameters combined with text param

2016-05-12 Thread Bastien Latard - MDPI AG
Thanks both! I already tried "&debug=true", but it doesn't tell me that much...Or at least, I don't see any problem... Below are the responses... 1. /select?q=hospital AND_query_:"{!q.op=AND v=$a}"&fl=abstract,title&a=hospital Leapfrog&debug=true 0 280 hospital AND_query_:"{!q.op=AND

Re: Streaming expressions join operations

2016-05-12 Thread Ryan Cutter
Hi Joel, I wiped my repo and started fresh with the hope of documenting my steps and producing a stacktrace for you - of course, this time innerJoin() works fine. :-) I must have gotten something sideways the first time. Thanks for your time. I look forward to diving into this really cool featu

dtSearch parser & Introduction

2016-05-12 Thread Brandon Miller
Hello, all! I'm a BloombergBNA employee and need to obtain/write a dtSearch parser for solr (and probably a bunch of other things a little later). I've looked at the available parsers and thought that the surround parser may do the trick, but it apparently doesn't like nested N or W subqueries. I

set-property API doesn't work for security.json authentication

2016-05-12 Thread Shamik Bandopadhyay
Hi, I'm trying to update the set-property option in security.json authentication section. As per the documentation, "Set arbitrary properties for authentication plugin. The only supported property is 'blockUnknown'" https://cwiki.apache.org/confluence/display/solr/Basic+Authentication+Plugin

Re: Documents auto-expiry inside a collection Solr 6.0.0

2016-05-12 Thread Chris Hostetter
: https://lucidworks.com/blog/2014/05/07/document-expiration/ : : Each step is followed but nothing happens. I was expecting to see expiry : automatically set as per multiple mechanisms configured. if you are not seeing the configured expirationFieldName added to your docs, then it sounds like

Documents auto-expiry inside a collection Solr 6.0.0

2016-05-12 Thread Hammad
Hi Team, I followed below walkthough for auto expiry configuration https://lucidworks.com/blog/2014/05/07/document-expiration/ Each step is followed but nothing happens. I was expecting to see expiry automatically set as per multiple mechanisms configured. Does it work differently in 6.0.0 than

RE: Using Ping Request Handler in SolrCloud within a load balancer

2016-05-12 Thread Davis, Daniel (NIH/NLM) [C]
Shawn, that's a great idea for how to integrate f5 with Solr. I'd thought about having Apache httpd in-front of Solr, but I suppose I could just have f5 BigIP on its own. -Original Message- From: Sandy Foley [mailto:sandy.fo...@verndale.com] Sent: Thursday, May 12, 2016 2:38 PM To: so

NullPointerException - Data Import Handler - TimeZone

2016-05-12 Thread Brian Narsi
We are getting the following error: Full Import failed:java.lang.RuntimeException: org.apache.solr.handler.dataimport.DataImportHandlerException: java.lang.NullPointerException at org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:270) at org.apache.solr.handler.dataimport.DataI

RE: Using Ping Request Handler in SolrCloud within a load balancer

2016-05-12 Thread Sandy Foley
Thanks Shawn for the response. This was helpful. -Original Message- From: Shawn Heisey [mailto:apa...@elyograg.org] Sent: Wednesday, May 11, 2016 7:02 PM To: solr-user@lucene.apache.org Subject: Re: Using Ping Request Handler in SolrCloud within a load balancer On 5/9/2016 10:56 PM, S

Re: Fwd: Solr Cloud 6.0.0 hangs when creating large amount of collections and node fails to recover after restart

2016-05-12 Thread Shawn Heisey
On 5/12/2016 9:08 AM, Horváth Péter Gergely wrote: > As part of benchmark, I attempted to create about 2500 collections to > see how well that would work for us. Unfortunately, the experiment > yielded some disappointing results, after about 2000 being created > SolR got hung; REST requests started

Re: Atomicity of commits in Solr Cloud?

2016-05-12 Thread Shawn Heisey
On 5/12/2016 10:46 AM, Lars Noschinski wrote: > does Solr (6.0) give an guarantees about the atomicity of commits in Solr > Cloud? I.e., if I add a large amount of documents, then commit, do the > changed state become visible on all shards at the same time? I could not > find anything towards that,

Re: Atomicity of commits in Solr Cloud?

2016-05-12 Thread John Bickerstaff
I'm not a dev, but I would assume the following if I were concerned with speed and atomicity A. A commit WILL be reflected in all appropriate shards / replicas in a very short time. I believe Solr Cloud guarantees this, although the time frame will be dependent on "B" B. Network, proces

RE: Indexing a (File attached to a document)

2016-05-12 Thread Allison, Timothy B.
If I understand the question correctly... I'm assuming you are indexing rich documents (PDF/DOC/MSG, etc) with DIH's Tika handler. Some of those documents have attachments. If that's the case, all of the content of embedded docs _should_[0] be extracted, but then all of that content across the

Atomicity of commits in Solr Cloud?

2016-05-12 Thread Lars Noschinski
Hi everyone, does Solr (6.0) give an guarantees about the atomicity of commits in Solr Cloud? I.e., if I add a large amount of documents, then commit, do the changed state become visible on all shards at the same time? I could not find anything towards that, so I assume that there is no such guara

Re: Indexing a (File attached to a document)

2016-05-12 Thread Reth RM
Could you please let us know which crawler are you using to fetch data from document and its attachment? On Thu, May 12, 2016 at 3:26 PM, Solr User wrote: > Hi > > If I index a document with a file attachment attached to it in solr, can I > visualise data of that attached file attachment also w

Re: Can a Solr Plugin be pre-loaded at Solr Startup

2016-05-12 Thread Chris Hostetter
: I have a few classes that are Analyzers, Readers, and TokenFilters. These : classes use a large hashmap to map tokens to another value. The code is : working great. I go to the Analysis page on the Solr dashboard and everything : works as I would like. The problem is that the first time each one

Re: Doc expiration & security plug-ins

2016-05-12 Thread Chris Hostetter
Interesting ... yeah, it's totally possible that those combinations of features may not play nicely with eachother, because the DocExpirationUpdateProcessor initiates it's own solr requests under the covers - it has no "original request" to copy authentication credentials from. Can you please

Can a Solr Plugin be pre-loaded at Solr Startup

2016-05-12 Thread Geoffrey_Slinker
I have a few classes that are Analyzers, Readers, and TokenFilters. These classes use a large hashmap to map tokens to another value. The code is working great. I go to the Analysis page on the Solr dashboard and everything works as I would like. The problem is that the first time each one of t

Re: Nested grouping or equivalent.

2016-05-12 Thread Callum Lamb
Thank you so much Erick. The CollapsingQparse was exactly what I needed. I'm able to group by the field and then do the collapse from products into items and get the correct answer. The Collapsing is also more appropriate for the general grouping we need to do all the time now as well, so we'll pro

RE: backups of analyzingInfixSuggesterIndexDir

2016-05-12 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
Backup simply by copying the files? or is there some option by which to say "include analyzingInfixSuggesterIndexDir as well"? -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: Wednesday, May 11, 2016 11:53 PM To: solr-user Subject: Re: backups of analyzingI

Re: URL parameters combined with text param

2016-05-12 Thread Erick Erickson
Try adding &debug=query to your query and look at the parsed results. This shows you exactly what Solr sees rather than what you think it should. Best, Erick On Thu, May 12, 2016 at 6:24 AM, Ahmet Arslan wrote: > Hi, > > Well, what happens > > q=hospital&fq={!lucene q.op=AND v=$a}&a=hospital Lea

RE: http request to MiniSolrCloudCluster

2016-05-12 Thread Rohana Rajapakse
You are correct Alan. My cluster seems to have not started correctly. Debugging now... Thanks -Original Message- From: Alan Woodward [mailto:a...@flax.co.uk] Sent: 12 May 2016 13:18 To: solr-user@lucene.apache.org Subject: Re: http request to MiniSolrCloudCluster Are you sure that the

Re: Cross Data Center Replication - ERROR

2016-05-12 Thread Renaud Delbru
Hi Abdel, Your configuration looks ok regarding the cdcr update log. Could you tell us a bit more about your Solr installation ? More specifically, does the solr instances, both source and target, contain one collection that was created prior the configuration of cdcr ? Best, -- Renaud Delbru

Indexing a (File attached to a document)

2016-05-12 Thread Solr User
Hi If I index a document with a file attachment attached to it in solr, can I visualise data of that attached file attachment also while querying that particular document? Please help me on this Thanks & Regards Vidya Nadella -- View this message in context: http://lucene.472066.n3.nabble.co

Re: URL parameters combined with text param

2016-05-12 Thread Ahmet Arslan
Hi, Well, what happens q=hospital&fq={!lucene q.op=AND v=$a}&a=hospital Leapfrog OR q=+_query_:"{!lucene q.op=AND v='hospital'}" +_query_:"{!lucene q.op=AND v=$a}"&a=hospital Leapfrog Ahmet On Thursday, May 12, 2016 3:28 PM, Bastien Latard - MDPI AG wrote: Hi Ahmet, Thanks for your ans

Doc expiration & security plug-ins

2016-05-12 Thread Brian J. Vanecek
All, I'm facing some difficulties utilizing both document expiration and the security plug-ins in Solr 5.5.0. Looking at the log file for the shard1 leader, I can see it initiate the delete process. Unfortunately, it rapidly emits errors for all of the other nodes, as those requests get reject

Re: URL parameters combined with text param

2016-05-12 Thread Bastien Latard - MDPI AG
Hi Ahmet, Thanks for your answer, but this doesn't work on my local index. q1 returns 2 results. http://localhost:8983/solr/my_core/select?q=hospital AND _query_:"{!q.op=AND%20v=$a}"&fl=abstract,title&a=hospital Leapfrog ==> returns 254 results (the same as http://localhost:8983/solr/my_core/s

Re: http request to MiniSolrCloudCluster

2016-05-12 Thread Alan Woodward
Are you sure that the cluster is running properly? Probably worth checking its logs to make sure Solr has started correctly? Alan Woodward www.flax.co.uk On 12 May 2016, at 12:48, Rohana Rajapakse wrote: > Wait. > With correct port, curl says : "curl: (52) Empty reply from server" > > > ---

RE: http request to MiniSolrCloudCluster

2016-05-12 Thread Rohana Rajapakse
Wait. With correct port, curl says : "curl: (52) Empty reply from server" -Original Message- From: Alan Woodward [mailto:a...@flax.co.uk] Sent: 12 May 2016 11:35 To: solr-user@lucene.apache.org Subject: Re: http request to MiniSolrCloudCluster Hi Rohana, What error messages do you get

Re: Nested grouping or equivalent.

2016-05-12 Thread Alessandro Benedetti
"Unfortunately our documents now need to be grouped as well (product variants into items) and that grouping query needs to work on that grouping instead. As far as I'm aware you can't do nested grouping in Solr." What about collapsing the product variants into a group Head which will become the "p

RE: http request to MiniSolrCloudCluster

2016-05-12 Thread Rohana Rajapakse
On browser I get : "The 127.0.0.1 page isn't working. 127.0.0.1 didn't send any data." On curl I get : "curl: (7) Failed connect to 127.0.0.1:63175; No error" -Original Message- From: Alan Woodward [mailto:a...@flax.co.uk] Sent: 12 May 2016 11:35 To: solr-user@lucene.apache.org Subje

Re: http request to MiniSolrCloudCluster

2016-05-12 Thread Alan Woodward
Hi Rohana, What error messages do you get from curl? MiniSolrCloudCluster just runs jetty, so you ought to be able to talk to it over HTTP. Alan Woodward www.flax.co.uk On 12 May 2016, at 09:36, Rohana Rajapakse wrote: > Hi, > > Is it possible to make http requests (e.g. from cURL) to an ac

http request to MiniSolrCloudCluster

2016-05-12 Thread Rohana Rajapakse
Hi, Is it possible to make http requests (e.g. from cURL) to an active/running MiniSolrCloudCluster? One of my existing projects use http requests to an EmbeddedSolrServer. Now I am migrating to Solr-6/7 and trying to use MiniSolrCloudCluster. I have got a MiniSolrCloudCluster up and running,