Re: copy field source not working in solr schema.xml

2016-04-27 Thread Andrea Gazzarini
Although what you pasted isn't the complete schema I guess you miss a wrote: > Error : > org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: > Could not load conf for core demo7: copyField dest :'i_member_id' is not an > explicit field and doesn't match a dynamicField..

copy field source not working in solr schema.xml

2016-04-27 Thread kavurupavan
Error : org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Could not load conf for core demo7: copyField dest :'i_member_id' is not an explicit field and doesn't match a dynamicField.. Schema file is /opt/solr/example/solr/demo7/conf/schema.xml My schema.xml :

Re: Decide on facets from results

2016-04-27 Thread Alexandre Rafalovitch
What about a custom component? Something similar to spell-checker? Add it last after everything else. It would have to be custom because you have some domain magic about how to decide what fields to facet on. Regards, Alex. Newsletter and resources for Solr beginners and intermediates:

Re: measuring query performance & qps per node

2016-04-27 Thread Erick Erickson
In SolrCloud you can collect stats on pivot facets, see: https://issues.apache.org/jira/browse/SOLR-6351 There are more buckets to count into and in SolrCloud you have extra work to reconcile the partial results from different shards. Best, Erick On Mon, Apr 25, 2016 at 8:50 PM, Jay

Re: Dergraded performance between Solr 4 and Solr 5

2016-04-27 Thread Erick Erickson
This is rather strange, not sure what's going on here, I'll have to leave it to others to speculate I'm afraid... Although I do wonder what a profiling tool would show. Best, Erick On Wed, Apr 27, 2016 at 8:51 AM, Jaroslaw Rozanski wrote: > Ok, so here is interesting

Re: Decide on facets from results

2016-04-27 Thread Erick Erickson
Mark: You can do anything you want that Java can do ;). Smart-alec comments aside, there's no mechanism for doing this in Solr that I know of. The first thing I'd do is try the two-query- from-the-client approach to see if it was "fast enough". Best, Erick (the other one) On Wed, Apr 27, 2016

Solr UI to Display Hyperlinks

2016-04-27 Thread sheon banks
Hi All, I have nutch configured with Solr. Previous versions of Nutch has a search screen which returns Hyperlinks. How do I get the same functionality using Solr? Can someone point me to the documentations which discusses how to modify the Solr UI and returns links? sheon

Re: ANN: Solr puzzle: Magic Date

2016-04-27 Thread Alexandre Rafalovitch
Thank you for the feedback Reth. You have interesting comments I'll keep in mind. This particular attempt was more specifically a puzzle - a combination of Solr features that give a surprising result. They would probably be a bit tricky for interviews. I have thought about 'scenario

Re: Cross collection join in Solr 5.x

2016-04-27 Thread Shikha Somani
We have identified fix for this issue. Please refer defect? comments section. Thanks, Shikha From: Susmit Shukla Sent: 21 April 2016 19:06 To: solr-user@lucene.apache.org Subject:

MoreLikeThis Handler Solr 4.9

2016-04-27 Thread Esan London
Hi all, I set up a morelikethis request in solr 4.9 handler and it works fine for fields that are text but when I try to use a float field the results "seem" like it treats the float value as text eg. For the input document with a float field value of 3, in the top ten results for mlt a

Re: Decide on facets from results

2016-04-27 Thread Mark Robinson
Thanks Eric! So that will mean another call will be definitely required to SOLR with the facets, before the results can be send back (with the facet fields being derived traversing through the response). I was basically checking on whether in the "process" method (I believe results will be

Re: Replicas for same shard not in sync

2016-04-27 Thread Jeff Wartes
I didn’t leave it out, I was asking what it was. I’ve been reading around some more this morning though, and here’s what I’ve come up with, feel free to correct. Continuing my scenario: If you did NOT specify min_rf 5. leader sets leader_initiated_recovery in ZK for the replica with the

Re: Decide on facets from results

2016-04-27 Thread Erik Hatcher
Results will vary based on how you indexed those fields, but sure… =on= - with sufficient RAM, lots of fun to be had! — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com > On Apr 27, 2016, at 12:13 PM, Mark Robinson

Re: Questions on SolrCloud core state, when will Solr recover a "DOWN" core to "ACTIVE" core.

2016-04-27 Thread Li Ding
Hi Erick, I don't have the GC log. But after the GC finished. Isn't zk ping succeeds and the core should be back to normal state? From the log I posted. The sequence is: 1) Solr Detects itself can't connect to ZK and reconnect to ZK 2) Solr marked all cores are down 3) Solr recovery each

Re: Tuning solr for large index with rapid writes

2016-04-27 Thread Stephen Lewis
​> If I'm reading this right, you have 420M docs on a single shard? Yep, you were reading it right. Thanks for your guidance. We will do various prototyping following "the sizing exercise". Best, Stephen On Tue, Apr 26, 2016 at 6:17 PM, Erick Erickson wrote: > ​​ > If

Decide on facets from results

2016-04-27 Thread Mark Robinson
Hi, If I don't have my facet list at query time, from the results can I select some fields and by any means create a facet on them? ie after I get the results I want to identify some fields as facets and send back facets for them in the response. A kind of very dynamic faceting based on the

Re: Dergraded performance between Solr 4 and Solr 5

2016-04-27 Thread Jaroslaw Rozanski
Ok, so here is interesting find. As my setup requires frequent (soft) commits cache brings little value. I tested following on Solr 5.5.0: q={!cache=false}*:*& fq={!cache=false}query1 /* not expensive */& fq={!cache=false cost=200}query2 /* expensive! */& Only with above set-up (and forcing

RE: solr | backup and restoration

2016-04-27 Thread Prateek Jain J
Manually copying files under index directory fixed the issue. Regards, Prateek Jain -Original Message- From: Prateek Jain J [mailto:prateek.j.j...@ericsson.com] Sent: 27 April 2016 02:08 PM To: solr-user@lucene.apache.org Subject: solr | backup and restoration Hi, We are using

solr | backup and restoration

2016-04-27 Thread Prateek Jain J
Hi, We are using solr 4.8.1 in production and want to create backups at runtime. As per the reference guide, we can create backup using something like this: http://localhost:8983/solr/myCore/replication?command=backup=/tmp/myBackup=1 and we verified that some file are getting created in

Re: How can i pass in solr dynamic values to a particular field

2016-04-27 Thread Erik Hatcher
A couple of options - param substitution - fq=maths:${maths_v} AND science:${science_v} where _v=25 and _v=30 And one I like better because it’s a more precisely defined query: fq=({!term f=maths v=$maths_v}) AND {!term f=science v=$science_v} — Erik Hatcher, Senior Solutions

RE: How can i pass in solr dynamic values to a particular field

2016-04-27 Thread rajeshkumar . s
HI kavurupavan, From which language you need to pass Dynamic Values. --- Thanks and regards, Rajesh Kumar Sountarrajan Software Developer / DBA Developer - IT Team Mobile: 91 - 9600984804 Email - rajeshkuma...@maxval-ip.com - Original Message -

How can i pass in solr dynamic values to a particular field

2016-04-27 Thread kavurupavan
Solr url : Example: http://localhost:8983/solr/searching/select?q=*:*=maths:25 AND science: 30 These 25 and 30 i need to pass dynamically values. How can I pass them as part of a Solr URL? Please help me. Thanks in advance. -- View this message in context:

Re: Dergraded performance between Solr 4 and Solr 5

2016-04-27 Thread Jaroslaw Rozanski
Hi Eric, Measuring running queries via JMeter. Values provided are rounded median of multiple samples. Medians are just slightly better than 99th percentile for all samples. Filter cache is useless as you mentioned; they are effectively not used. There is auto-warming through cache autoWarm but

Re: ANN: Solr puzzle: Magic Date

2016-04-27 Thread Reth RM
Yes, these can be practice/interview questions. But, considering the specific example above, it seems like question is pertaining to plot syntactically error(?); it is not expected that developer/solr-user know right syntax or commands. What could be interesting is, questions related to cloud

Re: Build Java Package for required schema and solrconfig files field and configuration.

2016-04-27 Thread Reth RM
Hi Nitin, If I understand correctly, you have configured suggest component in solr instance. Solr instance is an independent java program and it will be running on its own when you start and stop. You cannot package solr/suggest component in your java application/project. You can use SolrJ apis