lucene-ruby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: flare - missing cat field??
Date Thu, 29 Mar 2007 14:52:39 GMT
What do you have configured in your solrconfig.xml for the dismax  
request handler?   You've likely got it referenced in there erroneously.

	Erik


On Mar 29, 2007, at 7:21 AM, Antonio Eggberg wrote:

> Hi:
>
> I am as always bit confused :-) When you browse facets ..it works  
> but the search box throws out a
> missing cat field.. I am using the delicous sample data..NOTE ..  
> Auto suggest query is using
> standard query handler instead of dismax..
>
> Browse ..
>
> Mar 29, 2007 1:13:54 PM org.apache.solr.core.SolrCore execute
> INFO: null
> facet.limit=20&wt=ruby&rows=25&start=0&facet=true&facet.mincount=1&fl=

> *,score&qt=dismax&hl.fl=author_text,full_title_text,pages_text,descrip 
> tion_text,title_text,asin_text&facet.field=publisher_facet&facet.field 
> =country_facet&facet.field=genre_facet&facet.field=medium_facet&facet. 
> field=published_year_facet&facet.field=rating_facet&fq=publisher_facet 
> :"Harper 
> +Paperbacks"&pf=author_text&pf=full_title_text&pf=pages_text&pf=descri

> ption_text&pf=title_text&pf=asin_text&hl=true&facet.sort=true
> 0 42
>
> Search using the search box..
>
> Mar 29, 2007 1:15:23 PM org.apache.solr.core.SolrException log
> SEVERE: org.apache.solr.core.SolrException: undefined field cat
>         at org.apache.solr.schema.IndexSchema.getDynamicFieldType 
> (IndexSchema.java:765)
>         at org.apache.solr.schema.IndexSchema 
> $SolrQueryAnalyzer.getAnalyzer(IndexSchema.java:275)
>         at org.apache.solr.schema.IndexSchema 
> $SolrIndexAnalyzer.tokenStream(IndexSchema.java:253)
>         at org.apache.lucene.queryParser.QueryParser.getFieldQuery 
> (QueryParser.java:423)
>         at org.apache.solr.search.SolrQueryParser.getFieldQuery 
> (SolrQueryParser.java:78)
>         at
> org.apache.solr.util.SolrPluginUtils 
> $DisjunctionMaxQueryParser.getFieldQuery(SolrPluginUtils.java:775)
>         at
> org.apache.solr.util.SolrPluginUtils 
> $DisjunctionMaxQueryParser.getFieldQuery(SolrPluginUtils.java:763)
>         at org.apache.lucene.queryParser.QueryParser.Term 
> (QueryParser.java:1077)
>         at org.apache.lucene.queryParser.QueryParser.Clause 
> (QueryParser.java:964)
>         at org.apache.lucene.queryParser.QueryParser.Query 
> (QueryParser.java:892)
>         at org.apache.lucene.queryParser.QueryParser.parse 
> (QueryParser.java:145)
>         at
> org.apache.solr.request.DisMaxRequestHandler.handleRequestBody 
> (DisMaxRequestHandler.java:238)
>         at org.apache.solr.handler.RequestHandlerBase.handleRequest 
> (RequestHandlerBase.java:77)
>         at org.apache.solr.core.SolrCore.execute(SolrCore.java:654)
>         at org.apache.solr.servlet.SolrServlet.doGet 
> (SolrServlet.java:66)
>         at org.apache.solr.servlet.SolrServlet.doPost 
> (SolrServlet.java:53)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java: 
> 616)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java: 
> 689)
>         at org.mortbay.jetty.servlet.ServletHolder.handle 
> (ServletHolder.java:428)
>         at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter 
> (WebApplicationHandler.java:830)
>         at org.apache.solr.servlet.SolrDispatchFilter.doFilter 
> (SolrDispatchFilter.java:137)
>         at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter 
> (WebApplicationHandler.java:821)
>         at
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch 
> (WebApplicationHandler.java:471)
>         at org.mortbay.jetty.servlet.ServletHandler.handle 
> (ServletHandler.java:568)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
>         at org.mortbay.jetty.servlet.WebApplicationContext.handle 
> (WebApplicationContext.java:633)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:909)
>         at org.mortbay.http.HttpConnection.service 
> (HttpConnection.java:820)
>         at org.mortbay.http.HttpConnection.handleNext 
> (HttpConnection.java:986)
>         at org.mortbay.http.HttpConnection.handle 
> (HttpConnection.java:837)
>         at org.mortbay.http.SocketListener.handleConnection 
> (SocketListener.java:245)
>         at org.mortbay.util.ThreadedServer.handle 
> (ThreadedServer.java:357)
>         at org.mortbay.util.ThreadPool$PoolThread.run 
> (ThreadPool.java:534)
>
> Mar 29, 2007 1:15:23 PM org.apache.solr.core.SolrCore execute
> INFO: null
> wt=ruby&facet.limit=20&rows=25&start=0&facet=true&facet.mincount=1&fl=

> *,score&q=(corwell) 
> &qt=dismax&hl.fl=author_text,full_title_text,pages_text,description_te 
> xt,title_text,asin_text&facet.field=publisher_facet&facet.field=countr 
> y_facet&facet.field=genre_facet&facet.field=medium_facet&facet.field=p 
> ublished_year_facet&facet.field=rating
>
>
> Auto suggest
>
> Mar 29, 2007 1:15:12 PM org.apache.solr.core.SolrCore execute
> INFO: null
> facet.limit=5&wt=ruby&rows=0&facet=true&facet.mincount=1&fl=*,score&q=

> *:*&qt=standard&facet.missing=true&facet.field=text&facet.prefix=cor&f

> acet.sort=true
> 0 2
> Mar 29, 2007 1:15:13 PM org.apache.solr.core.SolrCore execute
> INFO: null
> facet.limit=5&wt=ruby&rows=0&facet=true&facet.mincount=1&fl=*,score&q=

> *:*&qt=standard&facet.missing=true&facet.field=text&facet.prefix=corwe

> &facet.sort=true
> 0 3
> Mar 29, 2007 1:15:14 PM org.apache.solr.core.SolrCore execute
> INFO: null
> facet.limit=5&wt=ruby&rows=0&facet=true&facet.mincount=1&fl=*,score&q=

> *:*&qt=standard&facet.missing=true&facet.field=text&facet.prefix=corwe

> ll&facet.sort=true
> 0 1
>
>
>
> 	
> 	
> 		
> _________________________________________________________
> Flyger tiden iväg? Fånga dagen med Yahoo! Mails inbyggda
> kalender. Dessutom 250 MB gratis, virusscanning och antispam. Få  
> den på: http://se.mail.yahoo.com


Mime
View raw message