I was afraid you'd hit that. I'll look into this as soon as I can (may be the weekend before I get to it).

You can fix it by putting this in your environment.rb:

:dismax_query_params => {:phrase_fields => "title_text^2.2 author_text^0.5 call_number_text^5.0 isbn_text^5.0", :phrase_slop => 1000, :alternate_query => "*:*", }

This will go into your environment specific configuration.

The dismax thing was an experiment, so its not quite fully baked. (and again, Flare is still a hack and major work in progress, caveat emptor).

If the above trick doesn't work, I'll switch it so that the standard request handler is the default (look in the context.rb in the flare plugin if you want to adjust it yourself)

        Erik



On Mar 29, 2007, at 11:56 AM, Antonio Eggberg wrote:


--- Erik Hatcher <[EMAIL PROTECTED]> skrev:

What do you have configured in your solrconfig.xml for the dismax
request handler? You've likely got it referenced in there erroneously.

        Erik

Yes! you are correct. But now i have a new error. I have the exact same solrconf/schema from solr-ruby/solr/conf .. I am using the sample data..I can perform search using the solr-admin both with standard handler and dismax. But not with flare...:-( Now I can't even get to the flare start
page..

I am running the trunk version of solr and there has been some dismax code changes..

SEVERE: org.apache.solr.core.SolrException: missing query string
        at
org.apache.solr.request.DisMaxRequestHandler.handleRequestBody (DisMaxRequestHandler.java:230) 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 5:53:22 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&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&pf=author_text&pf= full_title_text&pf=pages_text&pf=description_text&pf=title_text&pf=asi n_text&hl=true&facet.sort=true
0 29


        
        
                
_________________________________________________________
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

Reply via email to