[jira] [Commented] (SOLR-2662) QueryResultCache is obligatory

2011-07-22 Thread Markus Jelsma (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-2662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069524#comment-13069524
 ] 

Markus Jelsma commented on SOLR-2662:
-

The following may be related. Below the config, just an attempt to disable the 
query cache.

{code}

{code}

Here's what happens when looking at the stats:

{code}
Concurrent LRU Cache(maxSize=2, initialSize=0, minSize=1, acceptableSize=1, 
cleanupThread=false)
{code}

Strange, it's actually in use and it even works!

{code}
lookups : 41
hits : 0
hitratio : 0.00
inserts : 0
evictions : 0
size : 0
warmupTime : 0
cumulative_lookups : 145
cumulative_hits : 2
cumulative_hitratio : 0.01
cumulative_inserts : 2
cumulative_evictions : 0 
{code}

> QueryResultCache is obligatory
> --
>
> Key: SOLR-2662
> URL: https://issues.apache.org/jira/browse/SOLR-2662
> Project: Solr
>  Issue Type: Bug
>  Components: search
>Affects Versions: 3.3
>Reporter: Markus Jelsma
>Priority: Minor
> Fix For: 3.4, 4.0
>
>
> When the queryResultCache is not defined in the configuration, the start 
> parameter increments the rows parameter. Start + rows is returned and start 
> is always 0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-2662) QueryResultCache is obligatory

2011-07-18 Thread Mark Miller (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-2662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13067022#comment-13067022
 ] 

Mark Miller commented on SOLR-2662:
---

Nice find Markus.

> QueryResultCache is obligatory
> --
>
> Key: SOLR-2662
> URL: https://issues.apache.org/jira/browse/SOLR-2662
> Project: Solr
>  Issue Type: Bug
>  Components: search
>Affects Versions: 3.3
>Reporter: Markus Jelsma
>Priority: Minor
> Fix For: 3.4, 4.0
>
>
> When the queryResultCache is not defined in the configuration, the start 
> parameter increments the rows parameter. Start + rows is returned and start 
> is always 0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org