Update to Solr 6 - Amazon EC2 high CPU SYS usage

2017-04-27 Thread Elodie Sannier
Hello, We have migrated from Solr 5.4.1 to Solr 6.4.0 on Amazon EC2 and we have a high CPU SYS usage and it drastically decreases the Solr performance. The JVM version (java-1.8.0-openjdk-1.8.0.131-0.b11.el6_9.x86_64), the Jetty version (9.3.14) and the OS version (CentOS 6.9) have not changed w

Re: SolrIndexSearcher accumulation

2017-04-19 Thread Elodie Sannier
t 12:35 PM, Elodie Sannier wrote: Hello, We have found how to fix the problem. When we update the original SolrQueryResponse object, we need to create a new BasicResultContext object with the extra response. Simplified code : public class CustomSearchHandler extends SearchHandler { p

Re: SolrIndexSearcher accumulation

2017-04-19 Thread Elodie Sannier
Hello, We have found how to fix the problem. When we update the original SolrQueryResponse object, we need to create a new BasicResultContext object with the extra response. Simplified code : public class CustomSearchHandler extends SearchHandler { public void handleRequestBody(SolrQueryReques

Re: [Migration Solr5 to Solr6] Unwanted deleted files references

2017-03-20 Thread Elodie Sannier
y wrote: On 3/14/2017 10:23 AM, Elodie Sannier wrote: The request close() method decrements the reference count on the searcher. From what I could tell, that method decrements the reference counter, but does not actually close the searcher object. I cannot tell you what the correct procedure is

Re: [Migration Solr5 to Solr6] Unwanted deleted files references

2017-03-14 Thread Elodie Sannier
The request close() method decrements the reference count on the searcher. public abstract class SolrQueryRequestBase implements SolrQueryRequest, Closeable { // The index searcher associated with this request protected RefCounted searcherHolder; public void close() { if(this.searcher

Re: [Migration Solr5 to Solr6] Unwanted deleted files references

2017-03-07 Thread Elodie Sannier
manifest the problem but other code wouldn't is a mystery, just another sanity check. Best, Erick On Tue, Mar 7, 2017 at 6:44 AM, Elodie Sannier wrote: Hello, We have migrated from Solr 5.4.1 to Solr 6.4.0 and the disk usage has increased. We found hundreds of references to deleted index

Re: [Migration Solr5 to Solr6] Unwanted deleted files references

2017-03-07 Thread Elodie Sannier
nywhere in this chain? If so, do you open any searchers but fail to close them? Although why 6.4 would manifest the problem but other code wouldn't is a mystery, just another sanity check. Best, Erick On Tue, Mar 7, 2017 at 6:44 AM, Elodie Sannier wrote: Hello, We have migrated from Sol

[Migration Solr5 to Solr6] Unwanted deleted files references

2017-03-07 Thread Elodie Sannier
Hello, We have migrated from Solr 5.4.1 to Solr 6.4.0 and the disk usage has increased. We found hundreds of references to deleted index files being held by solr. Before the migration, we had 15-30% of disk space used, after the migration we have 60-90% of disk space used. We are using Solr Clo

Update to solr 5 - custom coordination factor implementation issue

2016-02-02 Thread Elodie Sannier
use our implementation, we extend ExtendedSolrQueryParser with a custom class and we override the methods newBooleanClause and getBooleanQuery How can we do this with solr 5.4.1 ? Elodie Sannier Kelkoo SAS Société par Actions Simplifiée Au capital de € 4.168.964,30 Siège social : 158 Ter Rue du

Update to solr 5 - custom phrase query implementation issue

2016-02-02 Thread Elodie Sannier
ExtendedSolrQueryParser with a custom class and we override the method newPhraseQuery but with solr 5 this method does not exist anymore How can we do this with solr 5.4.1 ? Elodie Sannier Kelkoo SAS Société par Actions Simplifiée Siège social : 8, rue du Sentier 75002 Paris 425 093 069 RCS Paris

Update to solr 5 - custom coordination factor implementation issue

2016-02-02 Thread Elodie Sannier
use our implementation, we extend ExtendedSolrQueryParser with a custom class and we override the methods newBooleanClause and getBooleanQuery How can we do this with solr 5.4.1 ? Elodie Sannier Kelkoo SAS Société par Actions Simplifiée Au capital de € 4.168.964,30 Siège social : 8, rue du

SolrCloud - ResultContext versus SolrDocumentList in distributed mode

2014-02-10 Thread Elodie Sannier
, the response of the first sub-query can be an instance of SolrDocumentList and the second sub-query an instance of ResultContext ? Elodie Sannier Kelkoo SAS Société par Actions Simplifiée Au capital de € 4.168.964,30 Siège social : 8, rue du Sentier 75002 Paris 425 093 069 RCS Paris Ce message et

Re: Possible regression for Solr 4.6.0 - commitWithin does not work with replicas

2014-01-29 Thread Elodie Sannier
I have this configuration for test servers (the order of the instance start leads to this conf.) not for production. Elodie On 01/23/2014 04:35 PM, Shawn Heisey wrote: On 12/11/2013 2:41 AM, Elodie Sannier wrote: collection fr_blue: - shard1 -> server-01 (replica1), server-01 (repli

Possible regression for Solr 4.6.0 - commitWithin does not work with replicas

2013-12-11 Thread Elodie Sannier
commitWithin feature for distributed mode ? This problem does not occur with the version 4.5.1. Elodie Sannier Kelkoo SAS Société par Actions Simplifiée Au capital de € 4.168.964,30 Siège social : 8, rue du Sentier 75002 Paris 425 093 069 RCS Paris Ce message et les pièces jointes sont confidentiels

SolrCloud 4.6.0 - leader election issue

2013-12-09 Thread Elodie Sannier
h a delay between them (about 15 seconds). - or if I configure only one collection - or if I have only one replica by shard Elodie Sannier -- Kelkoo *Elodie Sannier *Software engineer *E*elodie.sann...@kelkoo.fr <mailto:elodie.sann...@kelkoo.fr> *Y!Messenger* kelkooelodies *T* +33 (0)4 56 09 07 55 *M* *A* 4/6 Rue des Méridiens 38130 Echirolles

Re: Unexpected value for boolean field in FunctionQuery

2013-09-10 Thread Elodie Sannier
By the way Yonik which version do you use (4.4.0 or nightly) ? Elodie On 09/10/2013 04:06 PM, Elodie Sannier wrote: I didn't forget to commit my changes. I used commands: java -Durl=http://localhost:8983/solr/collection1/update -jar post.jar ipod_video.xml curl 'http://localhost

Re: Unexpected value for boolean field in FunctionQuery

2013-09-10 Thread Elodie Sannier
http://lucidworks.com On Tue, Sep 10, 2013 at 9:25 AM, Elodie Sannier wrote: Hello, I am using the solr version 4.4.0, when I'm using FunctionQuery with boolean fields, it seems that the default field value is "true" for documents without a value in the field. The page http://w

Unexpected value for boolean field in FunctionQuery

2013-09-10 Thread Elodie Sannier
true 10.0 = (MATCH) FunctionQuery(if(bool(inStock),const(10),const(0))), product of: 10.0 = if(bool(inStock)=true,const(10),const(0)) 1.0 = boost 1.0 = queryNorm Is that expected ? Elodie Sannier Kelkoo SAS Société par Actions Simplifiée Au capital de € 4.168.964,30 Siège social : 8, rue

Re: SolrCloud: no "timing" when no result in distributed mode

2013-08-27 Thread Elodie Sannier
Hello, I'm using the 4.4.0 version but I still have the problem. Should I create a JIRA issue for it ? Elodie On 06/21/2013 02:54 PM, Elodie Sannier wrote: Hello, I am using SolrCloud 4.2.1 with two shards, with the "debugQuery=true" parameter, when a query does not return

Re: XInclude and Document Entity not working on schema.xml

2013-07-24 Thread Elodie Sannier
I'm using java-1.7.0-openjdk-1.7.0.3-2.1.el6.1.x86_64 and tomcat6-6.0.24-48.el6_3.noarch. I tested with the 4.4 solr version but I still have the bug. Elodie Kelkoo SAS Société par Actions Simplifiée Au capital de € 4.168.964,30 Siège social : 8, rue du Sentier 75002 Paris 425 093 069 RCS Paris

Re: XInclude and Document Entity not working on schema.xml

2013-07-23 Thread Elodie Sannier
here https://builds.apache.org/job/Solr-Artifacts-4.x/lastSuccessfulBuild/artifact/solr/package/ (the 18th of july). Elodie Sannier Kelkoo SAS Société par Actions Simplifiée Au capital de € 4.168.964,30 Siège social : 8, rue du Sentier 75002 Paris 425 093 069 RCS Paris Ce message et les pièce

XInclude and Document Entity not working on schema.xml

2013-07-18 Thread Elodie Sannier
eate(CoreContainer.java:622) ... 10 more The type is not found. I include 'schema_integration.xml' like this in 'schema.xml' : http://www.w3.org/2001/XInclude"/> Is it a bug of the nightly version ? Elodie Sannier Kelkoo SAS Société par Actions Simplifié

Re: SolrCloud: no "timing" when no result in distributed mode

2013-06-21 Thread Elodie Sannier
4.3.1 is available. -Original Message- From: Elodie Sannier [mailto:elodie.sann...@kelkoo.fr] Sent: Friday, June 21, 2013 8:54 AM To: solr-user@lucene.apache.org >> "solr-user@lucene.apache.org" Subject: SolrCloud: no "timing" when no result in distributed mode Hel

SolrCloud: 500 error with combination of debug and group in distributed search

2013-06-21 Thread Elodie Sannier
on't have the error. Is it a bug of the distributed mode with the combination of debug and group ? Elodie Sannier -- Kelkoo *Elodie Sannier *Software engineer *E*elodie.sann...@kelkoo.fr <mailto:elodie.sann...@kelkoo.fr> *Y!Messenger* kelkooelodies *T* +33 (0)4 56 09 07 55 *M* *

SolrCloud: no "timing" when no result in distributed mode

2013-06-21 Thread Elodie Sannier
'.*' If i use the "distrib=false" parameter, the "timing" debug information is returned: curl -sS "http://localhost:8983/solr/select?q=dummy&debugQuery=true&distrib=false"; | grep -o '.*' 1.00.00.00.00.00.00.00.01.00.00.00.00.00.01.

Re: FieldCache insanity with field used as facet and group

2013-06-03 Thread Elodie Sannier
.search.FieldCacheImpl$IntsFromArray#16648315\n\t'SegmentCoreReader(owner=_f(4.2.1):C9)'=>'popularity',int,null=>org.apache.lucene.search.FieldCacheImpl$IntsFromArray#16648315\n\t'SegmentCoreReader(owner=_f(4.2.1):C9)'=>'popularity',class org.apache.lucene.index.SortedDoc

Re: FieldCache insanity with field used as facet and group

2013-05-28 Thread Elodie Sannier
: How can I fix it ? the impact is just that more ram is being used them is probably strictly neccessary. unless there is something unusual in your fieldType delcataion, i don't think there is an easy fix you can apply -- we need to fix the underlying code. -Hoss -- Kelkoo *Elodie

FieldCache insanity with field used as facet and group

2013-04-25 Thread Elodie Sannier
x27;t have the insane instance but I'm not sure it is the good fix. This insanity can have performance impact ? How can I fix it ? Elodie Sannier Kelkoo SAS Société par Actions Simplifiée Au capital de € 4.168.964,30 Siège social : 8, rue du Sentier 75002 Paris 425 093 069 RCS Paris Ce me

SolrCloud: Result Grouping - no groups with field type with precisionStep > 0

2013-04-09 Thread Elodie Sannier
g the "int" type with precisionStep="0", the distributed request works : The precisionStep > 0 can be useful for range queries but is it normal that it is not compatible with grouping queries, in distributed mode only ? Elodie Sannier Kelkoo SAS Société par Actions Simpl

Solrj 4.2 - CloudSolrServer aliases are not loaded

2013-04-02 Thread Elodie Sannier
rver = new CloudSolrServer("localhost:2181"); solrServer.setDefaultCollection("aliasedCollection"); solrServer.connect(); solrServer.getZkStateReader().updateAliases(); Is there a better way to use collection aliases with solrj ? Elodie Sannier Kelkoo SAS Société par Actions Simplifié