Re: OOM script executed

2016-05-02 Thread Bastien Latard - MDPI AG
Hi Tomás, Thanks for your answer. How could I see what's using memory? I tried to add "-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/solr/logs/OOM_Heap_dump/" ...but this doesn't seem to be really helpful... Kind regards, Bastien On 02/05/2016 22:55, Tomás Fernández Löbbe wrote: You

Re: Solr comparsion between two columns

2016-05-02 Thread kavurupavan
Hi Alex, Please provide any example for comparsion in solr. Regards, Pavan. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-comparsion-between-two-columns-tp4274155p4274158.html Sent from the Solr - User mailing list archive at Nabble.com.

Query String Limit

2016-05-02 Thread Prasanna S. Dhakephalkar
Hi, I have a solr 5.3.1 standalone installation. When a query is fired on the browser, If the number of characters in the url is 6966, then I get the result, but if it is increased by 1 character, making the URL 6967 then solr does not return any result and screen goes blank. I am not

Re: Solr comparsion between two columns

2016-05-02 Thread Alexandre Rafalovitch
Function queries if you want to do this on a fly: https://cwiki.apache.org/confluence/display/solr/Function+Queries 'if' and 'sub' most likely However, if you are going to do this often for the same fields, you may be better off calculating this during indexing using UpdateRequestProcessors. I don

Solr comparsion between two columns

2016-05-02 Thread kavurupavan
Compare two columns in solr if two fields are equal display true or else false. CASE WHEN o_is_follow = o_follow_id THEN 'TRUE' ELSE 'FALSE'. Please help me. Thanks in advance. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-comparsion-between-two-columns-tp4274155.htm

Re: Results of facet differs with change in facet.limit.

2016-05-02 Thread Modassar Ather
Hi, Kindly share your inputs on this issue. Thanks, Modassar On Mon, May 2, 2016 at 3:53 PM, Modassar Ather wrote: > Hi, > > I have a field f which is defined as follows on solr 5.x. It is 12 shard > cluster with no replica. > > stored="false" indexed="false" docValues="true"/> > > When I fac

Re: Phrases and edismax

2016-05-02 Thread Erick Erickson
Mark: KYLIN-1644? This should be SOLR-. I suspect you entered the JIRA in the wrong Apache project. Erick On Mon, May 2, 2016 at 8:05 PM, Mark Robinson wrote: > Hi Eric, > > I have raised a JIRA:- *KYLIN-1644* with the problem mentioned. > > Thanks! > Mark. > > On Sun, May 1, 2016

Re: Phrases and edismax

2016-05-02 Thread Mark Robinson
Hi Eric, I have raised a JIRA:- *KYLIN-1644* with the problem mentioned. Thanks! Mark. On Sun, May 1, 2016 at 5:25 PM, Mark Robinson wrote: > 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 unw

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

2016-05-02 Thread Joel Bernstein
Looks like the loop below is throwing a Null pointer. I suspect the collection has not yet come back online. In theory this should be self healing and when the collection comes back online it should start working again. If not then that would be a bug. for(String col : clusterState.getCollections(

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

2016-05-02 Thread Ryan Yacyshyn
Yes stack trace can be found here: http://pastie.org/10821638 On Mon, 2 May 2016 at 01:05 Joel Bernstein wrote: > 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

Re: Facet ignoring repeated word

2016-05-02 Thread Ahmet Arslan
Hi, StatsComponent does not respect the query parameter. However you can feed a function query (e.g., termfreq) to it. Instead consider using TermVectors or MLT's interesting terms. https://cwiki.apache.org/confluence/display/solr/The+Term+Vector+Component https://cwiki.apache.org/confluence/d

Re[4]: Block Join faceting on intermediate levels with JSON Facet API (might be related to block join rollups & SOLR-8998)

2016-05-02 Thread Alisa Z .
>>You could add a "level2_comment_id" field to the level 2 commends and >>it's children, and then use unique() on that. OK, I see, I missed the children... Thank you for pointing out. I have introduced that "unique sub-branch identifying" field and propagated it down the subbranch (the data is

Re: OOM script executed

2016-05-02 Thread Tomás Fernández Löbbe
You could, but before that I'd try to see what's using your memory and see if you can decrease that. Maybe identify why you are running OOM now and not with your previous Solr version (assuming you weren't, and that you are running with the same JVM settings). A bigger heap usually means more work

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

2016-05-02 Thread Tomás Fernández Löbbe
"Max Docs" is a confusing. It's not really the maximum number of docs you can have, it's just the total amount of docs in your index INCLUDING DELETED DOCS that haven't been cleared by a merge. "Heap Memory Usage" is currently broken. See https://issues.apache.org/jira/browse/SOLR-7475 On Sun, May

Re: Tuning solr for large index with rapid writes

2016-05-02 Thread Stephen Lewis
Thanks for the good suggestions on read traffic. I have been simulating reads through parsing our elb logs and replaying them from a fleet of test servers acting as frontends using Siege . We are hoping to tune mostly based on exact use case, and so this seems th

Re: Tuning solr for large index with rapid writes

2016-05-02 Thread Erick Erickson
Bram: That works. I try to monitor the number of 0-hit queries when I generate a test set on the theory that those are _usually_ groups of random terms I've selected that aren't a good model. So it's often a sequence like "generate my list, see which ones give 0 results and remove them". Rinse, re

RE: Using updateRequest Processor with DIH

2016-05-02 Thread Davis, Daniel (NIH/NLM) [C]
I don't know whether that works; but you can use the ScriptTransformer with DIH to achieve similar results. I've only used JavaScript (Rhino) scripts, but they worked for me. More recently, I've found that most of my transformations can be accomplished with the TemplateTransformer. -Orig

Re: BlockJoinFacetComponent on solr 4.10

2016-05-02 Thread Mikhail Khludnev
Hello, It needs to be backported. On Mon, May 2, 2016 at 11:59 AM, tkg_cangkul wrote: > hi i wanna asking a question about using BlockJoinFacetComponent > > in solr 4. how can i use that library on solr 4.10.4 > i want to install casebox with solr 4.10.4 but i have this error. > [image: error]

Sort group.query

2016-05-02 Thread Xam Uo
Hi all, Is there a way to define a label on group.query (for example something like group.query={!label=AGroup}&group.query={!label=BGroup} and then sort on this label? Thank you, Regards, Xam

Re: Streaming expression for suggester

2016-05-02 Thread Pranaya Behera
I cant return other fields in the response if I use SuggestComponent ? On Monday 02 May 2016 08:13 AM, Joel Bernstein wrote: 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://git

Re: solr sql & streaming

2016-05-02 Thread Joel Bernstein
Great! Feel free to continue posting questions like this to the list as the come up for streaming and SQL. Also branch_6x now has improved error handling for streaming & SQL. These changes will be in Solr 6.1. In Solr 6.0 the root cause to certain errors was not being propagated all the way back

RE: solr sql & streaming

2016-05-02 Thread Chaushu, Shani
It worked! thanks -Original Message- From: Joel Bernstein [mailto:joels...@gmail.com] Sent: Monday, May 02, 2016 14:39 To: solr-user@lucene.apache.org Subject: Re: solr sql & streaming Try putting quotes around the fl parameter. search(collections_test, q="*:*",

Include and exclude feature with multi valued fileds

2016-05-02 Thread Anil
HI, i have created a document with multi valued fields. Eg : An issue is impacting multiple customers, products, versions etc. In my issue document, i have created customers, products, versions as multi valued fields. how to find all issues that are impacting google (customer) but not facebook

Re: query logging using query rest api

2016-05-02 Thread Vincenzo D'Amore
Hi Matteo, take a look at: https://cwiki.apache.org/confluence/display/solr/Configuring+Logging And also the comments: https://cwiki.apache.org/confluence/display/solr/Configuring+Logging#comment-thread-51808825 I have not tried but it seems interesting. On Mon, May 2, 2016 at 11:45 AM, Vince

Re: solr sql & streaming

2016-05-02 Thread Joel Bernstein
Try putting quotes around the fl parameter. search(collections_test, q="*:*", fl="id,name,inStock", sort="id asc") Joel Bernstein http://joelsolr.blogspot.com/ On Mon, May 2, 2016 at 2:09 AM, Chaushu, Shani wrote: > U tried 2 examples: > > curl -id 'expr=

Bringing Old Collections Up Again

2016-05-02 Thread Salman Ansari
Hi, I am hosting Zookeeper ensemble and Solr servers on Microsoft cloud (Azure). From time to time machines are forced to restart to install updates. Recently, this happened again and it caused Zookeeper ensemble and Solr instances to go down. When the machines came back up again. I tried the foll

EmbeddedSolrServer Loading Core Containers Solr 4.3.1

2016-05-02 Thread SRINI SOLR
Hi Team - I am using Solr 4.3.1. We are using this EmbeddedSolrServer to load Core Containers in one of the java application. This is setup as a cron job for every 1 hour to load the new data on to the containers. Otherwise - the new data is not getting loaded on the containers , if we access fr

Results of facet differs with change in facet.limit.

2016-05-02 Thread Modassar Ather
Hi, I have a field f which is defined as follows on solr 5.x. It is 12 shard cluster with no replica. When I facet on this field with different facet.limit I get different facet count. E.g. Query : text_field:term&facet.field=f&facet.limit=100 Result : 1225 1082 1076 Query : text_field:term&f

Re: query logging using query rest api

2016-05-02 Thread Vincenzo D'Amore
Hi Matteo, trying a few of queries, using POST and GET method, you can see query params in logs appears only when you pass them in query string along with HTTP GET method. curl 'localhost:8983/solr/test/query?q=*:*' The reason of this behaviour (I think) is in the big difference between the size

Re: Problem in Issuing a Command to Upload Configuration

2016-05-02 Thread Salman Ansari
Well, that just happened! Solr and Zookeeper machines faced a forced restart to install Windows Updates. This caused Zookeeper ensemble and Solr instances to go down. When the machines came back up again. I tried the following 1) Started Zookeeper on all machines using the following command zkServ

Re: query logging using query rest api

2016-05-02 Thread Matteo Grolla
Hi Vincenzo, you're right -XGET shouldn't be there but curl is smart enough to ignore it so nothing changes eliminating it, tested. 2016-04-28 11:28 GMT+02:00 Vincenzo D'Amore : > Hi Matteo, > > there is a problem in your curl test: as far as I know you cannot use GET > HTTP method ( -XG

Re: bf calculation

2016-05-02 Thread Georg Sorst
Hi Jan, have you tried Solr's debug output? ie. add "...&debug=true&debug.explain.structured=true" to your query. This should answer your question. Best, Georg Jan Verweij - Reeleez schrieb am Mo., 2. Mai 2016 um 09:47 Uhr: > Hi, > I'm trying to understand the exact calculation that takes plac

BlockJoinFacetComponent on solr 4.10

2016-05-02 Thread tkg_cangkul
hi i wanna asking a question about using BlockJoinFacetComponent in solr 4. how can i use that library on solr 4.10.4 i want to install casebox with solr 4.10.4 but i have this error. error when i check in solr-core-4.10.4.jar there is no class Block JoinFacet COmponent. i found it in sol

BlockJoinFacetComponent on solr 4.10

2016-05-02 Thread tkg_cangkul
hi i wanna asking a question about using BlockJoinFacetComponent in solr 4. how can i use that library on solr 4.10.4 i want to install casebox with solr 4.10.4 but i have this error. error when i check in solr-core-4.10.4.jar there is no class Block JoinFacet COmponent. i found it in sol

Re: Using updateRequest Processor with DIH

2016-05-02 Thread Alexandre Rafalovitch
You just need to setup the full chain, not a single processor. Regards, Alex On 2 May 2016 3:39 pm, "Jay Potharaju" wrote: > 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 i

bf calculation

2016-05-02 Thread Jan Verweij - Reeleez
Hi, I'm trying to understand the exact calculation that takes place when using edismax and the bf parameter. When searching I get a product returned with a score of 0.625 Now, I have a field called productranking with a value of 0.5 for this specific product. If I add &bf=field(productranking) to