I'm having slow performance with my solr index. I'm not sure what to do. I
need some suggestions on what to try. I have updated all my records in the
last couple of days. I'm not sure how much it degraded because of that, but
it now takes about 3 seconds per search. My cache statistics don't look so
good either.
Also... I'm not sure I was supposed to do a couple of things.
- I did an optimize index through Luke with compound format and noticed
in the solrconfig file that useCompoundFile is set to false.
- I changed one of the fields in the schema from text_ws to string
- I added a field (type="text" indexed="false" stored="true")
My schema and solrconfig are the same as the example except I have a few
more fields. My pc is winXP and has 2gig of ram. Below are some stats from
the solr admin stat page.
Thanks!
caching : true
numDocs : 1185814
maxDoc : 2070472
readerImpl : MultiReader
name: filterCache
class: org.apache.solr.search.LRUCache
version: 1.0
description: LRU Cache(maxSize=512, initialSize=512,
autowarmCount=256,
[EMAIL PROTECTED])
stats: lookups : 658446
hits : 30
hitratio : 0.00
inserts : 658420
evictions : 657908
size : 512
cumulative_lookups : 658446
cumulative_hits : 30
cumulative_hitratio : 0.00
cumulative_inserts : 658420
cumulative_evictions : 657908
name: queryResultCache
class: org.apache.solr.search.LRUCache
version: 1.0
description: LRU Cache(maxSize=512, initialSize=512,
autowarmCount=256,
[EMAIL PROTECTED])
stats: lookups : 88
hits : 83
hitratio : 0.94
inserts : 6
evictions : 0
size : 5
cumulative_lookups : 88
cumulative_hits : 83
cumulative_hitratio : 0.94
cumulative_inserts : 6
cumulative_evictions : 0
name: documentCache
class: org.apache.solr.search.LRUCache
version: 1.0
description: LRU Cache(maxSize=512, initialSize=512)
stats: lookups : 780
hits : 738
hitratio : 0.94
inserts : 42
evictions : 0
size : 42
cumulative_lookups : 780
cumulative_hits : 738
cumulative_hitratio : 0.94
cumulative_inserts : 42
cumulative_evictions : 0