Solr 4 memory usage increase

2013-05-16 Thread Wei Zhao
We are migrating from Solr 3.5 to Solr 4.2. After some performance testing, we found 4.2's memory usage is a lot higher than 3.5. Our 12GM max heap process used to handle the test pretty well with 3.5. while, with 4.2, the same test runs into serious GC half way (20 minutes) into the test. Anyone

Re: Solr 4 memory usage increase

2013-05-16 Thread Wei Zhao
No, exactly the same JVM of Java6 -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-memory-usage-increase-tp4064066p4064108.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr 4 memory usage increase

2013-05-17 Thread Wei Zhao
Here is the JVM info: $ java -version java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode) -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-memory-usage-increase-tp4064066p4064271.h

Re: Solr 4 memory usage increase

2013-05-17 Thread Wei Zhao
We have master/slave setup. We disabled autocommits/autosoftcommits. So the slave only replicates from master and serve query. Master does all the indexing and commit every 5 minutes. Slave polls master every 2.5 minutes and does replication. Both tests with Solr 3.5 and 4.2 was run with the same

4.10 default ranking scorer, BM25 or classic? How to change that?

2018-08-16 Thread Wei Zhao
Hi, Does anyone know what the default scorer for 4.10 is? BM25 or classic tf-idf? I have been trying to change that, in cloud mode. I have managed to change the schema.xml in the zookeeper to add the following lines: The commented line was also tried. So I have tried different syntax, usin

Why queryNorm is negative?

2018-08-24 Thread Wei Zhao
I got the debug info like this. It turns out that queryNorm is negative so the total solr score is negative too. It is not really a problem for me. But I'm curious why it can even be negative after reading its definition (1/sumOfSquaredWeights)? -1.1151254E-4 = (MATCH) product of: -0.0032338637