Parallel SQL Interface returns "java.lang.NullPointerException" after reloading collection

2016-05-01 Thread Ryan Yacyshyn
Hi all, I'm exploring with parallel SQL queries and found something strange after reloading the collection: the same query will return a java.lang.NullPointerException error. Here are my steps on a fresh install of Solr 6.0.0. *Start Solr in cloud mode with example* bin/solr -e cloud -noprompt *

Re: Many to Many Mapping with Solr

2016-05-01 Thread Sandeep Mestry
Thanks Alexandre, even I am of the opinion not to use solr rdbms way but i am concerned about the updates to the indexes. We're expecting around 500 writes per second to the database which will generate in >500 updates to the index per second. If the entities are denormalised this will have an impa

Searching for term sequence including blank character using regex

2016-05-01 Thread Ali Nazemian
Dear Solr Users/Developers, Hi, I was wondering what is the correct query syntax for searching sequence of terms with blank character in the middle of sequence. Suppose I am looking for a query syntax with using fq parameter. For example suppose I want to search for all documents having "hello wor

Re: Solr 5.2.1 on Java 8 GC

2016-05-01 Thread Bram Van Dam
On 30/04/16 17:34, Davis, Daniel (NIH/NLM) [C] wrote: > Bram, on the subject of brute force - if your script is "clever" and uses > binary first search, I'd love to adapt it to my environment. I am trying to > build a truly multi-tenant Solr because each of our indexes is tiny, but all > togeth

Re: Parallel SQL Interface returns "java.lang.NullPointerException" after reloading collection

2016-05-01 Thread Joel Bernstein
Can you post your stack trace? I suspect this has to do with how the Streaming API is interacting with SolrCloud. We can probably also create a jira ticket for this. Joel Bernstein http://joelsolr.blogspot.com/ On Sun, May 1, 2016 at 4:02 AM, Ryan Yacyshyn wrote: > Hi all, > > I'm exploring wit

Re: Streaming expression for suggester

2016-05-01 Thread Joel Bernstein
This is the type of thing that Streaming Expressions does well, but there isn't one yet for the suggester. Feel free to add a SuggestStream jira ticket, it should be very easy to add. Joel Bernstein http://joelsolr.blogspot.com/ On Sat, Apr 30, 2016 at 6:30 AM, Pranaya Behera wrote: > Hi, >

Re: Solr 5.2.1 on Java 8 GC

2016-05-01 Thread Nick Vasilyev
How do you log GC frequency and time to compare it with other GC configurations? Also, do you tweak parameters automatically or is there a set of configuration that get tested? Lastly, I was under impression that G1 is not recommended to be used based on some issues with Lucene, so I haven't trie

Re: Solr 5.2.1 on Java 8 GC

2016-05-01 Thread Shawn Heisey
On 4/28/2016 9:43 AM, Nick Vasilyev wrote: > I forgot to mention that the index is approximately 50 million docs split > across 4 shards (replication factor 2) on 2 solr replicas. Later in the thread, Jeff Wartes mentioned my wiki page for GC tuning. https://wiki.apache.org/solr/ShawnHeisey#GC_Tu

RE: solr sql & streaming

2016-05-01 Thread Chaushu, Shani
Yes I'm running in solr cloud mode. I managed to make the query work with sql queries, but when I'm trying to run it with stream request, I get an error When I try to run expr=search: "Unable to construct instance of org.apache.solr.client.solrj.io.stream.CloudSolrStream When I try to run expr=

Re: Streaming expression for suggester

2016-05-01 Thread Pranaya Behera
Hi Joel, If you could point me in the right direction I would like to take shot. On Sunday 01 May 2016 10:38 PM, Joel Bernstein wrote: This is the type of thing that Streaming Expressions does well, but there isn't one yet for the suggester. Feel free to add a SuggestStream jira ti

Re: Phrases and edismax

2016-05-01 Thread Mark Robinson
Thanks much Eric for checking in detail. Yes I found the first term being left out in pf. Because of that I had some cases where a couple of unwanted records came in the results with higher priority than the normal ones. When I checked they matched from the 2nd term onwards. As suggested I wud rai

Re: solr sql & streaming

2016-05-01 Thread Joel Bernstein
It appears that you are not formatting the streaming expression properly. Can you post your entire http request? Joel Bernstein http://joelsolr.blogspot.com/ On Sun, May 1, 2016 at 2:01 PM, Chaushu, Shani wrote: > Yes I'm running in solr cloud mode. > I managed to make the query work with sql q

Re: Streaming expression for suggester

2016-05-01 Thread Joel Bernstein
Sure take a look at the RandomStream. You can copy the basic structure of it but have it work with the suggester. The link below shows the test cases as well: https://github.com/apache/lucene-solr/commit/7b5f12e622f10206f3ab3bf9f79b9727c73c6def Joel Bernstein http://joelsolr.blogspot.com/ On Sun

Using updateRequest Processor with DIH

2016-05-01 Thread Jay Potharaju
Hi, I was wondering if it is possible to use Update Request Processor with DIH. I would like to update an index_time field whenever documents are added/updated in the collection. I know that I could easily pass a time stamp which would update the field in my collection but I was trying to do it usi

RE: solr sql & streaming

2016-05-01 Thread Chaushu, Shani
U tried 2 examples: curl -id 'expr=search(collections_test, q="*:*",fl=id,name,inStock, sort="id asc")' http://localhost:8983/solr/collections_test/stream curl http://localhost:8983/solr/collections_test/stream -d 'expr=reduce(search(collections_test, q="*:*",fl=id,name,inStock, sort="id asc")

OOM script executed

2016-05-01 Thread Bastien Latard - MDPI AG
Hi Guys, I got several times the OOM script executed since I upgraded to Solr6.0: $ cat solr_oom_killer-8983-2016-04-29_15_16_51.log Running OOM killer script for process 26044 for Solr on port 8983 Does it mean that I need to increase my JAVA Heap? Or should I do anything else? Here are some

What does the "Max Doc" means in Admin interface?

2016-05-01 Thread Bastien Latard - MDPI AG
Hi All, Everything is in the title... Can this value be modified? Or is it because of my environment? Also, what does "Heap Memory Usage: -1" mean? Kind regards, Bastien Latard Web engineer -- MDPI AG Postfach, CH-4005 Basel, Switzerland Office: Klybeckstrasse 64, CH-4057 Tel. +41 61 683 77 3

RE: Facet ignoring repeated word

2016-05-01 Thread G, Rajesh
Hi Erick/ Ahmet, Thanks for your suggestion. Can we have a query in TermsComponent like. I need the word count of comments for a question id not all. When I include the query q=questionid=123 I still see count of all http://localhost:8182/solr/dev/terms?terms.fl=comments&terms=true&terms.limit=