You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "satya (JIRA)" <ji...@apache.org> on 2009/09/17 15:15:57 UTC

[jira] Created: (SOLR-1443) filter cache

filter cache 
-------------

                 Key: SOLR-1443
                 URL: https://issues.apache.org/jira/browse/SOLR-1443
             Project: Solr
          Issue Type: Bug
            Reporter: satya


I configured filter cache in solrconfig.xml as here under :
     <filterCache
      class="solr.FastLRUCache"
      size="16384"
      initialSize="4096"
      autowarmCount="4096"/>   

      <useFilterForSortedQuery>true</useFilterForSortedQuery>

     as per http://wiki.apache.org/solr/SolrCaching#head-b6cccca7d51521d55fa0c89f2b576b2659f297f9
      
   And executed a query as: http://localhost:8080/solr/select/?q=*:*&fq=id:(172704 TO 2079813)&sort=id asc
   But when i deleted the doc having id:172704 and executed the query again , i didnt find the same doc(172704 ) in my    
   result.
   
   same way i am facing problems while working with documentCache and queryResultCache
    




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SOLR-1443) Solr Cache is not working

Posted by "satya (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758238#action_12758238 ] 

satya commented on SOLR-1443:
-----------------------------

Thanks first of all for the clarification.
So ,how does cache affect time ,does it  hold any reference in memory?
And the important thing is, how to test all these.
I am expecting an elaboration. 

> Solr Cache is not working
> -------------------------
>
>                 Key: SOLR-1443
>                 URL: https://issues.apache.org/jira/browse/SOLR-1443
>             Project: Solr
>          Issue Type: Bug
>            Reporter: satya
>
> I configured filter cache in solrconfig.xml as here under :
>      <filterCache
>       class="solr.FastLRUCache"
>       size="16384"
>       initialSize="4096"
>       autowarmCount="4096"/>   
>       <useFilterForSortedQuery>true</useFilterForSortedQuery>
>      as per http://wiki.apache.org/solr/SolrCaching#head-b6cccca7d51521d55fa0c89f2b576b2659f297f9
>       
>    And executed a query as: http://localhost:8080/solr/select/?q=*:*&fq=id:(172704 TO 2079813)&sort=id asc
>    But when i deleted the doc having id:172704 and executed the query again , i didnt find the same doc(172704 ) in my    
>    result.
>    
>    same way i am facing problems while working with documentCache and queryResultCache
>     

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SOLR-1443) Solr Cache is not working

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12756538#action_12756538 ] 

Yonik Seeley commented on SOLR-1443:
------------------------------------

The query syntax looks off... a range query is done with brackets, not parens
Example: fq=id:[172704 TO 2079813]

Also, caches should only affect the time a request takes to complete.   It's not clear what you think the problem is.

> Solr Cache is not working
> -------------------------
>
>                 Key: SOLR-1443
>                 URL: https://issues.apache.org/jira/browse/SOLR-1443
>             Project: Solr
>          Issue Type: Bug
>            Reporter: satya
>
> I configured filter cache in solrconfig.xml as here under :
>      <filterCache
>       class="solr.FastLRUCache"
>       size="16384"
>       initialSize="4096"
>       autowarmCount="4096"/>   
>       <useFilterForSortedQuery>true</useFilterForSortedQuery>
>      as per http://wiki.apache.org/solr/SolrCaching#head-b6cccca7d51521d55fa0c89f2b576b2659f297f9
>       
>    And executed a query as: http://localhost:8080/solr/select/?q=*:*&fq=id:(172704 TO 2079813)&sort=id asc
>    But when i deleted the doc having id:172704 and executed the query again , i didnt find the same doc(172704 ) in my    
>    result.
>    
>    same way i am facing problems while working with documentCache and queryResultCache
>     

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SOLR-1443) Solr Cache is not working

Posted by "satya (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

satya updated SOLR-1443:
------------------------

    Summary: Solr Cache is not working  (was: Filter Cache is not working)

> Solr Cache is not working
> -------------------------
>
>                 Key: SOLR-1443
>                 URL: https://issues.apache.org/jira/browse/SOLR-1443
>             Project: Solr
>          Issue Type: Bug
>            Reporter: satya
>
> I configured filter cache in solrconfig.xml as here under :
>      <filterCache
>       class="solr.FastLRUCache"
>       size="16384"
>       initialSize="4096"
>       autowarmCount="4096"/>   
>       <useFilterForSortedQuery>true</useFilterForSortedQuery>
>      as per http://wiki.apache.org/solr/SolrCaching#head-b6cccca7d51521d55fa0c89f2b576b2659f297f9
>       
>    And executed a query as: http://localhost:8080/solr/select/?q=*:*&fq=id:(172704 TO 2079813)&sort=id asc
>    But when i deleted the doc having id:172704 and executed the query again , i didnt find the same doc(172704 ) in my    
>    result.
>    
>    same way i am facing problems while working with documentCache and queryResultCache
>     

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SOLR-1443) Solr Cache is not working

Posted by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758239#action_12758239 ] 

Shalin Shekhar Mangar commented on SOLR-1443:
---------------------------------------------

Please use the solr-user mailing list for such questions.

http://lucene.apache.org/solr/mailing_lists.html#Users

> Solr Cache is not working
> -------------------------
>
>                 Key: SOLR-1443
>                 URL: https://issues.apache.org/jira/browse/SOLR-1443
>             Project: Solr
>          Issue Type: Bug
>            Reporter: satya
>
> I configured filter cache in solrconfig.xml as here under :
>      <filterCache
>       class="solr.FastLRUCache"
>       size="16384"
>       initialSize="4096"
>       autowarmCount="4096"/>   
>       <useFilterForSortedQuery>true</useFilterForSortedQuery>
>      as per http://wiki.apache.org/solr/SolrCaching#head-b6cccca7d51521d55fa0c89f2b576b2659f297f9
>       
>    And executed a query as: http://localhost:8080/solr/select/?q=*:*&fq=id:(172704 TO 2079813)&sort=id asc
>    But when i deleted the doc having id:172704 and executed the query again , i didnt find the same doc(172704 ) in my    
>    result.
>    
>    same way i am facing problems while working with documentCache and queryResultCache
>     

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SOLR-1443) Filter Cache is not working

Posted by "satya (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

satya updated SOLR-1443:
------------------------

    Summary: Filter Cache is not working  (was: filter cache )

> Filter Cache is not working
> ---------------------------
>
>                 Key: SOLR-1443
>                 URL: https://issues.apache.org/jira/browse/SOLR-1443
>             Project: Solr
>          Issue Type: Bug
>            Reporter: satya
>
> I configured filter cache in solrconfig.xml as here under :
>      <filterCache
>       class="solr.FastLRUCache"
>       size="16384"
>       initialSize="4096"
>       autowarmCount="4096"/>   
>       <useFilterForSortedQuery>true</useFilterForSortedQuery>
>      as per http://wiki.apache.org/solr/SolrCaching#head-b6cccca7d51521d55fa0c89f2b576b2659f297f9
>       
>    And executed a query as: http://localhost:8080/solr/select/?q=*:*&fq=id:(172704 TO 2079813)&sort=id asc
>    But when i deleted the doc having id:172704 and executed the query again , i didnt find the same doc(172704 ) in my    
>    result.
>    
>    same way i am facing problems while working with documentCache and queryResultCache
>     

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SOLR-1443) Solr Cache is not working

Posted by "Erik Hatcher (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erik Hatcher resolved SOLR-1443.
--------------------------------

    Resolution: Invalid

Please ask usage questions on solr-user list.

The caches aren't to keep deleted documents around, so looks like everything is working as designed.

> Solr Cache is not working
> -------------------------
>
>                 Key: SOLR-1443
>                 URL: https://issues.apache.org/jira/browse/SOLR-1443
>             Project: Solr
>          Issue Type: Bug
>            Reporter: satya
>
> I configured filter cache in solrconfig.xml as here under :
>      <filterCache
>       class="solr.FastLRUCache"
>       size="16384"
>       initialSize="4096"
>       autowarmCount="4096"/>   
>       <useFilterForSortedQuery>true</useFilterForSortedQuery>
>      as per http://wiki.apache.org/solr/SolrCaching#head-b6cccca7d51521d55fa0c89f2b576b2659f297f9
>       
>    And executed a query as: http://localhost:8080/solr/select/?q=*:*&fq=id:(172704 TO 2079813)&sort=id asc
>    But when i deleted the doc having id:172704 and executed the query again , i didnt find the same doc(172704 ) in my    
>    result.
>    
>    same way i am facing problems while working with documentCache and queryResultCache
>     

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.