How to disable cache for facet.query?
Hi, I am trying to disable filter cache for some filter queries as they contain unique ids and cause cache evictions. By adding {!cache=false} the fq is no longer stored in filter cache, however I have similar conditions in facet.query and using facet.query={!cache=false}(color:red AND id:XXX) does not work. Is it possible to stop solr from putting facet.query into filter cache? Thanks, Wei
Re: Disable cache ?
Hi Bruno, don't forget the OS disk cache. On linux you can clear it with this tiny script : #!/bin/bash sync && echo 3 > /proc/sys/vm/drop_caches Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Disable-cache-tp3995575p3995589.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Disable cache ?
I think you could disable Solr caches by setting their size to 0 (deleting them won't work, as for example, the FieldValueCache will take default values, not sure about the other ones). I don't think you'll be able to disable Lucene's Field Cache. What's the test that you want to run? Why do you not want caches for it? On Tue, Jul 17, 2012 at 1:10 PM, Bruno Mannina wrote: > Hi Solr Users, > > I would like for my test disable the cache fonction, so I modified all > information concerning cache in solrconfig.xml > but after restarting my Tomcat cache is always here. > > Do you think I forgot something? > > Requests are done with QTime=1 or QTime=0 > and with this rapidity my program losts information. > > I would like to do some tests less quickly? > > Thanks a lot, > Bruno > >
Disable cache ?
Hi Solr Users, I would like for my test disable the cache fonction, so I modified all information concerning cache in solrconfig.xml but after restarting my Tomcat cache is always here. Do you think I forgot something? Requests are done with QTime=1 or QTime=0 and with this rapidity my program losts information. I would like to do some tests less quickly? Thanks a lot, Bruno
Re: Field Collapsing - disable cache
Here's the sorlconfig, with a few fields removed from the request (which shouldn't make any difference) http://www.intelcompute.com/solrconfig.xml perhaps an old solrconfig to start with? tho it came no later than a 1.3 standard config file. On Wed 23/12/09 21:33 , Martijn v Groningen wrote: > How have you configured field collapsing? > I have field collapsing configured without caching like this: > and with caching like this: > In both situations I don't get NPE. Also the line (in the patch) > where > the exceptions occurs seems unlikely for a NPE. > if (fieldCollapseCache != null) { > fieldCollapseCache.put(currentCacheKey, new CacheValue(result, > collectors, collapseContext)); // line 276 > } > Does the exception occur immediately after the first search? > Martijn > 2009/12/23 : > > > > Still seeing the same error when trying to comment out the > fieldCollapsing block, or even just the fieldCollapseCache block > inside it to disable the cache. > > > > fresh trunk and latest patch. > > > > > > > > message null java.lang.NullPointerException at > org.apache.solr.search.fieldcollapse.AbstractDocumentCollapser.createDocume > ntCollapseResult(AbstractDocumentCollapser.java:276)at > org.apache.solr.search.fieldcollapse.AbstractDocumentCollapser.executeColla > pse(AbstractDocumentCollapser.java:249)at > org.apache.solr.search.fieldcollapse.AbstractDocumentCollapser.collapse(Abs > tractDocumentCollapser.java:172)at > org.apache.solr.handler.component.CollapseComponent.doProcess(CollapseCompo > nent.java:173)at > org.apache.solr.handler.component.CollapseComponent.process(CollapseCompone > nt.java:127)at > org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHan > dler.java:195)at > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase > .java:131)at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) at > org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java: > 336)at > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java > :239)at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio > nFilterChain.java:215)at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC > hain.java:188)at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j > ava:210)at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j > ava:172)at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:12 > 7)at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:11 > 7)at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav > a:108)at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) > at > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.process > Connection(Http11BaseProtocol.java:665)at > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.ja > va:528)at > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerW > orkerThread.java:81)at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.ja > va:685)at java.lang.Thread.run(Thread.java:636) > > > > > > > > > > > > > > > > On Wed 23/12/09 13:26 , wrote: > > > >> Thanks, that latest update to the patch works fine now. > >> On Wed 23/12/09 13:13 , Martijn v Groningen wrote: > >> > Latest SOLR-236.patch is for the trunk, if have updated the > latest > >> > patch so it should patch now without conflicts. If I remember > >> > correctly the latest field-collapse-5.patch should work for > 1.4, > >> but > >> > it doesn't for the trunk. > >> > 2009/12/23 : > >> > > > >> > > Sorry, that was when trying to patch the 1.4 branch > >> > > > >> > > attempting to patch the trunk gives... > >> > > > >> > > patching file > src/test/test-files/fieldcollapse/testResponse.xml > >> > > patching file > >> > src/test/org/apache/solr/BaseDistributedSearchTestCase.java > >> > > Hunk #2 FAILED at 502. > >> > > 1 out of 2 hunks FAILED -- saving rejects to file > >> > src/test/org/apache/solr/BaseDistributedSearchTestCase.java.rej > >> > > patching file > >> > > >> > src/test/org/apache/solr/search/fieldcollapse/FieldCollapsingIntegrationTes > >> > t.java> > >> > > > >> > > btw, when is trunk actually updated? > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > On Wed 23/12/09 11:53 , wrote: > >> > > > >> > >> I'm currently trying to patch aginst trunk, using > >> SOLR-236.patch > >> > >> from 18/12/2009 but getting the following error... > >> > >> [ solr]$ patch -p0 < SOLR-236.patch > >> > >> patching file > >> > >> src/test/test-files/solr/conf/solrconfig-fieldcollapse.xml > >> > >> patching file > >> > src/test/test-files/solr/conf/schema-fieldcollapse.xml > >> > >> patching file src/test/test-files/solr/conf/solrconfig.xml > >> > >> patching file > >> src/test
Re: Field Collapsing - disable cache
How have you configured field collapsing? I have field collapsing configured without caching like this: and with caching like this: In both situations I don't get NPE. Also the line (in the patch) where the exceptions occurs seems unlikely for a NPE. if (fieldCollapseCache != null) { fieldCollapseCache.put(currentCacheKey, new CacheValue(result, collectors, collapseContext)); // line 276 } Does the exception occur immediately after the first search? Martijn 2009/12/23 : > > Still seeing the same error when trying to comment out the fieldCollapsing > block, or even just the fieldCollapseCache block inside it to disable the > cache. > > fresh trunk and latest patch. > > > > message null java.lang.NullPointerException at > org.apache.solr.search.fieldcollapse.AbstractDocumentCollapser.createDocumentCollapseResult(AbstractDocumentCollapser.java:276) > at > org.apache.solr.search.fieldcollapse.AbstractDocumentCollapser.executeCollapse(AbstractDocumentCollapser.java:249) > at > org.apache.solr.search.fieldcollapse.AbstractDocumentCollapser.collapse(AbstractDocumentCollapser.java:172) > at > org.apache.solr.handler.component.CollapseComponent.doProcess(CollapseComponent.java:173) > at > org.apache.solr.handler.component.CollapseComponent.process(CollapseComponent.java:127) > at > org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:195) > at > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) > at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) at > org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:336) > at > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:239) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) > at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) > at > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) > at > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) > at > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) > at java.lang.Thread.run(Thread.java:636) > > > > > > > > On Wed 23/12/09 13:26 , r...@intelcompute.com wrote: > >> Thanks, that latest update to the patch works fine now. >> On Wed 23/12/09 13:13 , Martijn v Groningen wrote: >> > Latest SOLR-236.patch is for the trunk, if have updated the latest >> > patch so it should patch now without conflicts. If I remember >> > correctly the latest field-collapse-5.patch should work for 1.4, >> but >> > it doesn't for the trunk. >> > 2009/12/23 : >> > > >> > > Sorry, that was when trying to patch the 1.4 branch >> > > >> > > attempting to patch the trunk gives... >> > > >> > > patching file src/test/test-files/fieldcollapse/testResponse.xml >> > > patching file >> > src/test/org/apache/solr/BaseDistributedSearchTestCase.java >> > > Hunk #2 FAILED at 502. >> > > 1 out of 2 hunks FAILED -- saving rejects to file >> > src/test/org/apache/solr/BaseDistributedSearchTestCase.java.rej >> > > patching file >> > >> src/test/org/apache/solr/search/fieldcollapse/FieldCollapsingIntegrationTes >> > t.java> >> > > >> > > btw, when is trunk actually updated? >> > > >> > > >> > > >> > > >> > > >> > > On Wed 23/12/09 11:53 , wrote: >> > > >> > >> I'm currently trying to patch aginst trunk, using >> SOLR-236.patch >> > >> from 18/12/2009 but getting the following error... >> > >> [ solr]$ patch -p0 < SOLR-236.patch >> > >> patching file >> > >> src/test/test-files/solr/conf/solrconfig-fieldcollapse.xml >> > >> patching file >> > src/test/test-files/solr/conf/schema-fieldcollapse.xml >> > >> patching file src/test/test-files/solr/conf/solrconfig.xml >> > >> patching file >> src/test/test-files/fieldcollapse/testResponse.xml >> > >> can't find file to patch at input line 787 >> > >> Perhaps you used the wrong -p or --strip option? >> > >> The text leading up to this was: >> > >> -- >> > >> | >> > >> |Property changes on: >> > >> src/test/test-files/fieldcollapse/testResponse.xml >> > >> >> > >> |_
Re: Field Collapsing - disable cache
Still seeing the same error when trying to comment out the fieldCollapsing block, or even just the fieldCollapseCache block inside it to disable the cache. fresh trunk and latest patch. message null java.lang.NullPointerException at org.apache.solr.search.fieldcollapse.AbstractDocumentCollapser.createDocumentCollapseResult(AbstractDocumentCollapser.java:276) at org.apache.solr.search.fieldcollapse.AbstractDocumentCollapser.executeCollapse(AbstractDocumentCollapser.java:249) at org.apache.solr.search.fieldcollapse.AbstractDocumentCollapser.collapse(AbstractDocumentCollapser.java:172) at org.apache.solr.handler.component.CollapseComponent.doProcess(CollapseComponent.java:173) at org.apache.solr.handler.component.CollapseComponent.process(CollapseComponent.java:127) at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:195) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:336) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:239) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:636) On Wed 23/12/09 13:26 , r...@intelcompute.com wrote: > Thanks, that latest update to the patch works fine now. > On Wed 23/12/09 13:13 , Martijn v Groningen wrote: > > Latest SOLR-236.patch is for the trunk, if have updated the latest > > patch so it should patch now without conflicts. If I remember > > correctly the latest field-collapse-5.patch should work for 1.4, > but > > it doesn't for the trunk. > > 2009/12/23 : > > > > > > Sorry, that was when trying to patch the 1.4 branch > > > > > > attempting to patch the trunk gives... > > > > > > patching file src/test/test-files/fieldcollapse/testResponse.xml > > > patching file > > src/test/org/apache/solr/BaseDistributedSearchTestCase.java > > > Hunk #2 FAILED at 502. > > > 1 out of 2 hunks FAILED -- saving rejects to file > > src/test/org/apache/solr/BaseDistributedSearchTestCase.java.rej > > > patching file > > > src/test/org/apache/solr/search/fieldcollapse/FieldCollapsingIntegrationTes > > t.java> > > > > > > btw, when is trunk actually updated? > > > > > > > > > > > > > > > > > > On Wed 23/12/09 11:53 , wrote: > > > > > >> I'm currently trying to patch aginst trunk, using > SOLR-236.patch > > >> from 18/12/2009 but getting the following error... > > >> [ solr]$ patch -p0 < SOLR-236.patch > > >> patching file > > >> src/test/test-files/solr/conf/solrconfig-fieldcollapse.xml > > >> patching file > > src/test/test-files/solr/conf/schema-fieldcollapse.xml > > >> patching file src/test/test-files/solr/conf/solrconfig.xml > > >> patching file > src/test/test-files/fieldcollapse/testResponse.xml > > >> can't find file to patch at input line 787 > > >> Perhaps you used the wrong -p or --strip option? > > >> The text leading up to this was: > > >> -- > > >> | > > >> |Property changes on: > > >> src/test/test-files/fieldcollapse/testResponse.xml > > >> > > > |___ > > >> |Added: svn:keywords > > >> | + Date Author Id Revision HeadURL > > >> |Added: svn:eol-style > > >> | + native > > >> | > > >> |Index: > > src/test/org/apache/solr/BaseDistributedSearchTestCase.java > > >> > > > |=== > > >> |--- > src/test/org/apache/solr/BaseDistributedSearchTestCase.java > > >> (revision 891214) > > >> |+++ > src/test/org/apache/solr/BaseDistributedSearchTestCase.java > > >> (working copy) > > >> -- > > >> File to patch: > > >> any suggestions, or should i checkout the 1.4 branch instead? > > >> can't
Re: Field Collapsing - disable cache
Thanks, that latest update to the patch works fine now. On Wed 23/12/09 13:13 , Martijn v Groningen wrote: > Latest SOLR-236.patch is for the trunk, if have updated the latest > patch so it should patch now without conflicts. If I remember > correctly the latest field-collapse-5.patch should work for 1.4, but > it doesn't for the trunk. > 2009/12/23 : > > > > Sorry, that was when trying to patch the 1.4 branch > > > > attempting to patch the trunk gives... > > > > patching file src/test/test-files/fieldcollapse/testResponse.xml > > patching file > src/test/org/apache/solr/BaseDistributedSearchTestCase.java > > Hunk #2 FAILED at 502. > > 1 out of 2 hunks FAILED -- saving rejects to file > src/test/org/apache/solr/BaseDistributedSearchTestCase.java.rej > > patching file > src/test/org/apache/solr/search/fieldcollapse/FieldCollapsingIntegrationTes > t.java> > > > > btw, when is trunk actually updated? > > > > > > > > > > > > On Wed 23/12/09 11:53 , wrote: > > > >> I'm currently trying to patch aginst trunk, using SOLR-236.patch > >> from 18/12/2009 but getting the following error... > >> [ solr]$ patch -p0 < SOLR-236.patch > >> patching file > >> src/test/test-files/solr/conf/solrconfig-fieldcollapse.xml > >> patching file > src/test/test-files/solr/conf/schema-fieldcollapse.xml > >> patching file src/test/test-files/solr/conf/solrconfig.xml > >> patching file src/test/test-files/fieldcollapse/testResponse.xml > >> can't find file to patch at input line 787 > >> Perhaps you used the wrong -p or --strip option? > >> The text leading up to this was: > >> -- > >> | > >> |Property changes on: > >> src/test/test-files/fieldcollapse/testResponse.xml > >> > |___ > >> |Added: svn:keywords > >> | + Date Author Id Revision HeadURL > >> |Added: svn:eol-style > >> | + native > >> | > >> |Index: > src/test/org/apache/solr/BaseDistributedSearchTestCase.java > >> > |=== > >> |--- src/test/org/apache/solr/BaseDistributedSearchTestCase.java > >> (revision 891214) > >> |+++ src/test/org/apache/solr/BaseDistributedSearchTestCase.java > >> (working copy) > >> -- > >> File to patch: > >> any suggestions, or should i checkout the 1.4 branch instead? > >> can't remember what i did last time to get field-collapse-5.patch > >> working successfully. > >> On Tue 22/12/09 22:43 , Lance Norskog wrote: > >> > To avoid this possible bug, you could change the cache to only > >> have a > >> > few entries. > >> > On Tue, Dec 22, 2009 at 6:34 AM, Martijn v Groningen > >> > wrote: > >> > > In the latest patch some changes where made on the > configuration > >> > side, > >> > > but if you add the CollapseComponent to the conf no field > >> collapse > >> > > cache should be enabled. If not let me know. > >> > > > >> > > Martijn > >> > > > >> > > 2009/12/22 : > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> On Tue 22/12/09 12:28 , Martijn v Groningen wrote: > >> > >> > >> > >>> Hi Rob, > >> > >>> What patch are you actually using from SOLR-236? > >> > >>> Martijn > >> > >>> 2009/12/22 : > >> > >>> > I've tried both, the whole fieldCollapsing tag, and just > the > >> > >>> > fieldCollapseCache tag inside it. > >> > >>> >both cause error. > >> > >>> >I guess I can just set size, initialSize, and > >> > autowarmCount > >> > >>> to 0 ?? > >> > >>> > On Tue 22/12/09 11:17 , Toby Cole wrote:Which elements > did > >> > you > >> > >>> > comment out? It could be the case that you need > >> > >>> > to get rid of the entire fieldCollapsing element, not > just > >> the > >> > >>> > fieldCollapsingCache element. > >> > >>> > (Disclaimer: I've not used field collapsing in anger > before > >> :) > >> > >>> > Toby. > >> > >>> > > >> > >>> > On 22 Dec 2009, at 11:09, wrote: > >> > >>> > > >> > >>> >> That's what I assumed, but I'm getting the following > error > >> > with > >> > >>> it > >> > >>> >> commented out > >> > >>> >> MESSAGE null java.lang.NullPointerException at > >> > >>> >> org > >> > >>> >> .apache > >> > >>> >> .solr > >> > >>> >> .search > >> > >>> >> .fieldcollapse > >> > >>> >> .AbstractDocumentCollapser > >> > >>> >> > >> > > .createDocumentCollapseResult(AbstractDocumentCollapser.java:276) > >> > >>> >> at > >> > >>> >> org > >> > >>> >> .apache > >> > >>> >> .solr > >> > >>> >> .search > >> > >>> >> .fieldcollapse > >> > >>> >> .AbstractDocumentCollapser > >> > >>> >> .executeCollapse(AbstractDocumentCollapser.java:249) > >> > >>> >> at > >> > >>> >> org > >> > >>> >> .apache > >> > >>> >> .solr > >> > >>> >> .search > >> > >>> >> .fieldcollapse > >> > >>> >> > >> > >>> > >> > > >> > .AbstractDocumentCollapser.collapse(AbstractDocumentCollapser.java: > >> > >>> > > >> > >>> >> 172) > >> > >>> >> at > >> > >>> >> org > >> > >>> >> .apache > >> > >>> >> .solr > >> > >>> >> .handler > >> > >>> >> > >> > >>> > >> > > .componen
Re: Field Collapsing - disable cache
Latest SOLR-236.patch is for the trunk, if have updated the latest patch so it should patch now without conflicts. If I remember correctly the latest field-collapse-5.patch should work for 1.4, but it doesn't for the trunk. 2009/12/23 : > > Sorry, that was when trying to patch the 1.4 branch > > attempting to patch the trunk gives... > > patching file src/test/test-files/fieldcollapse/testResponse.xml > patching file src/test/org/apache/solr/BaseDistributedSearchTestCase.java > Hunk #2 FAILED at 502. > 1 out of 2 hunks FAILED -- saving rejects to file > src/test/org/apache/solr/BaseDistributedSearchTestCase.java.rej > patching file > src/test/org/apache/solr/search/fieldcollapse/FieldCollapsingIntegrationTest.java > > > btw, when is trunk actually updated? > > > > > > On Wed 23/12/09 11:53 , r...@intelcompute.com wrote: > >> I'm currently trying to patch aginst trunk, using SOLR-236.patch >> from 18/12/2009 but getting the following error... >> [ solr]$ patch -p0 < SOLR-236.patch >> patching file >> src/test/test-files/solr/conf/solrconfig-fieldcollapse.xml >> patching file src/test/test-files/solr/conf/schema-fieldcollapse.xml >> patching file src/test/test-files/solr/conf/solrconfig.xml >> patching file src/test/test-files/fieldcollapse/testResponse.xml >> can't find file to patch at input line 787 >> Perhaps you used the wrong -p or --strip option? >> The text leading up to this was: >> -- >> | >> |Property changes on: >> src/test/test-files/fieldcollapse/testResponse.xml >> |___ >> |Added: svn:keywords >> | + Date Author Id Revision HeadURL >> |Added: svn:eol-style >> | + native >> | >> |Index: src/test/org/apache/solr/BaseDistributedSearchTestCase.java >> |=== >> |--- src/test/org/apache/solr/BaseDistributedSearchTestCase.java >> (revision 891214) >> |+++ src/test/org/apache/solr/BaseDistributedSearchTestCase.java >> (working copy) >> -- >> File to patch: >> any suggestions, or should i checkout the 1.4 branch instead? >> can't remember what i did last time to get field-collapse-5.patch >> working successfully. >> On Tue 22/12/09 22:43 , Lance Norskog wrote: >> > To avoid this possible bug, you could change the cache to only >> have a >> > few entries. >> > On Tue, Dec 22, 2009 at 6:34 AM, Martijn v Groningen >> > wrote: >> > > In the latest patch some changes where made on the configuration >> > side, >> > > but if you add the CollapseComponent to the conf no field >> collapse >> > > cache should be enabled. If not let me know. >> > > >> > > Martijn >> > > >> > > 2009/12/22 : >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> On Tue 22/12/09 12:28 , Martijn v Groningen wrote: >> > >> >> > >>> Hi Rob, >> > >>> What patch are you actually using from SOLR-236? >> > >>> Martijn >> > >>> 2009/12/22 : >> > >>> > I've tried both, the whole fieldCollapsing tag, and just the >> > >>> > fieldCollapseCache tag inside it. >> > >>> > both cause error. >> > >>> > I guess I can just set size, initialSize, and >> > autowarmCount >> > >>> to 0 ?? >> > >>> > On Tue 22/12/09 11:17 , Toby Cole wrote:Which elements did >> > you >> > >>> > comment out? It could be the case that you need >> > >>> > to get rid of the entire fieldCollapsing element, not just >> the >> > >>> > fieldCollapsingCache element. >> > >>> > (Disclaimer: I've not used field collapsing in anger before >> :) >> > >>> > Toby. >> > >>> > >> > >>> > On 22 Dec 2009, at 11:09, wrote: >> > >>> > >> > >>> >> That's what I assumed, but I'm getting the following error >> > with >> > >>> it >> > >>> >> commented out >> > >>> >> MESSAGE null java.lang.NullPointerException at >> > >>> >> org >> > >>> >> .apache >> > >>> >> .solr >> > >>> >> .search >> > >>> >> .fieldcollapse >> > >>> >> .AbstractDocumentCollapser >> > >>> >> >> > .createDocumentCollapseResult(AbstractDocumentCollapser.java:276) >> > >>> >> at >> > >>> >> org >> > >>> >> .apache >> > >>> >> .solr >> > >>> >> .search >> > >>> >> .fieldcollapse >> > >>> >> .AbstractDocumentCollapser >> > >>> >> .executeCollapse(AbstractDocumentCollapser.java:249) >> > >>> >> at >> > >>> >> org >> > >>> >> .apache >> > >>> >> .solr >> > >>> >> .search >> > >>> >> .fieldcollapse >> > >>> >> >> > >>> >> > >> .AbstractDocumentCollapser.collapse(AbstractDocumentCollapser.java: >> > >>> > >> > >>> >> 172) >> > >>> >> at >> > >>> >> org >> > >>> >> .apache >> > >>> >> .solr >> > >>> >> .handler >> > >>> >> >> > >>> >> > .component.CollapseComponent.doProcess(CollapseComponent.java:173) >> > >>> >> at >> > >>> >> org >> > >>> >> .apache >> > >>> >> .solr >> > >>> >> >> > >>> > >> > >>> >> > >> .handler.component.CollapseComponent.process(CollapseComponent.java: >> > >>> >> 127) >> > >>> >> at >> > >>> >> org >> > >>> >> .apache >> > >>> >> .solr >> > >>> >> .handler >> > >>> >> >> > >>> >> > .component.SearchHandler.handleR
Re: Field Collapsing - disable cache
Sorry, that was when trying to patch the 1.4 branch attempting to patch the trunk gives... patching file src/test/test-files/fieldcollapse/testResponse.xml patching file src/test/org/apache/solr/BaseDistributedSearchTestCase.java Hunk #2 FAILED at 502. 1 out of 2 hunks FAILED -- saving rejects to file src/test/org/apache/solr/BaseDistributedSearchTestCase.java.rej patching file src/test/org/apache/solr/search/fieldcollapse/FieldCollapsingIntegrationTest.java btw, when is trunk actually updated? On Wed 23/12/09 11:53 , r...@intelcompute.com wrote: > I'm currently trying to patch aginst trunk, using SOLR-236.patch > from 18/12/2009 but getting the following error... > [ solr]$ patch -p0 < SOLR-236.patch > patching file > src/test/test-files/solr/conf/solrconfig-fieldcollapse.xml > patching file src/test/test-files/solr/conf/schema-fieldcollapse.xml > patching file src/test/test-files/solr/conf/solrconfig.xml > patching file src/test/test-files/fieldcollapse/testResponse.xml > can't find file to patch at input line 787 > Perhaps you used the wrong -p or --strip option? > The text leading up to this was: > -- > | > |Property changes on: > src/test/test-files/fieldcollapse/testResponse.xml > |___ > |Added: svn:keywords > | + Date Author Id Revision HeadURL > |Added: svn:eol-style > | + native > | > |Index: src/test/org/apache/solr/BaseDistributedSearchTestCase.java > |=== > |--- src/test/org/apache/solr/BaseDistributedSearchTestCase.java > (revision 891214) > |+++ src/test/org/apache/solr/BaseDistributedSearchTestCase.java > (working copy) > -- > File to patch: > any suggestions, or should i checkout the 1.4 branch instead? > can't remember what i did last time to get field-collapse-5.patch > working successfully. > On Tue 22/12/09 22:43 , Lance Norskog wrote: > > To avoid this possible bug, you could change the cache to only > have a > > few entries. > > On Tue, Dec 22, 2009 at 6:34 AM, Martijn v Groningen > > wrote: > > > In the latest patch some changes where made on the configuration > > side, > > > but if you add the CollapseComponent to the conf no field > collapse > > > cache should be enabled. If not let me know. > > > > > > Martijn > > > > > > 2009/12/22 : > > >> > > >> > > >> > > >> > > >> > > >> On Tue 22/12/09 12:28 , Martijn v Groningen wrote: > > >> > > >>> Hi Rob, > > >>> What patch are you actually using from SOLR-236? > > >>> Martijn > > >>> 2009/12/22 : > > >>> > I've tried both, the whole fieldCollapsing tag, and just the > > >>> > fieldCollapseCache tag inside it. > > >>> >both cause error. > > >>> >I guess I can just set size, initialSize, and > > autowarmCount > > >>> to 0 ?? > > >>> > On Tue 22/12/09 11:17 , Toby Cole wrote:Which elements did > > you > > >>> > comment out? It could be the case that you need > > >>> > to get rid of the entire fieldCollapsing element, not just > the > > >>> > fieldCollapsingCache element. > > >>> > (Disclaimer: I've not used field collapsing in anger before > :) > > >>> > Toby. > > >>> > > > >>> > On 22 Dec 2009, at 11:09, wrote: > > >>> > > > >>> >> That's what I assumed, but I'm getting the following error > > with > > >>> it > > >>> >> commented out > > >>> >> MESSAGE null java.lang.NullPointerException at > > >>> >> org > > >>> >> .apache > > >>> >> .solr > > >>> >> .search > > >>> >> .fieldcollapse > > >>> >> .AbstractDocumentCollapser > > >>> >> > > .createDocumentCollapseResult(AbstractDocumentCollapser.java:276) > > >>> >> at > > >>> >> org > > >>> >> .apache > > >>> >> .solr > > >>> >> .search > > >>> >> .fieldcollapse > > >>> >> .AbstractDocumentCollapser > > >>> >> .executeCollapse(AbstractDocumentCollapser.java:249) > > >>> >> at > > >>> >> org > > >>> >> .apache > > >>> >> .solr > > >>> >> .search > > >>> >> .fieldcollapse > > >>> >> > > >>> > > > .AbstractDocumentCollapser.collapse(AbstractDocumentCollapser.java: > > >>> > > > >>> >> 172) > > >>> >> at > > >>> >> org > > >>> >> .apache > > >>> >> .solr > > >>> >> .handler > > >>> >> > > >>> > > .component.CollapseComponent.doProcess(CollapseComponent.java:173) > > >>> >> at > > >>> >> org > > >>> >> .apache > > >>> >> .solr > > >>> >> > > >>> > > > >>> > > > .handler.component.CollapseComponent.process(CollapseComponent.java: > > >>> >> 127) > > >>> >> at > > >>> >> org > > >>> >> .apache > > >>> >> .solr > > >>> >> .handler > > >>> >> > > >>> > > .component.SearchHandler.handleRequestBody(SearchHandler.java:195) > > >>> >> at > > >>> >> org > > >>> >> .apache > > >>> >> .solr > > >>> >> > > >>> > > > >>> > > > .handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) > > >>> >> at > org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) > > at > > >>> >> org > > >>> >> .apache > > >>> >> > > >>> > > > >>> > > > .solr.servlet.SolrDispatchFilter.execute(So
Re: Field Collapsing - disable cache
I'm currently trying to patch aginst trunk, using SOLR-236.patch from 18/12/2009 but getting the following error... [...@intelcompute solr]$ patch -p0 < SOLR-236.patch patching file src/test/test-files/solr/conf/solrconfig-fieldcollapse.xml patching file src/test/test-files/solr/conf/schema-fieldcollapse.xml patching file src/test/test-files/solr/conf/solrconfig.xml patching file src/test/test-files/fieldcollapse/testResponse.xml can't find file to patch at input line 787 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -- | |Property changes on: src/test/test-files/fieldcollapse/testResponse.xml |___ |Added: svn:keywords | + Date Author Id Revision HeadURL |Added: svn:eol-style | + native | |Index: src/test/org/apache/solr/BaseDistributedSearchTestCase.java |=== |--- src/test/org/apache/solr/BaseDistributedSearchTestCase.java (revision 891214) |+++ src/test/org/apache/solr/BaseDistributedSearchTestCase.java (working copy) -- File to patch: any suggestions, or should i checkout the 1.4 branch instead? can't remember what i did last time to get field-collapse-5.patch working successfully. On Tue 22/12/09 22:43 , Lance Norskog wrote: > To avoid this possible bug, you could change the cache to only have a > few entries. > On Tue, Dec 22, 2009 at 6:34 AM, Martijn v Groningen > wrote: > > In the latest patch some changes where made on the configuration > side, > > but if you add the CollapseComponent to the conf no field collapse > > cache should be enabled. If not let me know. > > > > Martijn > > > > 2009/12/22 : > >> > >> > >> > >> > >> > >> On Tue 22/12/09 12:28 , Martijn v Groningen wrote: > >> > >>> Hi Rob, > >>> What patch are you actually using from SOLR-236? > >>> Martijn > >>> 2009/12/22 : > >>> > I've tried both, the whole fieldCollapsing tag, and just the > >>> > fieldCollapseCache tag inside it. > >>> >both cause error. > >>> >I guess I can just set size, initialSize, and > autowarmCount > >>> to 0 ?? > >>> > On Tue 22/12/09 11:17 , Toby Cole wrote:Which elements did > you > >>> > comment out? It could be the case that you need > >>> > to get rid of the entire fieldCollapsing element, not just the > >>> > fieldCollapsingCache element. > >>> > (Disclaimer: I've not used field collapsing in anger before :) > >>> > Toby. > >>> > > >>> > On 22 Dec 2009, at 11:09, wrote: > >>> > > >>> >> That's what I assumed, but I'm getting the following error > with > >>> it > >>> >> commented out > >>> >> MESSAGE null java.lang.NullPointerException at > >>> >> org > >>> >> .apache > >>> >> .solr > >>> >> .search > >>> >> .fieldcollapse > >>> >> .AbstractDocumentCollapser > >>> >> > .createDocumentCollapseResult(AbstractDocumentCollapser.java:276) > >>> >> at > >>> >> org > >>> >> .apache > >>> >> .solr > >>> >> .search > >>> >> .fieldcollapse > >>> >> .AbstractDocumentCollapser > >>> >> .executeCollapse(AbstractDocumentCollapser.java:249) > >>> >> at > >>> >> org > >>> >> .apache > >>> >> .solr > >>> >> .search > >>> >> .fieldcollapse > >>> >> > >>> > .AbstractDocumentCollapser.collapse(AbstractDocumentCollapser.java: > >>> > > >>> >> 172) > >>> >> at > >>> >> org > >>> >> .apache > >>> >> .solr > >>> >> .handler > >>> >> > >>> > .component.CollapseComponent.doProcess(CollapseComponent.java:173) > >>> >> at > >>> >> org > >>> >> .apache > >>> >> .solr > >>> >> > >>> > > >>> > .handler.component.CollapseComponent.process(CollapseComponent.java: > >>> >> 127) > >>> >> at > >>> >> org > >>> >> .apache > >>> >> .solr > >>> >> .handler > >>> >> > >>> > .component.SearchHandler.handleRequestBody(SearchHandler.java:195) > >>> >> at > >>> >> org > >>> >> .apache > >>> >> .solr > >>> >> > >>> > > >>> > .handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) > >>> >> at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) > at > >>> >> org > >>> >> .apache > >>> >> > >>> > > >>> > .solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:336) > >>> >> at > >>> >> org > >>> >> .apache > >>> >> > >>> > > >>> > .solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:239) > >>> >> at > >>> >> org > >>> >> .apache > >>> >> .catalina > >>> >> .core > >>> >> > >>> > > >>> > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > >>> > > >>> >> 215) > >>> >> at > >>> >> org > >>> >> .apache > >>> >> .catalina > >>> >> > >>> > > >>> > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) > >>> >> at > >>> >> org > >>> >> .apache > >>> >> > >>> > > >>> > .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: > >>> > > >>> >> 210) > >>> >> at > >>> >> org > >>> >> .apache > >>> >> > >>> > > >>> > .catalina.core.StandardContextValve.invoke(StandardContextValve.java: > >>> > > >>> >> 172)
Re: Field Collapsing - disable cache
To avoid this possible bug, you could change the cache to only have a few entries. On Tue, Dec 22, 2009 at 6:34 AM, Martijn v Groningen wrote: > In the latest patch some changes where made on the configuration side, > but if you add the CollapseComponent to the conf no field collapse > cache should be enabled. If not let me know. > > Martijn > > 2009/12/22 : >> >> >> >> >> >> On Tue 22/12/09 12:28 , Martijn v Groningen >> wrote: >> >>> Hi Rob, >>> What patch are you actually using from SOLR-236? >>> Martijn >>> 2009/12/22 : >>> > I've tried both, the whole fieldCollapsing tag, and just the >>> > fieldCollapseCache tag inside it. >>> > both cause error. >>> > I guess I can just set size, initialSize, and autowarmCount >>> to 0 ?? >>> > On Tue 22/12/09 11:17 , Toby Cole wrote:Which elements did you >>> > comment out? It could be the case that you need >>> > to get rid of the entire fieldCollapsing element, not just the >>> > fieldCollapsingCache element. >>> > (Disclaimer: I've not used field collapsing in anger before :) >>> > Toby. >>> > >>> > On 22 Dec 2009, at 11:09, wrote: >>> > >>> >> That's what I assumed, but I'm getting the following error with >>> it >>> >> commented out >>> >> MESSAGE null java.lang.NullPointerException at >>> >> org >>> >> .apache >>> >> .solr >>> >> .search >>> >> .fieldcollapse >>> >> .AbstractDocumentCollapser >>> >> .createDocumentCollapseResult(AbstractDocumentCollapser.java:276) >>> >> at >>> >> org >>> >> .apache >>> >> .solr >>> >> .search >>> >> .fieldcollapse >>> >> .AbstractDocumentCollapser >>> >> .executeCollapse(AbstractDocumentCollapser.java:249) >>> >> at >>> >> org >>> >> .apache >>> >> .solr >>> >> .search >>> >> .fieldcollapse >>> >> >>> .AbstractDocumentCollapser.collapse(AbstractDocumentCollapser.java: >>> > >>> >> 172) >>> >> at >>> >> org >>> >> .apache >>> >> .solr >>> >> .handler >>> >> >>> .component.CollapseComponent.doProcess(CollapseComponent.java:173) >>> >> at >>> >> org >>> >> .apache >>> >> .solr >>> >> >>> > >>> .handler.component.CollapseComponent.process(CollapseComponent.java: >>> >> 127) >>> >> at >>> >> org >>> >> .apache >>> >> .solr >>> >> .handler >>> >> >>> .component.SearchHandler.handleRequestBody(SearchHandler.java:195) >>> >> at >>> >> org >>> >> .apache >>> >> .solr >>> >> >>> > >>> .handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) >>> >> at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) at >>> >> org >>> >> .apache >>> >> >>> > >>> .solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:336) >>> >> at >>> >> org >>> >> .apache >>> >> >>> > >>> .solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:239) >>> >> at >>> >> org >>> >> .apache >>> >> .catalina >>> >> .core >>> >> >>> > >>> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: >>> > >>> >> 215) >>> >> at >>> >> org >>> >> .apache >>> >> .catalina >>> >> >>> > >>> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) >>> >> at >>> >> org >>> >> .apache >>> >> >>> > >>> .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: >>> > >>> >> 210) >>> >> at >>> >> org >>> >> .apache >>> >> >>> > >>> .catalina.core.StandardContextValve.invoke(StandardContextValve.java: >>> > >>> >> 172) >>> >> at >>> >> org >>> >> .apache >>> >> >>> .catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) >>> >> at >>> >> org >>> >> .apache >>> >> >>> .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) >>> >> at >>> >> org >>> >> .apache >>> >> >>> .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: >>> > >>> >> 108) >>> >> at >>> >> org >>> >> >>> > >>> .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: >>> >> 151) >>> >> at >>> >> org >>> >> >>> .apache.coyote.http11.Http11Processor.process(Http11Processor.java: >>> > >>> >> 870) >>> >> at >>> >> org.apache.coyote.http11.Http11BaseProtocol >>> >> >>> $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: >>> > >>> >> 665) >>> >> at >>> >> org >>> >> .apache >>> >> >>> > >>> .tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java: >>> >> 528) >>> >> at >>> >> org >>> >> .apache >>> >> .tomcat >>> >> .util >>> >> .net >>> >> >>> > >>> .LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) >>> >> at >>> >> org.apache.tomcat.util.threads.ThreadPool >>> >> $ControlRunnable.run(ThreadPool.java:685) >>> >> at java.lang.Thread.run(Thread.java:636) >>> >> On Tue 22/12/09 11:02 , Toby Cole wrote:If you take out the >>> >> fieldCollapsing/fieldCollapseCache element in your >>> >> config the fieldcollapse component will not use a cache. >>> >> From http://wiki.apache.org/solr/FieldCollapsing%2523line-63 [2]" >>> > >>> target="_blank">http://wiki.apache.org/solr/FieldCollapsing%23line-63 >>> > [1]" >>> >> >>> > >>> target="_blank">http://wiki.apache.org/solr/FieldCollapsing%23line-63 >>> > [3]" >>> > >>> target="_blank">http://wiki.ap
Re: Field Collapsing - disable cache
In the latest patch some changes where made on the configuration side, but if you add the CollapseComponent to the conf no field collapse cache should be enabled. If not let me know. Martijn 2009/12/22 : > > > > > > On Tue 22/12/09 12:28 , Martijn v Groningen wrote: > >> Hi Rob, >> What patch are you actually using from SOLR-236? >> Martijn >> 2009/12/22 : >> > I've tried both, the whole fieldCollapsing tag, and just the >> > fieldCollapseCache tag inside it. >> > both cause error. >> > I guess I can just set size, initialSize, and autowarmCount >> to 0 ?? >> > On Tue 22/12/09 11:17 , Toby Cole wrote:Which elements did you >> > comment out? It could be the case that you need >> > to get rid of the entire fieldCollapsing element, not just the >> > fieldCollapsingCache element. >> > (Disclaimer: I've not used field collapsing in anger before :) >> > Toby. >> > >> > On 22 Dec 2009, at 11:09, wrote: >> > >> >> That's what I assumed, but I'm getting the following error with >> it >> >> commented out >> >> MESSAGE null java.lang.NullPointerException at >> >> org >> >> .apache >> >> .solr >> >> .search >> >> .fieldcollapse >> >> .AbstractDocumentCollapser >> >> .createDocumentCollapseResult(AbstractDocumentCollapser.java:276) >> >> at >> >> org >> >> .apache >> >> .solr >> >> .search >> >> .fieldcollapse >> >> .AbstractDocumentCollapser >> >> .executeCollapse(AbstractDocumentCollapser.java:249) >> >> at >> >> org >> >> .apache >> >> .solr >> >> .search >> >> .fieldcollapse >> >> >> .AbstractDocumentCollapser.collapse(AbstractDocumentCollapser.java: >> > >> >> 172) >> >> at >> >> org >> >> .apache >> >> .solr >> >> .handler >> >> >> .component.CollapseComponent.doProcess(CollapseComponent.java:173) >> >> at >> >> org >> >> .apache >> >> .solr >> >> >> > >> .handler.component.CollapseComponent.process(CollapseComponent.java: >> >> 127) >> >> at >> >> org >> >> .apache >> >> .solr >> >> .handler >> >> >> .component.SearchHandler.handleRequestBody(SearchHandler.java:195) >> >> at >> >> org >> >> .apache >> >> .solr >> >> >> > >> .handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) >> >> at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) at >> >> org >> >> .apache >> >> >> > >> .solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:336) >> >> at >> >> org >> >> .apache >> >> >> > >> .solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:239) >> >> at >> >> org >> >> .apache >> >> .catalina >> >> .core >> >> >> > >> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: >> > >> >> 215) >> >> at >> >> org >> >> .apache >> >> .catalina >> >> >> > >> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) >> >> at >> >> org >> >> .apache >> >> >> > >> .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: >> > >> >> 210) >> >> at >> >> org >> >> .apache >> >> >> > >> .catalina.core.StandardContextValve.invoke(StandardContextValve.java: >> > >> >> 172) >> >> at >> >> org >> >> .apache >> >> >> .catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) >> >> at >> >> org >> >> .apache >> >> >> .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) >> >> at >> >> org >> >> .apache >> >> >> .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: >> > >> >> 108) >> >> at >> >> org >> >> >> > >> .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: >> >> 151) >> >> at >> >> org >> >> >> .apache.coyote.http11.Http11Processor.process(Http11Processor.java: >> > >> >> 870) >> >> at >> >> org.apache.coyote.http11.Http11BaseProtocol >> >> >> $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: >> > >> >> 665) >> >> at >> >> org >> >> .apache >> >> >> > >> .tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java: >> >> 528) >> >> at >> >> org >> >> .apache >> >> .tomcat >> >> .util >> >> .net >> >> >> > >> .LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) >> >> at >> >> org.apache.tomcat.util.threads.ThreadPool >> >> $ControlRunnable.run(ThreadPool.java:685) >> >> at java.lang.Thread.run(Thread.java:636) >> >> On Tue 22/12/09 11:02 , Toby Cole wrote:If you take out the >> >> fieldCollapsing/fieldCollapseCache element in your >> >> config the fieldcollapse component will not use a cache. >> >> From http://wiki.apache.org/solr/FieldCollapsing%2523line-63 [2]" >> > >> target="_blank">http://wiki.apache.org/solr/FieldCollapsing%23line-63 >> > [1]" >> >> >> > >> target="_blank">http://wiki.apache.org/solr/FieldCollapsing%23line-63 >> > [3]" >> > >> target="_blank">http://wiki.apache.org/solr/FieldCollapsing#line-63 >> >> "If the field collapse cache is not configured then the field >> >> collapse logic will not be cached." >> >> >> >> Regards, Toby. >> >> >> >> On 22 Dec 2009, at 10:56, wrote: >> >> >> >>> my >> >>> solconfig can be seen at >> > http://www.intelcompute.com/solrconfig.xml [4]" >> > target="_blank">http://www.int
Re: Field Collapsing - disable cache
On Tue 22/12/09 12:28 , Martijn v Groningen wrote: > Hi Rob, > What patch are you actually using from SOLR-236? > Martijn > 2009/12/22 : > > I've tried both, the whole fieldCollapsing tag, and just the > > fieldCollapseCache tag inside it. > >both cause error. > >I guess I can just set size, initialSize, and autowarmCount > to 0 ?? > > On Tue 22/12/09 11:17 , Toby Cole wrote:Which elements did you > > comment out? It could be the case that you need > > to get rid of the entire fieldCollapsing element, not just the > > fieldCollapsingCache element. > > (Disclaimer: I've not used field collapsing in anger before :) > > Toby. > > > > On 22 Dec 2009, at 11:09, wrote: > > > >> That's what I assumed, but I'm getting the following error with > it > >> commented out > >> MESSAGE null java.lang.NullPointerException at > >> org > >> .apache > >> .solr > >> .search > >> .fieldcollapse > >> .AbstractDocumentCollapser > >> .createDocumentCollapseResult(AbstractDocumentCollapser.java:276) > >> at > >> org > >> .apache > >> .solr > >> .search > >> .fieldcollapse > >> .AbstractDocumentCollapser > >> .executeCollapse(AbstractDocumentCollapser.java:249) > >> at > >> org > >> .apache > >> .solr > >> .search > >> .fieldcollapse > >> > .AbstractDocumentCollapser.collapse(AbstractDocumentCollapser.java: > > > >> 172) > >> at > >> org > >> .apache > >> .solr > >> .handler > >> > .component.CollapseComponent.doProcess(CollapseComponent.java:173) > >> at > >> org > >> .apache > >> .solr > >> > > > .handler.component.CollapseComponent.process(CollapseComponent.java: > >> 127) > >> at > >> org > >> .apache > >> .solr > >> .handler > >> > .component.SearchHandler.handleRequestBody(SearchHandler.java:195) > >> at > >> org > >> .apache > >> .solr > >> > > > .handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) > >> at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) at > >> org > >> .apache > >> > > > .solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:336) > >> at > >> org > >> .apache > >> > > > .solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:239) > >> at > >> org > >> .apache > >> .catalina > >> .core > >> > > > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > > > >> 215) > >> at > >> org > >> .apache > >> .catalina > >> > > > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) > >> at > >> org > >> .apache > >> > > > .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: > > > >> 210) > >> at > >> org > >> .apache > >> > > > .catalina.core.StandardContextValve.invoke(StandardContextValve.java: > > > >> 172) > >> at > >> org > >> .apache > >> > .catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > >> at > >> org > >> .apache > >> > .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) > >> at > >> org > >> .apache > >> > .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: > > > >> 108) > >> at > >> org > >> > > > .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > >> 151) > >> at > >> org > >> > .apache.coyote.http11.Http11Processor.process(Http11Processor.java: > > > >> 870) > >> at > >> org.apache.coyote.http11.Http11BaseProtocol > >> > $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: > > > >> 665) > >> at > >> org > >> .apache > >> > > > .tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java: > >> 528) > >> at > >> org > >> .apache > >> .tomcat > >> .util > >> .net > >> > > > .LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) > >> at > >> org.apache.tomcat.util.threads.ThreadPool > >> $ControlRunnable.run(ThreadPool.java:685) > >> at java.lang.Thread.run(Thread.java:636) > >> On Tue 22/12/09 11:02 , Toby Cole wrote:If you take out the > >> fieldCollapsing/fieldCollapseCache element in your > >> config the fieldcollapse component will not use a cache. > >> From http://wiki.apache.org/solr/FieldCollapsing%2523line-63 [2]" > > > target="_blank">http://wiki.apache.org/solr/FieldCollapsing%23line-63 > > [1]" > >> > > > target="_blank">http://wiki.apache.org/solr/FieldCollapsing%23line-63 > > [3]" > > > target="_blank">http://wiki.apache.org/solr/FieldCollapsing#line-63 > >> "If the field collapse cache is not configured then the field > >> collapse logic will not be cached." > >> > >> Regards, Toby. > >> > >> On 22 Dec 2009, at 10:56, wrote: > >> > >>> my > >>> solconfig can be seen at > > http://www.intelcompute.com/solrconfig.xml [4]" > > target="_blank">http://www.intelcompute.com/solrconfig.xml > >> [3]" target="_blank">http://www.intelcompute.com/solrconfig.xml > > [5]" target="_blank">http://www.intelcompute.com/solrconfig.xml > >>> [1] > >>> On Tue 22/12/09 10:51 , wrote:Is > >>> it possible to disable the field collapsing cache? I'm trying > to > >>> perform some speed tests, and have managed to comment out the > >> filter, > >>> queryResult, and document caches succe
Re: Field Collapsing - disable cache
actually i got field-collapse-5.patch, what's the diff? On Tue 22/12/09 12:28 , Martijn v Groningen wrote: > Hi Rob, > What patch are you actually using from SOLR-236? > Martijn > 2009/12/22 : > > I've tried both, the whole fieldCollapsing tag, and just the > > fieldCollapseCache tag inside it. > >both cause error. > >I guess I can just set size, initialSize, and autowarmCount > to 0 ?? > > On Tue 22/12/09 11:17 , Toby Cole wrote:Which elements did you > > comment out? It could be the case that you need > > to get rid of the entire fieldCollapsing element, not just the > > fieldCollapsingCache element. > > (Disclaimer: I've not used field collapsing in anger before :) > > Toby. > > > > On 22 Dec 2009, at 11:09, wrote: > > > >> That's what I assumed, but I'm getting the following error with > it > >> commented out > >> MESSAGE null java.lang.NullPointerException at > >> org > >> .apache > >> .solr > >> .search > >> .fieldcollapse > >> .AbstractDocumentCollapser > >> .createDocumentCollapseResult(AbstractDocumentCollapser.java:276) > >> at > >> org > >> .apache > >> .solr > >> .search > >> .fieldcollapse > >> .AbstractDocumentCollapser > >> .executeCollapse(AbstractDocumentCollapser.java:249) > >> at > >> org > >> .apache > >> .solr > >> .search > >> .fieldcollapse > >> > .AbstractDocumentCollapser.collapse(AbstractDocumentCollapser.java: > > > >> 172) > >> at > >> org > >> .apache > >> .solr > >> .handler > >> > .component.CollapseComponent.doProcess(CollapseComponent.java:173) > >> at > >> org > >> .apache > >> .solr > >> > > > .handler.component.CollapseComponent.process(CollapseComponent.java: > >> 127) > >> at > >> org > >> .apache > >> .solr > >> .handler > >> > .component.SearchHandler.handleRequestBody(SearchHandler.java:195) > >> at > >> org > >> .apache > >> .solr > >> > > > .handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) > >> at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) at > >> org > >> .apache > >> > > > .solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:336) > >> at > >> org > >> .apache > >> > > > .solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:239) > >> at > >> org > >> .apache > >> .catalina > >> .core > >> > > > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > > > >> 215) > >> at > >> org > >> .apache > >> .catalina > >> > > > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) > >> at > >> org > >> .apache > >> > > > .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: > > > >> 210) > >> at > >> org > >> .apache > >> > > > .catalina.core.StandardContextValve.invoke(StandardContextValve.java: > > > >> 172) > >> at > >> org > >> .apache > >> > .catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > >> at > >> org > >> .apache > >> > .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) > >> at > >> org > >> .apache > >> > .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: > > > >> 108) > >> at > >> org > >> > > > .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > >> 151) > >> at > >> org > >> > .apache.coyote.http11.Http11Processor.process(Http11Processor.java: > > > >> 870) > >> at > >> org.apache.coyote.http11.Http11BaseProtocol > >> > $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: > > > >> 665) > >> at > >> org > >> .apache > >> > > > .tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java: > >> 528) > >> at > >> org > >> .apache > >> .tomcat > >> .util > >> .net > >> > > > .LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) > >> at > >> org.apache.tomcat.util.threads.ThreadPool > >> $ControlRunnable.run(ThreadPool.java:685) > >> at java.lang.Thread.run(Thread.java:636) > >> On Tue 22/12/09 11:02 , Toby Cole wrote:If you take out the > >> fieldCollapsing/fieldCollapseCache element in your > >> config the fieldcollapse component will not use a cache. > >> From http://wiki.apache.org/solr/FieldCollapsing%2523line-63 [2]" > > > target="_blank">http://wiki.apache.org/solr/FieldCollapsing%23line-63 > > [1]" > >> > > > target="_blank">http://wiki.apache.org/solr/FieldCollapsing%23line-63 > > [3]" > > > target="_blank">http://wiki.apache.org/solr/FieldCollapsing#line-63 > >> "If the field collapse cache is not configured then the field > >> collapse logic will not be cached." > >> > >> Regards, Toby. > >> > >> On 22 Dec 2009, at 10:56, wrote: > >> > >>> my > >>> solconfig can be seen at > > http://www.intelcompute.com/solrconfig.xml [4]" > > target="_blank">http://www.intelcompute.com/solrconfig.xml > >> [3]" target="_blank">http://www.intelcompute.com/solrconfig.xml > > [5]" target="_blank">http://www.intelcompute.com/solrconfig.xml > >>> [1] > >>> On Tue 22/12/09 10:51 , wrote:Is > >>> it possible to disable the field collapsing cache? I'm trying > to > >>> perform some speed tests, and have managed to comment out the >
Re: Field Collapsing - disable cache
Yup, that's the one, with a copy of trunk from last week. On Tue 22/12/09 12:28 , Martijn v Groningen wrote: > Hi Rob, > What patch are you actually using from SOLR-236? > Martijn > 2009/12/22 : > > I've tried both, the whole fieldCollapsing tag, and just the > > fieldCollapseCache tag inside it. > >both cause error. > >I guess I can just set size, initialSize, and autowarmCount > to 0 ?? > > On Tue 22/12/09 11:17 , Toby Cole wrote:Which elements did you > > comment out? It could be the case that you need > > to get rid of the entire fieldCollapsing element, not just the > > fieldCollapsingCache element. > > (Disclaimer: I've not used field collapsing in anger before :) > > Toby. > > > > On 22 Dec 2009, at 11:09, wrote: > > > >> That's what I assumed, but I'm getting the following error with > it > >> commented out > >> MESSAGE null java.lang.NullPointerException at > >> org > >> .apache > >> .solr > >> .search > >> .fieldcollapse > >> .AbstractDocumentCollapser > >> .createDocumentCollapseResult(AbstractDocumentCollapser.java:276) > >> at > >> org > >> .apache > >> .solr > >> .search > >> .fieldcollapse > >> .AbstractDocumentCollapser > >> .executeCollapse(AbstractDocumentCollapser.java:249) > >> at > >> org > >> .apache > >> .solr > >> .search > >> .fieldcollapse > >> > .AbstractDocumentCollapser.collapse(AbstractDocumentCollapser.java: > > > >> 172) > >> at > >> org > >> .apache > >> .solr > >> .handler > >> > .component.CollapseComponent.doProcess(CollapseComponent.java:173) > >> at > >> org > >> .apache > >> .solr > >> > > > .handler.component.CollapseComponent.process(CollapseComponent.java: > >> 127) > >> at > >> org > >> .apache > >> .solr > >> .handler > >> > .component.SearchHandler.handleRequestBody(SearchHandler.java:195) > >> at > >> org > >> .apache > >> .solr > >> > > > .handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) > >> at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) at > >> org > >> .apache > >> > > > .solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:336) > >> at > >> org > >> .apache > >> > > > .solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:239) > >> at > >> org > >> .apache > >> .catalina > >> .core > >> > > > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > > > >> 215) > >> at > >> org > >> .apache > >> .catalina > >> > > > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) > >> at > >> org > >> .apache > >> > > > .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: > > > >> 210) > >> at > >> org > >> .apache > >> > > > .catalina.core.StandardContextValve.invoke(StandardContextValve.java: > > > >> 172) > >> at > >> org > >> .apache > >> > .catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > >> at > >> org > >> .apache > >> > .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) > >> at > >> org > >> .apache > >> > .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: > > > >> 108) > >> at > >> org > >> > > > .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > >> 151) > >> at > >> org > >> > .apache.coyote.http11.Http11Processor.process(Http11Processor.java: > > > >> 870) > >> at > >> org.apache.coyote.http11.Http11BaseProtocol > >> > $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: > > > >> 665) > >> at > >> org > >> .apache > >> > > > .tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java: > >> 528) > >> at > >> org > >> .apache > >> .tomcat > >> .util > >> .net > >> > > > .LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) > >> at > >> org.apache.tomcat.util.threads.ThreadPool > >> $ControlRunnable.run(ThreadPool.java:685) > >> at java.lang.Thread.run(Thread.java:636) > >> On Tue 22/12/09 11:02 , Toby Cole wrote:If you take out the > >> fieldCollapsing/fieldCollapseCache element in your > >> config the fieldcollapse component will not use a cache. > >> From http://wiki.apache.org/solr/FieldCollapsing%2523line-63 [2]" > > > target="_blank">http://wiki.apache.org/solr/FieldCollapsing%23line-63 > > [1]" > >> > > > target="_blank">http://wiki.apache.org/solr/FieldCollapsing%23line-63 > > [3]" > > > target="_blank">http://wiki.apache.org/solr/FieldCollapsing#line-63 > >> "If the field collapse cache is not configured then the field > >> collapse logic will not be cached." > >> > >> Regards, Toby. > >> > >> On 22 Dec 2009, at 10:56, wrote: > >> > >>> my > >>> solconfig can be seen at > > http://www.intelcompute.com/solrconfig.xml [4]" > > target="_blank">http://www.intelcompute.com/solrconfig.xml > >> [3]" target="_blank">http://www.intelcompute.com/solrconfig.xml > > [5]" target="_blank">http://www.intelcompute.com/solrconfig.xml > >>> [1] > >>> On Tue 22/12/09 10:51 , wrote:Is > >>> it possible to disable the field collapsing cache? I'm trying > to > >>> perform some speed tests, and have managed to comment out the
Re: Field Collapsing - disable cache
Hi Rob, What patch are you actually using from SOLR-236? Martijn 2009/12/22 : > I've tried both, the whole fieldCollapsing tag, and just the > fieldCollapseCache tag inside it. > both cause error. > I guess I can just set size, initialSize, and autowarmCount to 0 ?? > On Tue 22/12/09 11:17 , Toby Cole wrote:Which elements did you > comment out? It could be the case that you need > to get rid of the entire fieldCollapsing element, not just the > fieldCollapsingCache element. > (Disclaimer: I've not used field collapsing in anger before :) > Toby. > > On 22 Dec 2009, at 11:09, wrote: > >> That's what I assumed, but I'm getting the following error with it >> commented out >> MESSAGE null java.lang.NullPointerException at >> org >> .apache >> .solr >> .search >> .fieldcollapse >> .AbstractDocumentCollapser >> .createDocumentCollapseResult(AbstractDocumentCollapser.java:276) >> at >> org >> .apache >> .solr >> .search >> .fieldcollapse >> .AbstractDocumentCollapser >> .executeCollapse(AbstractDocumentCollapser.java:249) >> at >> org >> .apache >> .solr >> .search >> .fieldcollapse >> .AbstractDocumentCollapser.collapse(AbstractDocumentCollapser.java: > >> 172) >> at >> org >> .apache >> .solr >> .handler >> .component.CollapseComponent.doProcess(CollapseComponent.java:173) >> at >> org >> .apache >> .solr >> > .handler.component.CollapseComponent.process(CollapseComponent.java: >> 127) >> at >> org >> .apache >> .solr >> .handler >> .component.SearchHandler.handleRequestBody(SearchHandler.java:195) >> at >> org >> .apache >> .solr >> > .handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) >> at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) at >> org >> .apache >> > .solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:336) >> at >> org >> .apache >> > .solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:239) >> at >> org >> .apache >> .catalina >> .core >> > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > >> 215) >> at >> org >> .apache >> .catalina >> > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) >> at >> org >> .apache >> > .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: > >> 210) >> at >> org >> .apache >> > .catalina.core.StandardContextValve.invoke(StandardContextValve.java: > >> 172) >> at >> org >> .apache >> .catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) >> at >> org >> .apache >> .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) >> at >> org >> .apache >> .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: > >> 108) >> at >> org >> > .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: >> 151) >> at >> org >> .apache.coyote.http11.Http11Processor.process(Http11Processor.java: > >> 870) >> at >> org.apache.coyote.http11.Http11BaseProtocol >> $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: > >> 665) >> at >> org >> .apache >> > .tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java: >> 528) >> at >> org >> .apache >> .tomcat >> .util >> .net >> > .LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) >> at >> org.apache.tomcat.util.threads.ThreadPool >> $ControlRunnable.run(ThreadPool.java:685) >> at java.lang.Thread.run(Thread.java:636) >> On Tue 22/12/09 11:02 , Toby Cole wrote:If you take out the >> fieldCollapsing/fieldCollapseCache element in your >> config the fieldcollapse component will not use a cache. >> From http://wiki.apache.org/solr/FieldCollapsing%2523line-63 [2]" > target="_blank">http://wiki.apache.org/solr/FieldCollapsing%23line-63 > [1]" >> > target="_blank">http://wiki.apache.org/solr/FieldCollapsing%23line-63 > [3]" > target="_blank">http://wiki.apache.org/solr/FieldCollapsing#line-63 >> "If the field collapse cache is not configured then the field >> collapse logic will not be cached." >> >> Regards, Toby. >> >> On 22 Dec 2009, at 10:56, wrote: >> >>> my >>> solconfig can be seen at > http://www.intelcompute.com/solrconfig.xml [4]" > target="_blank">http://www.intelcompute.com/solrconfig.xml >> [3]" target="_blank">http://www.intelcompute.com/solrconfig.xml > [5]" target="_blank">http://www.intelcompute.com/solrconfig.xml >>> [1] >>> On Tue 22/12/09 10:51 , wrote:Is >>> it possible to disable the field collapsing cache? I'm trying to >>> perform some speed tests, and have managed to comment out the >> filter, >>> queryResult, and document caches successfully. >>> >>> on 1.5 >>> ... >>> ... >>> collapse >>> >>> facet >>> >>> tvComponent >>> ... >>> - >>> Message sent via Atmail Open - http://atmail.org/ [6]" > target="_blank">http://atmail.org/ [5]" >> target="_blank">http://atmail.org/ [7]" > target="_blank">http://atmail.org/ [2]" >>> target="_blank">http://atmail.org/ [8]" > target="_blank">http://atmail.org/ [6]" >> target="_blank">http://atmail.org/ [9]" > target="_blank">http://atmail.o
Re: Field Collapsing - disable cache
I've tried both, the whole fieldCollapsing tag, and just the fieldCollapseCache tag inside it. both cause error. I guess I can just set size, initialSize, and autowarmCount to 0 ?? On Tue 22/12/09 11:17 , Toby Cole wrote:Which elements did you comment out? It could be the case that you need to get rid of the entire fieldCollapsing element, not just the fieldCollapsingCache element. (Disclaimer: I've not used field collapsing in anger before :) Toby. On 22 Dec 2009, at 11:09, wrote: > That's what I assumed, but I'm getting the following error with it > commented out > MESSAGE null java.lang.NullPointerException at > org > .apache > .solr > .search > .fieldcollapse > .AbstractDocumentCollapser > .createDocumentCollapseResult(AbstractDocumentCollapser.java:276) > at > org > .apache > .solr > .search > .fieldcollapse > .AbstractDocumentCollapser > .executeCollapse(AbstractDocumentCollapser.java:249) > at > org > .apache > .solr > .search > .fieldcollapse > .AbstractDocumentCollapser.collapse(AbstractDocumentCollapser.java: > 172) > at > org > .apache > .solr > .handler > .component.CollapseComponent.doProcess(CollapseComponent.java:173) > at > org > .apache > .solr > .handler.component.CollapseComponent.process(CollapseComponent.java: > 127) > at > org > .apache > .solr > .handler > .component.SearchHandler.handleRequestBody(SearchHandler.java:195) > at > org > .apache > .solr > .handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) > at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) at > org > .apache > .solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:336) > at > org > .apache > .solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:239) > at > org > .apache > .catalina > .core > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 215) > at > org > .apache > .catalina > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) > at > org > .apache > .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: > 210) > at > org > .apache > .catalina.core.StandardContextValve.invoke(StandardContextValve.java: > 172) > at > org > .apache > .catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > at > org > .apache > .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) > at > org > .apache > .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: > 108) > at > org > .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > 151) > at > org > .apache.coyote.http11.Http11Processor.process(Http11Processor.java: > 870) > at > org.apache.coyote.http11.Http11BaseProtocol > $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: > 665) > at > org > .apache > .tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java: > 528) > at > org > .apache > .tomcat > .util > .net > .LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) > at > org.apache.tomcat.util.threads.ThreadPool > $ControlRunnable.run(ThreadPool.java:685) > at java.lang.Thread.run(Thread.java:636) > On Tue 22/12/09 11:02 , Toby Cole wrote:If you take out the > fieldCollapsing/fieldCollapseCache element in your > config the fieldcollapse component will not use a cache. > From http://wiki.apache.org/solr/FieldCollapsing%2523line-63 [2]" target="_blank">http://wiki.apache.org/solr/FieldCollapsing%23line-63 [1]" > target="_blank">http://wiki.apache.org/solr/FieldCollapsing%23line-63 [3]" target="_blank">http://wiki.apache.org/solr/FieldCollapsing#line-63 > "If the field collapse cache is not configured then the field > collapse logic will not be cached." > > Regards, Toby. > > On 22 Dec 2009, at 10:56, wrote: > >> my >> solconfig can be seen at http://www.intelcompute.com/solrconfig.xml [4]" target="_blank">http://www.intelcompute.com/solrconfig.xml > [3]" target="_blank">http://www.intelcompute.com/solrconfig.xml [5]" target="_blank">http://www.intelcompute.com/solrconfig.xml >> [1] >> On Tue 22/12/09 10:51 , wrote:Is >> it possible to disable the field collapsing cache? I'm trying to >> perform some speed tests, and have managed to comment out the > filter, >> queryResult, and document caches successfully. >> >> on 1.5 >> ... >> ... >> collapse >> >> facet >> >> tvComponent >> ... >> - >> Message sent via Atmail Open - http://atmail.org/ [6]" target="_blank">http://atmail.org/ [5]" > target="_blank">http://atmail.org/ [7]" target="_blank">http://atmail.org/ [2]" >> target="_blank">http://atmail.org/ [8]" target="_blank">http://atmail.org/ [6]" > target="_blank">http://atmail.org/ [9]" target="_blank">http://atmail.org/ >> - >> Message sent via Atmail Open - http://atmail.org/ [10]" target="_blank">http://atmail.org/ [7]" > target="_blank">http://atmail.org/ [11]" target="_blank">http://atmail.org/ >> >> Links: >> -- >> [1] htt
Re: Field Collapsing - disable cache
Which elements did you comment out? It could be the case that you need to get rid of the entire fieldCollapsing element, not just the fieldCollapsingCache element. (Disclaimer: I've not used field collapsing in anger before :) Toby. On 22 Dec 2009, at 11:09, r...@intelcompute.com wrote: That's what I assumed, but I'm getting the following error with it commented out MESSAGE null java.lang.NullPointerException at org .apache .solr .search .fieldcollapse .AbstractDocumentCollapser .createDocumentCollapseResult(AbstractDocumentCollapser.java:276) at org .apache .solr .search .fieldcollapse .AbstractDocumentCollapser .executeCollapse(AbstractDocumentCollapser.java:249) at org .apache .solr .search .fieldcollapse .AbstractDocumentCollapser.collapse(AbstractDocumentCollapser.java: 172) at org .apache .solr .handler .component.CollapseComponent.doProcess(CollapseComponent.java:173) at org .apache .solr .handler.component.CollapseComponent.process(CollapseComponent.java: 127) at org .apache .solr .handler .component.SearchHandler.handleRequestBody(SearchHandler.java:195) at org .apache .solr .handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) at org .apache .solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:336) at org .apache .solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:239) at org .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 215) at org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org .apache .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 210) at org .apache .catalina.core.StandardContextValve.invoke(StandardContextValve.java: 172) at org .apache .catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org .apache .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org .apache .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: 108) at org .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: 151) at org .apache.coyote.http11.Http11Processor.process(Http11Processor.java: 870) at org.apache.coyote.http11.Http11BaseProtocol $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: 665) at org .apache .tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java: 528) at org .apache .tomcat .util .net .LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool $ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:636) On Tue 22/12/09 11:02 , Toby Cole wrote:If you take out the fieldCollapsing/fieldCollapseCache element in your config the fieldcollapse component will not use a cache. From http://wiki.apache.org/solr/FieldCollapsing%23line-63 [1]" target="_blank">http://wiki.apache.org/solr/FieldCollapsing#line-63 "If the field collapse cache is not configured then the field collapse logic will not be cached." Regards, Toby. On 22 Dec 2009, at 10:56, wrote: my solconfig can be seen at http://www.intelcompute.com/solrconfig.xml [3]" target="_blank">http://www.intelcompute.com/solrconfig.xml [1] On Tue 22/12/09 10:51 , wrote:Is it possible to disable the field collapsing cache? I'm trying to perform some speed tests, and have managed to comment out the filter, queryResult, and document caches successfully. on 1.5 ... ... collapse facet tvComponent ... - Message sent via Atmail Open - http://atmail.org/ [5]" target="_blank">http://atmail.org/ [2]" target="_blank">http://atmail.org/ [6]" target="_blank">http://atmail.org/ - Message sent via Atmail Open - http://atmail.org/ [7]" target="_blank">http://atmail.org/ Links: -- [1] http://www.intelcompute.com/solrconfig.xml [8]" target="_blank">http://www.intelcompute.com/solrconfig.xml [2] http://mail.intelcompute.com/parse.php%3Fredirect%3D%26lt%3Ba [9]" target="_blank">http://mail.intelcompute.com/parse.php?redirect=http://blogs.semantico.com/discovery-blog/ - Message sent via Atmail Open - http://atmail.org/ Links: -- [1] http://mail.intelcompute.com/parse.php?redirect=http://mail.intelcompute.com/parse.php?redirect=http://mail.intelcompute.com/parse.php?redirect=http://mail.intelcompute.com/parse.php?redirect=http://mail.intelcompute.com/parse.php?redirect=http://mail.intelcompute.com/parse.php?redirect=http://mail.intelcompute.com/parse.php?redirect=http://mail.intelcompute.com/parse.php?redirect= -- Toby Cole Senior Software Engineer, Semantico Limited Registered in England and Wales no. 03841410, VAT no. GB-744614334. Registered office Lees House, 21-23 Dyke Road, Brighton BN1 3FE, UK. Check out all our latest news and thinking on the Discovery blog http://blogs
Re: Field Collapsing - disable cache
That's what I assumed, but I'm getting the following error with it commented out MESSAGE null java.lang.NullPointerException at org.apache.solr.search.fieldcollapse.AbstractDocumentCollapser.createDocumentCollapseResult(AbstractDocumentCollapser.java:276) at org.apache.solr.search.fieldcollapse.AbstractDocumentCollapser.executeCollapse(AbstractDocumentCollapser.java:249) at org.apache.solr.search.fieldcollapse.AbstractDocumentCollapser.collapse(AbstractDocumentCollapser.java:172) at org.apache.solr.handler.component.CollapseComponent.doProcess(CollapseComponent.java:173) at org.apache.solr.handler.component.CollapseComponent.process(CollapseComponent.java:127) at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:195) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:336) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:239) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:636) On Tue 22/12/09 11:02 , Toby Cole wrote:If you take out the fieldCollapsing/fieldCollapseCache element in your config the fieldcollapse component will not use a cache. From http://wiki.apache.org/solr/FieldCollapsing%23line-63 [1]" target="_blank">http://wiki.apache.org/solr/FieldCollapsing#line-63 "If the field collapse cache is not configured then the field collapse logic will not be cached." Regards, Toby. On 22 Dec 2009, at 10:56, wrote: > my > solconfig can be seen at http://www.intelcompute.com/solrconfig.xml [3]" target="_blank">http://www.intelcompute.com/solrconfig.xml > [1] > On Tue 22/12/09 10:51 , wrote:Is > it possible to disable the field collapsing cache? I'm trying to > perform some speed tests, and have managed to comment out the filter, > queryResult, and document caches successfully. > > on 1.5 > ... > ... > collapse > > facet > > tvComponent > ... > - > Message sent via Atmail Open - http://atmail.org/ [5]" target="_blank">http://atmail.org/ [2]" > target="_blank">http://atmail.org/ [6]" target="_blank">http://atmail.org/ > - > Message sent via Atmail Open - http://atmail.org/ [7]" target="_blank">http://atmail.org/ > > Links: > -- > [1] http://www.intelcompute.com/solrconfig.xml [8]" target="_blank">http://www.intelcompute.com/solrconfig.xml > [2] http://mail.intelcompute.com/parse.php%3Fredirect%3D%26lt%3Ba [9]" target="_blank">http://mail.intelcompute.com/parse.php?redirect=http://blogs.semantico.com/discovery-blog/ - Message sent via Atmail Open - http://atmail.org/ Links: -- [1] http://mail.intelcompute.com/parse.php?redirect=http://mail.intelcompute.com/parse.php?redirect=http://mail.intelcompute.com/parse.php?redirect=http://mail.intelcompute.com/parse.php?redirect=http://mail.intelcompute.com/parse.php?redirect=http://mail.intelcompute.com/parse.php?redirect=http://mail.intelcompute.com/parse.php?redirect=http://mail.intelcompute.com/parse.php?redirect=
Re: Field Collapsing - disable cache
If you take out the fieldCollapsing/fieldCollapseCache element in your config the fieldcollapse component will not use a cache. From http://wiki.apache.org/solr/FieldCollapsing#line-63 "If the field collapse cache is not configured then the field collapse logic will not be cached." Regards, Toby. On 22 Dec 2009, at 10:56, r...@intelcompute.com wrote: my solconfig can be seen at http://www.intelcompute.com/solrconfig.xml [1] On Tue 22/12/09 10:51 , r...@intelcompute.com wrote:Is it possible to disable the field collapsing cache? I'm trying to perform some speed tests, and have managed to comment out the filter, queryResult, and document caches successfully. on 1.5 ... ... collapse facet tvComponent ... - Message sent via Atmail Open - http://atmail.org/ [2]" target="_blank">http://atmail.org/ - Message sent via Atmail Open - http://atmail.org/ Links: -- [1] http://www.intelcompute.com/solrconfig.xml [2] http://mail.intelcompute.com/parse.php?redirect= -- Toby Cole Senior Software Engineer, Semantico Limited Registered in England and Wales no. 03841410, VAT no. GB-744614334. Registered office Lees House, 21-23 Dyke Road, Brighton BN1 3FE, UK. Check out all our latest news and thinking on the Discovery blog http://blogs.semantico.com/discovery-blog/
Field Collapsing - disable cache
Is it possible to disable the field collapsing cache? I'm trying to perform some speed tests, and have managed to comment out the filter, queryResult, and document caches successfully. on 1.5 ... ... collapse facet tvComponent ... - Message sent via Atmail Open - http://atmail.org/
Re: Field Collapsing - disable cache
my solconfig can be seen at http://www.intelcompute.com/solrconfig.xml [1] On Tue 22/12/09 10:51 , r...@intelcompute.com wrote:Is it possible to disable the field collapsing cache? I'm trying to perform some speed tests, and have managed to comment out the filter, queryResult, and document caches successfully. on 1.5 ... ... collapse facet tvComponent ... - Message sent via Atmail Open - http://atmail.org/ [2]" target="_blank">http://atmail.org/ - Message sent via Atmail Open - http://atmail.org/ Links: -- [1] http://www.intelcompute.com/solrconfig.xml [2] http://mail.intelcompute.com/parse.php?redirect=