"facet.mincount=0" returns facet values with 0 counts for "q=*" query

2014-12-09 Thread Abhishek Sharma
Hi,

Can any one help me understand what does it mean to have facet results like
this -

  "values": [
"4th of july flags",
0,
"angela moore",
0,
"anklets",
0,
"applique flags",
0,
"army national guard",
0,
"bangles",
0,
"beatriz ball"
  ]

for a *q=** query with

*facet.mincount=0?*
What do the* results signify? *In what condition can we have *facet count
as 0* for *q=** query?


Solr Memory Usage - How to reduce memory footprint for solr

2015-01-06 Thread Abhishek Sharma
*Q* - I am forced to set Java Xmx as high as 3.5g for my solr app.. If i
keep this low, my CPU hits 100% and response time for indexing increases a
lot.. And i have hit OOM Error as well when this value is low..

Is this too high? If so, how can I reduce this?

*Machine Details* 4 G RAM, SSD

*Solr App Details* (Standalone solr app, no shards)

   1. num. of Solr Cores = 5
   2. Index Size - 2 g
   3. num. of Search Hits per sec - 10 [*IMP* - All search queries have
   faceting..]
   4. num. of times Re-Indexing per hour per core - 10 (it may happen at
   the same time at a moment for all the 5 cores)
   5. Query Result Cache, Document cache and Filter Cache are all default
   size - 4 kb.

*top* stats -

  VIRTRESSHR S %CPU %MEM
6446600 3.478g  18308 S 11.3 94.6

*iotop* stats

 DISK READ  DISK WRITE  SWAPIN IO>
0-1200 K/s0-100 K/s  0  0-5%