Closed GoogleCodeExporter closed 9 years ago
BTW, if you guys need my indexer source code, see the attached :
Original comment by shrinath...@gtempaccount.com
on 28 Feb 2011 at 1:42
Attachments:
When a solr index is committed, it forces all active searchers to be reopened
so that they can see the changes. When a new search opens, there is a warming
period (unless you turn it off in your solrconfig.xml) where it executes the
warming query to get it's caches primed. I believe the default settings
distributed with solr don't allow a warming searcher to be used for queries, so
you're seeing it try to get a pre-warmed searcher but failing. There is a
setting that allows a warming searcher to be used (<useColdSearcher> element in
example config - you could try using that. There are also settings to warm
the first search different than the rest (e.g. don't run a warming query or run
one that is faster).
See
http://wiki.apache.org/solr/SolrConfigXml#A.22Query.22_Related_Event_Listeners
and the comments in the example solrconfig.xml
Its also suggested to split read and writes across a master / slave setup. See
http://wiki.apache.org/solr/SolrReplication
for other performance considerations see
http://wiki.apache.org/solr/SolrPerformanceFactors
Since this issue seems more about Solr internals than the PHP client, I'd
suggest consulting their user or developer mailing lists:
http://lucene.apache.org/solr/mailing_lists.html
If you need help specifically with php solr client than try using our user
mailing list: http://groups.google.com/group/php-solr-client . And try to
reserve the issue list for true bug reports or feature requests. Thanks! Hope I
was of help.
Original comment by donovan....@gmail.com
on 28 Feb 2011 at 4:00
Original issue reported on code.google.com by
shrinath...@gtempaccount.com
on 28 Feb 2011 at 1:37