Re: Search Results optimization

2010-09-07 Thread Chris Hostetter
: also my request handler looks like this : : : : dismax : name ^2.4 : 0.1 : : that request handler doesn't match up with the output you posted in your previous message -- according to it, you were using qt=standard1 (not qt=mb_artists). the output you posted shows you using a query parse

Re: Search Results optimization

2010-08-30 Thread Lance Norskog
Hi- Here is how it works: Lucene uses TF/DF as the "relevance" formula. This means "term frequency divided by document frequency", or the number of times a term appears in one document over the number of documents that term appears in. This is the basic idea: suppose there are 10 documents say "s

Re: Search Results optimization

2010-08-29 Thread Hasnain
also my request handler looks like this dismax name ^2.4 0.1 I really need some help on this, again, what I want is...if I search for "swingline red stapler", In results, docs that have all three keywords should come on top, then docs that have any 2 keywords and then docs with 1 keyword, i

Re: Search Results optimization

2010-08-27 Thread Hasnain
Thank you so much for valuable suggestions this is the query im using q=swingline red stapler hammer hand rigid&fl=name&qt=standard1&rows=35&debugQuery=true here is my output, as you can see close to last records, "Swingline Stapler" scored more than "Swingline Red Stapler - 747 series, but I

Re: Search Results optimization

2010-08-26 Thread Chris Hostetter
: : if user searches for "swingline red stapler hammer hand rigid", then : documents that matches max number of words written in query should come : first : e.g a document with name field as "swingline stapler" should come later than : the document with "swingline red stapler" at a fundemental le

Re: Search Results optimization

2010-08-26 Thread Rob Casson
you might find these helpful...similar question came up last week: http://ln-s.net/7WpX http://robotlibrarian.billdueber.com/solr-forcing-items-with-all-query-terms-to-the-top-of-a-solr-search/ not exactly the same, as this case wanted to boost if *every* term matched, but a similar ta

Re: Search Results optimization

2010-08-26 Thread Hasnain
perhaps i wasnt clear in my earlier post if user searches for "swingline red stapler hammer hand rigid", then documents that matches max number of words written in query should come first e.g a document with name field as "swingline stapler" should come later than the document with "swingline red

Re: Search Results optimization

2010-08-13 Thread Hasnain
im sorry, query q=stapler^100 hammer ^0 is working fine, but I still need guidance with my second question. -- View this message in context: http://lucene.472066.n3.nabble.com/Search-Results-optimization-tp1129374p1138110.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Search Results optimization

2010-08-13 Thread Hasnain
Thank you for quick response I've tried using boosting and used the query q=stapler^100 hammer ^0, but it is still mixing up the results, am I doing it wrong? also, if I have items named as "Swingline red stapler" and "Arm & hammer", how would I know when querying that "swingline red stapler" is o

Re: Search Results optimization

2010-08-13 Thread Marco Martinez
You can use a boost higher for stapler to accomplished your requirement. Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón Tel.: 91 352 59 42 2010/8/13 Hasnain > > Hi All, > > My question is related to search results,