Re: Schema API: Modify Unique Key

2017-03-28 Thread nabil Kouici
as unique key (uniqueness is OK) and do this kind of update. Regards,Nabil.  De : Shawn Heisey <apa...@elyograg.org> À : solr-user@lucene.apache.org Envoyé le : Lundi 27 mars 2017 17h00 Objet : Re: Schema API: Modify Unique Key On 3/27/2017 7:05 AM, nabil Kouici wrote: > We

Schema API: Modify Unique Key

2017-03-27 Thread nabil Kouici
Hi All, We're going to use Solr in our organization (under test) and we want to set the primary key through schema API, which is not allowed today. Is this function planned to be implemented in Solr? If yes, do you have any idea in which version? Regards,Nabil.   

Re: Joining Across Collections

2017-01-31 Thread nabil Kouici
JOIN Collection2 B on  A.id=B.idWhere  B.Id is NULL; Regards,NKI. De : nabil Kouici <koui...@yahoo.fr.INVALID> À : "solr-user@lucene.apache.org" <solr-user@lucene.apache.org> Envoyé le : Vendredi 20 janvier 2017 14h42 Objet : Re: Joining Across Collections Hi Mikh

Re: Joining Across Collections

2017-01-20 Thread nabil Kouici
Hi Mikhail, I'm not we can do a negation because Field1 and Field2 are not in the join condition. Regards,Nabil. De : Mikhail Khludnev <m...@apache.org> À : solr-user <solr-user@lucene.apache.org>; nabil Kouici <koui...@yahoo.fr> Envoyé le : Jeudi 19 janvier 201

Joining Across Collections

2017-01-18 Thread nabil Kouici
Hi All, I'm using  join across collection feature to do an inner join between 2 collections. It works fine. Is it possible to use this feature to compare between fields from different collections. For exemple: Collection1 Field1Collection2 Field2 search document from Collection1 where Field1 !=

Facet date Range without start and and date

2017-01-09 Thread nabil Kouici
Hi All, Is it possible to have facet date range without specifying start and and of the range. Otherwise, is it possible to put in the same request start to min value and end to max value. Thank you. Regards,NKI.

Re: Use function in condition

2016-09-05 Thread nabil Kouici
Use function in condition 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 <koui...@yahoo.fr.invalid>

Re: Use function in condition

2016-09-05 Thread nabil Kouici
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. > Regards

Re: Use function in condition

2016-09-05 Thread nabil Kouici
lect?q=*:*={!frange l=1}or(query($q1),query($q2))=id:adata=id:apple Can you please doublecheck if your query part returns any results. Regards, Emir On 05.09.2016 09:54, nabil Kouici wrote: > Hi All, > Any feedback please. > Regards,Nabil. > >        De : nabil Kouici <koui...@yahoo.fr.IN

Re: Use function in condition

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

Re: Use function in condition

2016-09-02 Thread nabil Kouici
($sub3)))={!frange l=1000}sum(F1,F2)={!frange u=2000}sum(F3,F4)={!frange l=3000}sum(F5,F6) Thanks, Emir On 29.08.2016 11:50, nabil Kouici wrote: > Hi solr users, > I'm still not able to find a solution either with function query :( > My need is simple, I'd like to execute these combined f

Re: Use function in condition

2016-08-29 Thread nabil Kouici
gt, lt, eq. Hope this gives you ideas how to proceed. Emir On 25.08.2016 12:06, nabil Kouici wrote: > Hi Emir,Thank you for your replay. I've tested the function range query and > this is solving 50% my need. The problem is I'm not able to use it with other > conditions. For exemple:

Re: Use function in condition

2016-08-25 Thread nabil Kouici
, Emir On 17.08.2016 16:26, nabil Kouici wrote: > Hi, > Is it possible to use functions (function query > https://cwiki.apache.org/confluence/display/solr/Function+Queries) in q or fq > parameters to build a complex search expression. > For exemple, take only documents that sum(field1,

Use function in condition

2016-08-17 Thread nabil Kouici
Hi, Is it possible to use functions (function query https://cwiki.apache.org/confluence/display/solr/Function+Queries) in q or fq parameters to build a complex search expression.  For exemple, take only documents that sum(field1,field2)> 100. Another exemple:  if(test,value1,value2):vallue3

DIH parallel processing

2015-10-15 Thread nabil Kouici
Hi All, I'm using DIH to index more than 15M from Sql Server to Solr. This take more than 2 hours. Big amount of this time is consumed by data fetching from database. I'm thinking about a solution to have parallel (thread) loud in the same DIH. Each thread load a part of data. Do you have any

Re: Missing value with Date Range

2014-11-26 Thread nabil Kouici
Any idea about this issue? Regards,Nabil De : nabil Kouici koui...@yahoo.fr À : solr-user@lucene.apache.org solr-user@lucene.apache.org Envoyé le : Lundi 24 novembre 2014 15h40 Objet : Missing value with Date Range   Hi All, I'm trying to get missing count with Date Range adding

Missing value with Date Range

2014-11-24 Thread nabil Kouici
Hi All, I'm trying to get missing count with Date Range adding facet.missing=true as parameter but this not work (which work with facet). Do you have idea how to get missing count with date range or numeric range. Regards,Nabil.

Using Zookeeper with REST URL

2014-11-19 Thread nabil Kouici
Hi All, I'm connecting to solr using REST API (No library like SolJ). As my solr configuration is in cloud using Zookeeper ensemble, I don't know how to get available Solr server from ZooKeeper to be used in my URL Call. With SolrJ I can do: String zkHostString = 10.0.1.8:2181;

Define default Shard in implicit collection

2014-10-28 Thread nabil Kouici
Hi All, I have a collection with implicit router. When I try to load document where router doesn't exist I got error:org.apache.solr.common.SolrException: No shard called =2015 in DocCollection(COL)={ Is it possible to define a default shard where document will be loaded if router doesn't

SolrJ: Force SolrServer to send request to specific node

2014-10-24 Thread nabil Kouici
Hi All,When using SolrServer we specify only Zookeeper ensemble and this last will give us reference to solr node to be used. Is it possible to force  SolrServer to use a specific node? Regards,Nabil. 

Analytics component

2014-10-23 Thread nabil Kouici
Hi All, I'm trying to use Solr to do some analytic function (percentile, median...). I got Trunck branch from Solr which contain the analytics component implementation. I've rebuild solr but unfortunately this component wasn't taken into consideration and no lib generated in

Re: Analytics component

2014-10-23 Thread nabil Kouici
trying to use are precent in facets. - Original Message - From: nabil Kouici koui...@yahoo.fr To: solr-user@lucene.apache.org Sent: Thursday, October 23, 2014 5:57:27 AM Subject: Analytics component Hi All, I'm trying to use Solr to do some analytic function (percentile, median...). I

CoreAdminRequest in SolrCloud

2014-10-20 Thread nabil Kouici
Hi, I'm trying to get all shards statistics in cloud configuration. I'v used CoreAdminRequest but the problem is I get statistics for only shards (or core) in one node (I've 2 nodes): String zkHostString = 10.0.1.4:2181; CloudSolrServer solrServer= new CloudSolrServer(zkHostString);

Re: CoreAdminRequest in SolrCloud

2014-10-20 Thread nabil Kouici
for comparison. Cheers, --Jürgen On 20.10.2014 11:41, nabil Kouici wrote: Hi, I'm trying to get all shards statistics in cloud configuration. I'v used CoreAdminRequest but the problem is I get statistics for only shards (or core) in one node (I've 2 nodes): String zkHostString = 10.0.1.4:2181

Re: CoreAdminRequest in SolrCloud

2014-10-20 Thread nabil Kouici
CloudSolrServer.getZkStateReader(): http://lucene.apache.org/solr/4_10_1/solr-solrj/org/apache/solr/client/solrj/impl/CloudSolrServer.html Best regards, --Jürgen On 20.10.2014 15:16, nabil Kouici wrote: Hi Jürgen, As you can see, I'm not using direct connection to node. It's a CloudServer. Do you have

Re: Shard not accessible after restarting

2014-10-13 Thread nabil Kouici
? Regards, Nabil. Le Dimanche 12 octobre 2014 22h03, Shawn Heisey apa...@elyograg.org a écrit : On 10/12/2014 12:46 PM, nabil Kouici wrote: I'm evaluating solr performance. I've created implicit collection with 2 shards in different server. first shard contains 100 million documents

Re: Shard not accessible after restarting

2014-10-13 Thread nabil Kouici
Thank you for this replay. I don't understand why solr load my shard in physical memory before becoming available. Is it related to LRU cache management? Regards,Nabil. Le Lundi 13 octobre 2014 16h20, Shawn Heisey apa...@elyograg.org a écrit : On 10/13/2014 1:15 AM, nabil Kouici

Shard not accessible after restarting

2014-10-12 Thread nabil Kouici
Hi All, I'm evaluating solr performance. I've created implicit collection with 2 shards in different server. first shard contains 100 million documents (30GB), second contain one million document.When I restart the second solr instance, shard become immediately available. However, when I

Multiple shards in the same Solr instance server

2014-10-10 Thread nabil Kouici
Hi All, in Solr, is it possible to create for the same index multiple shards in the same Solr instance (or server)? Regards, Nabil.

Re: Multiple shards in the same Solr instance server

2014-10-10 Thread nabil Kouici
-multiple-shards-on-the-same-solr-node/ Regards, Aurélien On 10.10.2014 11:48, nabil Kouici wrote: Hi All, in Solr, is it possible to create for the same index multiple shards in the same Solr instance (or server)? Regards, Nabil. On 10.10.2014 11:48, nabil Kouici wrote: Hi All, in Solr

Data Import Handler for CSV file

2014-10-09 Thread nabil Kouici
Hi All, Is it possible to have in solr a DIH to load from CSV file. Actually I'm using update/csv handler but not responding to my need. Regards, NKI.

Re: Data Import Handler for CSV file

2014-10-09 Thread nabil Kouici
. Le Jeudi 9 octobre 2014 21h05, Ahmet Arslan iori...@yahoo.com.INVALID a écrit : Hi Nabil, whats wrong with csv update handler? It is quite fast. By the way DIH has line entity processor, yes it is doable with existing DIH components. Ahmet On Thursday, October 9, 2014 9:58 PM, nabil