mlt.qf with multiple fields

2011-05-04 Thread Luke Crouch
I'm trying to use MoreLikeThis handler and mlt.qf to boost certain fields: /solr/mlt?q=id:1&mlt.fl=body_title,text&mlt.qf=body_title^20.0+text^1.0&mlt.mintf=1 Looks like this has been an outstanding issue: http://lucene.472066.n3.nabble.com/Querying-multiple-fields-with-the-MoreLikeThis-handler-

Re: terms / stemming?

2010-09-29 Thread Luke Crouch
Make sure your index and query analyzers are identical, and pay special attention if you're using any of the http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#Stemminganalyzers - many of them have a number of configurable attributes that could cause differences. -L On Wed, Sep 29, 2010

Re: How to set up multiple indexes?

2010-09-29 Thread Luke Crouch
Check http://doc.ez.no/Extensions/eZ-Find/2.2/Advanced-Configuration/Using-multi-core-features It's for eZ-Find, but it's the basic setup for multiple cores in any environment. We have cores designed like so: solr/sfx/ solr/forum/ solr/mail/ solr/news/ solr/tracker/ each of those core directori

Re: Missing facet values for zero counts

2010-09-29 Thread Luke Crouch
We had to do the same thing - we draw our facet navigation links by looping over the full result set from our database, and then we add the facet counts and draw the link url's using the solr data. -L On Wed, Sep 29, 2010 at 8:42 AM, Markus Jelsma wrote: > I'm afraid you'd have to add the missin

Re: Dismax Request handler and Solrconfig.xml

2010-09-28 Thread Luke Crouch
I notice we don't have the default=true, instead we manually specify qt=dismax in our queries. HTH. -L On Tue, Sep 28, 2010 at 4:24 PM, Luke Crouch wrote: > What you have is exactly what I have on 1.4.0: > > > > > dismax > > And it has worked fine.

Re: Dismax Request handler and Solrconfig.xml

2010-09-28 Thread Luke Crouch
What you have is exactly what I have on 1.4.0: dismax And it has worked fine. We copied our solrconfig.xml from the examples and changed them for our purposes. You might compare your solrconfig.xml to some of the examples. -L On Tue, Sep 28, 2010 at 4:19 PM, Thumuluri, Sai < sai.th

Re: Best way to check Solr index for completeness

2010-09-28 Thread Luke Crouch
Is there a 1:1 ratio of db records to solr documents? If so, couldn't you simply select the most recent updated record from the db and check to make sure the corresponding solr doc has the same timestamp? -L On Tue, Sep 28, 2010 at 3:48 PM, Dmitriy Shvadskiy wrote: > Hello, > What would be the b

Re: Using separate Analyzers for querying and indexing.

2010-09-28 Thread Luke Crouch
Yeah. You can specify two analyzers in the same fieldType: ... ... -L On Tue, Sep 28, 2010 at 2:31 PM, James Norton wrote: > Hello, > > I am migrating from a pure Lucene application to using solr. For legacy > reasons I must support a somewhat obscure query feature: lowercase words in >

Re: Dismax Request handler and Solrconfig.xml

2010-09-28 Thread Luke Crouch
Are you removing the standard default requestHandler when you do this? Or are you specifying two requestHandler's with default="true" ? -L On Tue, Sep 28, 2010 at 11:14 AM, Thumuluri, Sai < sai.thumul...@verizonwireless.com> wrote: > Hi, > > I am using Solr 1.4.1 with Nutch to index some of our

resources for relevancy score tuning

2010-09-27 Thread Luke Crouch
Can someone share some good resources (books, articles, links, etc.) for tuning relevancy scores with multiple factors? I'm playing with different fields and boosts in my 'qf', 'pf', and 'bf' defaults but I feel like I'm shooting in the dark. http://wiki.apache.org/solr/SolrRelevancyCookbook has a