Bad signature in 6.2.0?

2016-09-05 Thread Malcolm Allison [CASS]
Hi, Today I downloaded Solr 6.2.0 from apache.org along with the keys and MD5 ~# wget http://www-us.apache.org/dist/lucene/solr/6.2.0/KEYS ~# wget http://www-us.apache.org/dist/lucene/solr/6.2.0/solr-6.2.0.zip.asc ~# wget http://www-us.apache.org/dist/lucene/solr/6.2.0/solr-6.2.0.tgz ~# wget

How to get infix match suggestions in solr

2016-09-05 Thread Pradeep Chandra
Hi, Solr suggester is giving prefix suggestions in default. How to get infix matched suggestions? I am using AnylyzingInfixSuggestFactory. I don't know how to configure the Schema.xml & Solrconfig.xml. Can anyone help me. Thanks and Regards M Pradeep Chandra

Do delta import will loss some documents, when the documents added in the duration of delta import.

2016-09-05 Thread Ted Zhu
hello guys, I met a problem when i using the solrcloud mode. When the solr instance run delta-import, it may take some time to be finished( my data source is mysql database). So during this time, the new added documents will loss, the deltaQuery, i use SUBDATE(${dih.last_index_time},

Re: How to replicate config files in master-slave replication without commit on master?

2016-09-05 Thread Erick Erickson
Yes, replicating the ancillary files (e.g. elevate.xml) is contingent on the index changing. You wouldn't want these files copied down every time the slave polled the master, so the replication is part of index replication if (and only if) the index on the master has changed. You could manually

Re: How can I set the defaultOperator to be AND?

2016-09-05 Thread Steve Rowe
Hi Bast, Good to know you got it to work - thanks for letting us know! -- Steve www.lucidworks.com > On Sep 2, 2016, at 4:30 AM, Bastien Latard | MDPI AG > wrote: > > Thanks Steve for your advice (i.e.: upgrade to Solr 6.2). > I finally had time to upgrade and can

Re: Solr document missing or not getting indexed though we get 200 ok status from server

2016-09-05 Thread Shawn Heisey
On 9/4/2016 10:02 PM, Ganesh M wrote: > We have captured all traffic of HTTP POST request going out from app I'm the one you've interacted with on IRC for this issue. If this index has multiple shards, one thing that might be a problem here is the ShardHandler that's internal to Solr. This is

Re: Discreptancy in json.facet uniqe and group.ngroups

2016-09-05 Thread Alexandre Rafalovitch
Perhaps https://issues.apache.org/jira/browse/SOLR-7452 ? Newsletter and resources for Solr beginners and intermediates: http://www.solr-start.com/ On 5 September 2016 at 23:07, Nick Vasilyev wrote: > Hi, I need to get the number of distinct values of a field and

Discreptancy in json.facet uniqe and group.ngroups

2016-09-05 Thread Nick Vasilyev
Hi, I need to get the number of distinct values of a field and I am getting different counts between the json.facet interface and group.ngroups. Here are the two queries: {'q': '*:*', 'rows': 0, 'json.facet': '{'mfr': "unique('mfr')"}' }) This brings up around 6,000 in the mfr field. However,

Wrong highlighting in stripped HTML field

2016-09-05 Thread Neumann, Dennis
Hi guys I am having a problem with the standard highlighter. I'm working with Solr 5.4.1. The problem appears in my project, but it is easy to replicate: I create a new core with the conf directory from configsets/basic_configs, so everything is set to defaults. I add the following in

How to replicate config files in master-slave replication without commit on master?

2016-09-05 Thread Georg Sorst
Hi! According to https://cwiki.apache.org/confluence/display/solr/Index+Replication#IndexReplication-ReplicatingConfigurationFiles : > Solr replicates configuration files only when the index itself is replicated. That means even if a configuration file is changed on the master, that file will be

solr AND riche Data

2016-09-05 Thread kostali hassan
I index rich data in solr 5.4.1 and I use solarium to search terms in index at the field text ;how to display for each term hes category,synonym,similair result,suggester,autocomplet... for exemple the term to search is q=java similair term is: javascript,javaEE..

Custom authentication plugin & inter-node auth

2016-09-05 Thread Matt Richards
Hi We have just upgraded to 5.4.1 from 5.2.1 and have a custom authentication plugin class configured, which is using Spnego to validate user requests. Since there is now built-in support for inter-node authentication via the PKIAuthenticationPlugin we were expecting this to be activated by

Custom authentication plugin & inter-node auth

2016-09-05 Thread Matt Richards
Hi We have just upgraded to 5.4.1 from 5.2.1 and have a custom authentication plugin class configured, which is using Spnego to validate user requests. Since there is now built-in support for inter-node authentication via the PKIAuthenticationPlugin we were expecting this to be activated by

Re: Blank/Null value search in term filter

2016-09-05 Thread Ahmet Arslan
Hi Kishore, Usually, query clause below is used for the task: (+*:* -queryField:[* TO *]) OR queryField:A Ahmet On Monday, September 5, 2016 2:33 PM, Kamal Kishore Aggarwal wrote: Thanks Ahmet for your response and nice suggestion. But, I was looking if there any

Re: Blank/Null value search in term filter

2016-09-05 Thread Alexandre Rafalovitch
If you only have 3 values, can you do negative queries on the ones you want to skip? Regards, Alex On 5 Sep 2016 6:33 PM, "Kamal Kishore Aggarwal" wrote: > Thanks Ahmet for your response and nice suggestion. > > But, I was looking if there any way out without making

Re: Blank/Null value search in term filter

2016-09-05 Thread Kamal Kishore Aggarwal
Thanks Ahmet for your response and nice suggestion. But, I was looking if there any way out without making any configuration change. Please suggest. On 02-Sep-2016 9:37 PM, "Ahmet Arslan" wrote: > > > Hi Kishore, > > You can employ an impossible token value (say XX) for

Re: Re: Tagging and excluding Filters with BlockJoin Queries and BlockJoin Faceting

2016-09-05 Thread Mikhail Khludnev
Hello, I played with example in Yonik's blog q=comment_t:*={!tag=author}author_s:yonik=json=on=0={ authorz:{ type:terms, field:author_s, domain: { excludeTags:"author"}, facet: { inbooks: "unique(_root_)" } }, starz:{ type:terms,

Re: Function query. Not in range

2016-09-05 Thread EbSolutions EbSolutions
Hi Emir, Working fine. Thanks. Regards, NKI. 2016-09-05 10:39 GMT+02:00 Emir Arnautovic : > Hi NKI, > > You'll have to negate range or negate - in case you expect only positive > values than it would be {!frange l=100} and if you want to include negative >

Re: Use function in condition

2016-09-05 Thread nabil Kouici
Hi Alexandre, Yes you are right. I miss q parameter. It's giving the same result now. Thank you for your help. Regards,Nabil. De : Alexandre Rafalovitch À : solr-user Envoyé le : Lundi 5 septembre 2016 11h11 Objet : Re: Use function in

Re: Use function in condition

2016-09-05 Thread Alexandre Rafalovitch
I don't see any 'q' in the second query. Can you add q=*:* and see what happens. Regards, Alex. Newsletter and resources for Solr beginners and intermediates: http://www.solr-start.com/ On 5 September 2016 at 15:57, nabil Kouici wrote: > Hi Emir, > In the

Re: Use function in condition

2016-09-05 Thread nabil Kouici
Hi Emir, In the first query I'm getting 2 documents (correct)  http://localhost:8983/solr/COL1/select?fq=F3:Active=on={!frange%20l=1}or(query($q1),query($q2))=F1:0732695731=F2:1040167165=0=json In the second document I've 0 document as result

Re: Solr document missing or not getting indexed though we get 200 ok status from server

2016-09-05 Thread Alexandre Rafalovitch
On 5 September 2016 at 11:02, Ganesh M wrote: > My big question is why is that SOLR can't throw the error when it's not > able to handle the request due to concurrency or for other reason. Solr SHOULD throw an error if there is an issue. The problem is that the

Re: Use function in condition

2016-09-05 Thread Emir Arnautovic
Hi Nabil, Can you please share exact queries that are executed and results. Thanks, Emir On 05.09.2016 10:43, nabil Kouici wrote: Hi Emir, Yes I confirm, it's working. But if I put the same condition in fq the result is different (result is correct when I put condition in q). Thank you.

Re: Solr document missing or not getting indexed though we get 200 ok status from server

2016-09-05 Thread Ganesh M
Hi Alex, We have captured all traffic of HTTP POST request going out from app server to SOLR request. Only once that particular document with that id ( in our case it's rowkey ) is going out to SOLR. Also in the SOLR side, we have enabled localhost_access logs and we could see only once that

Re: Use function in condition

2016-09-05 Thread nabil Kouici
Hi Emir, Yes I confirm, it's working. But if I put the same condition in fq the result is different (result is correct when I put condition in q). Thank you. Regards,Nabil.  De : Emir Arnautovic À : solr-user@lucene.apache.org Envoyé le : Lundi 5 septembre

Re: Solr document missing or not getting indexed though we get 200 ok status from server

2016-09-05 Thread Ganesh M
Hi Dheerendra, This doesn't always happens. When we add single document, no issue on that. It get's added. But when add in parallel with 50 threads concurrently, out of 2000 documents 10 documents are getting missed ( not getting indexed ). When this is happening, we also tried to do hard commit

Re: Function query. Not in range

2016-09-05 Thread Emir Arnautovic
Hi NKI, You'll have to negate range or negate - in case you expect only positive values than it would be {!frange l=100} and if you want to include negative results, you will have to use {!frange l=1}or(query($q1),query($q2))={!frange u=0}sum(Field1, Ffield2)={!frange l=100}sum(Field1,

Re: Use function in condition

2016-09-05 Thread Emir Arnautovic
Hi Nabil, It should work. I've just tested on gettingstarted collection (sample that comes with Solr) and this query returns expected results. Here is what test query looks like: http://localhost:8983/solr/gettingstarted/select?q=*:*={!frange l=1}or(query($q1),query($q2))=id:adata=id:apple

Re: Use function in condition

2016-09-05 Thread nabil Kouici
Hi All, Any feedback please. Regards,Nabil. De : nabil Kouici À : "solr-user@lucene.apache.org" Envoyé le : Vendredi 2 septembre 2016 13h45 Objet : Re: Use function in condition Hi Emir, Thank you for your response. Yes your