Custom DelegatingCollector : collect sorted docs by score

2017-03-06 Thread Jamel ESSOUSSI
Hi , I developped a custom DelegatingCollector in which I should receive the documents (in collect method) sorted by score. I used SolR 5.5.3. In the older version of SolR, there was a method called acceptsDocsOutOfOrder() . Best Regards --Jamel -- View this message in context:

solr4 : disable updateLog

2013-04-18 Thread Jamel ESSOUSSI
Hi, If I disable (comment) the updateLog bloc, this will affect indexing result: -- View this message in context: http://lucene.472066.n3.nabble.com/solr4-disable-updateLog-tp4056998.html Sent from the Solr - User mailing list archive at Nabble.com.

Can I start solr with replication activated but disabled between master and slave

2013-01-30 Thread Jamel ESSOUSSI
Hello, I would like to start solr with the following configuration; Replication between master and slave activated but not enabled. Regards -- View this message in context:

select one document with a given value for an attribute in a single page

2012-10-29 Thread Jamel ESSOUSSI
I have the Hi all, I have the following schema offer: - offer_id - offer_title - offer_description - related_shop_id - related shop_name - offer_price Each offer is related to a shop. In one shop, we have many offers I would like show in one page (26 offers) only one offer from a shop. I need

New SearchRaquestHandler (distinct field value in successive results)

2012-09-04 Thread Jamel ESSOUSSI
Hi, I have the following schema field1 = shop_name field2 = offer_id field3 = offer_title field4 = offer_price In the search result, I would not have tow successive results that have the same shop_name. I should develop a new SearchRequestHandler ? Thanks for your help -- View this

Re: New SearchRaquestHandler (distinct field value in successive results)

2012-09-04 Thread Jamel ESSOUSSI
I have tested this (grouping), but the problem is : The grouping does not give me the one by one result -- View this message in context: http://lucene.472066.n3.nabble.com/New-SearchRaquestHandler-distinct-field-value-in-successive-results-tp4005253p4005256.html Sent from the Solr - User

flush (delete all document) solr 4 Beta

2012-08-27 Thread Jamel ESSOUSSI
Hi, I should flush solr (delete all existing documents) -- for doing this, I have the following code: HttpSolrServer server = HttpSolrServer(url); server.setSoTimeout(1000); server.setConnectionTimeout(100); server.setDefaultMaxConnectionsPerHost(100); server.setMaxTotalConnections(100);

Re: flush (delete all document) solr 4 Beta

2012-08-27 Thread Jamel ESSOUSSI
Hi, Thanks for your reply but It does not work. It's weird, because with the solr 3.6 and 3.6.1 It's work . Best regards -- View this message in context: http://lucene.472066.n3.nabble.com/flush-delete-all-document-solr-4-Beta-tp4003434p4003444.html Sent from the Solr - User mailing list

Re: flush (delete all document) solr 4 Beta

2012-08-27 Thread Jamel ESSOUSSI
View https://issues.apache.org/jira/browse/SOLR-3761 SOLR-3761 Regards -- View this message in context: http://lucene.472066.n3.nabble.com/flush-delete-all-document-solr-4-Beta-tp4003434p4003452.html Sent from the Solr - User mailing list archive at Nabble.com.

Start solr master and solr slave with enable replication = false

2012-07-18 Thread Jamel ESSOUSSI
Hi, It's possible to start the solr master and slave with the following configuration - replication on master disabled when we start solr -- the replication feature must be available - polling on slave disabled -- the replication feature must be available -- Best Regards -- Jamel -- View

Re: Changing Index directory?

2012-06-12 Thread jamel essoussi
but it's not a problem. Where can I find the Index Directory Path variable? Thanks a lot, Bruno sorry Solrconfig.xml ... -- Best Regards -- Jamel ESSOUSSI

Re: difference between Katta and SolrCloud (replicator factor)

2012-05-31 Thread Jamel ESSOUSSI
Hi, responses please -- Jamel E -- View this message in context: http://lucene.472066.n3.nabble.com/difference-between-Katta-and-SolrCloud-replicator-factor-tp3986791p3986998.html Sent from the Solr - User mailing list archive at Nabble.com.

difference between Katta and SolrCloud (replicator factor)

2012-05-30 Thread Jamel ESSOUSSI
Hi, I would like to know the difference between Katta and SolrCloud in the distributed context ? And can we specify in SolrCloud the minimum number of copies of a document maintained by the cluster (replicator factor). Best Regards -- Jamel ESSOUSSI -- View this message in context: http

Uncatchable Exception on solrj3.6.0

2012-05-22 Thread Jamel ESSOUSSI
Hi, I use solr-solrj 3.6.0 and solr-core 3.6.0: I have reimplemented the handleError of the ConcurrentUpdateSolrServer class: final ConcurrentUpdateSolrServer newSolrServer = new ConcurrentUpdateSolrServer(url, client, 100, 10){ @Override public void handleError(Throwable ex) {

solrj with incorrect schema

2012-05-18 Thread Jamel ESSOUSSI
– Jamel ESSOUSSI -- View this message in context: http://lucene.472066.n3.nabble.com/solrj-with-incorrect-schema-tp3984615.html Sent from the Solr - User mailing list archive at Nabble.com.

How detect slave replication termination

2012-05-11 Thread Jamel ESSOUSSI
Regards --Jamel ESSOUSSI -- View this message in context: http://lucene.472066.n3.nabble.com/How-detect-slave-replication-termination-tp3979991.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: How do create dynamic core using SOLRJ

2012-04-27 Thread Jamel ESSOUSSI
Hi, You can use a simple httpurlrequest to create a new core for each customer as following : http://localhost:8983/solr/admin/cores?action=CREATEname=coreXinstanceDir=path_to_instance_directoryconfig=config_file_name.xmlschema=schem_file_name.xmldataDir=data Regards Jamel ESSOUSSI -- View

Master config

2012-04-27 Thread Jamel ESSOUSSI
Hi, I use two Solr slaves and one Solr master, it's a good idea to disable all the the caches in the master ? Best Regards -- Jamel ESSOUSSI -- View this message in context: http://lucene.472066.n3.nabble.com/Master-config-tp3943648p3943648.html Sent from the Solr - User mailing list archive

Re: How do create dynamic core using SOLRJ

2012-04-27 Thread Jamel ESSOUSSI
try with: CoreAdminRequest.Create e = new CoreAdminRequest().createCore(name, instanceDir, server); Regards --Jamel -- View this message in context: http://lucene.472066.n3.nabble.com/How-do-create-dynamic-core-using-SOLRJ-tp3943530p3944163.html Sent from the Solr - User mailing list archive

Re: How do create dynamic core using SOLRJ

2012-04-27 Thread Jamel ESSOUSSI
You can also use CoreAdminRequest.Create e = new CoreAdminRequest().createCore(name, instanceDir, server, configFile, schemaFile); -- View this message in context: http://lucene.472066.n3.nabble.com/How-do-create-dynamic-core-using-SOLRJ-tp3943530p3944166.html Sent from the Solr - User mailing

Re: How do create dynamic core using SOLRJ

2012-04-27 Thread Jamel ESSOUSSI
you should replace the CoreAdminRequest by CoreAdminResponse -- CoreAdminResponse e = new CoreAdminRequest().createCore(name, instanceDir, newSolrServer); -- View this message in context: http://lucene.472066.n3.nabble.com/How-do-create-dynamic-core-using-SOLRJ-tp3943530p3944180.html Sent from

Re: Solr Tomcat Install

2012-03-29 Thread Jamel ESSOUSSI
Hi, You should disable velocity by adding -Dsolr.velocity.enabled=false to JAVA_OPTS --Jamel -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Tomcat-Install-tp3865290p3866947.html Sent from the Solr - User mailing list archive at Nabble.com.