What contribute to a Solr core's FieldCache entry_count?

2015-06-16 Thread forest_soup
in context: http://lucene.472066.n3.nabble.com/What-contribute-to-a-Solr-core-s-FieldCache-entry-count-tp4212148.html Sent from the Solr - User mailing list archive at Nabble.com.

Solr and FieldCache

2007-09-20 Thread Walter Ferrara
I have an index with several fields, but just one stored: ID (string, unique). I need to access that ID field for each of the tops nodes docs in my results (this is done inside a handler I wrote), code looks like: Hits hits = searcher.search(query); for(int i=0; inodes; i++) {

Re: Solr and FieldCache

2007-09-20 Thread J.J. Larrea
At 5:30 PM +0200 9/20/07, Walter Ferrara wrote: I have an index with several fields, but just one stored: ID (string, unique). I need to access that ID field for each of the tops nodes docs in my results (this is done inside a handler I wrote), code looks like: Hits hits =

Re: Solr and FieldCache

2007-09-20 Thread Walter Ferrara
About stored/index difference: ID is a string, (= solr.StrField) so FieldCache give me what I need. I'm just wondering, as this cached object could be (theoretically) pretty big, do I need to be aware of some OOM? I know that FieldCache use weakmaps, so I presume the cached array for the older

Re: Solr and FieldCache

2007-09-20 Thread Yonik Seeley
On 9/20/07, Walter Ferrara [EMAIL PROTECTED] wrote: I'm just wondering, as this cached object could be (theoretically) pretty big, do I need to be aware of some OOM? I know that FieldCache use weakmaps, so I presume the cached array for the older reader(s) will be gc-ed when the reader is no

Re: Solr and FieldCache

2007-09-20 Thread Yonik Seeley
On 9/20/07, Walter Ferrara [EMAIL PROTECTED] wrote: I have an index with several fields, but just one stored: ID (string, unique). I need to access that ID field for each of the tops nodes docs in my results (this is done inside a handler I wrote), code looks like: Hits hits =