You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Joe Calderon <ca...@gmail.com> on 2009/10/23 01:01:54 UTC

boostQParser and dismax

hello *, i was just reading over the wiki function query page and
found this little gem for boosting recent docs thats much better than
what i was doing before

recip(ms(NOW,mydatefield),3.16e-11,1,1)


my question is, at the bottom it says
The most effective way to use such a boost is to multiply it with the
relevancy score, rather than add it in. One way to do this is with the
boost query parser.


how exactly do i use the boost query parser along with the dismax
parser? can someone post an example solrconfig snippet?


thx much

--joe

Re: Our new international sites powered by SOLR and wrapped by DOTNET are up and out! Yay!

Posted by William Pierce <ev...@hotmail.com>.
Congratulations on this....What dotnet library did you use?   We are also 
using solr in our windows2003/C# environment but currently simply use HTTP 
to query and the Dataimport handler to update the indices...

- Bill

--------------------------------------------------
From: "Robert Petersen" <ro...@buy.com>
Sent: Thursday, October 22, 2009 4:39 PM
To: <so...@lucene.apache.org>
Subject: Our new international sites powered by SOLR and wrapped by DOTNET 
are up and out!  Yay!

> We are *very* happy with the lucid imagination distro of SOLR.  Here is
> our official press release.  These were done with one core per
> Language/Country btw...  :)
>
> BUY.COM(r) LAUNCHES INTERNATIONAL ONLINE RETAILING WEBSITES
>
> Just in Time for the Holidays, Leading Online Retailer Delivers
> the Best Deals, Free Shipping to Shoppers in Canada and Europe
>
>
> ALISO VIEJO, Calif., October 21, 2009 - Buy.com(r), The Internet
> Superstore(tm), today announced its international expansion with
> dedicated e-commerce sites for customers in Canada, France, Germany and
> the United Kingdom, giving shoppers access to the best deals online and
> free shipping on today's hottest consumer electronics and technology
> products.
>
> As part of its international expansion, Buy.com also will sell on eBay
> sites in these four countries. By the end of the year, the company will
> open e-commerce sites for Italy and Spain, with plans to eventually
> increase its footprint worldwide and expand its product offerings with
> new categories and the addition of Marketplace sellers.
>
> Local, in-country e-commerce warehouses enable shoppers to take
> advantage of speedier delivery time and customized product information
> in local languages and currencies compared to shopping on Buy.com's U.S.
> site.
>
> "We plan to replicate our successful online retailing model throughout
> the world," said Neel Grover, President and CEO, Buy.com.  "Like
> Buy.com's U.S. roots, we're introducing our core offerings in
> electronics first, but we plan to deliver robust product catalogs
> featuring a variety of categories and the same value-added services to
> our global customers."
>
> Just in time for the holiday season, international shoppers have a new
> destination for a great online shopping experience.  To help shoppers
> make the best purchasing decisions, Buy.com offers user reviews, free
> shipping and special deals and promotions.
>
>
> In addition, Buy.com also provides an environmentally friendly shopping
> alternative.  Carnegie Mellon University's Green Design Institute
> recently conducted a retail environmental impact study, showing that
> shopping online via Buy.com's virtual e-commerce model reduces energy
> consumption and carbon emissions by 35 percent compared to shopping at
> traditional brick-and-mortar outlets.
>
> Shoppers can visit Buy.com's new international websites at ca.buy.com
> (Canada); fr.buy.com (France); de.buy.com (Germany) and uk.buy.com
> (United Kingdom).
>
>
>
>
> About Buy.com
> With more than 12 million customer accounts, Buy.com is a leading retail
> marketplace, focused on providing its customers with a rewarding
> shopping experience and a broad selection of high-quality technology and
> entertainment retail goods at competitive prices. Buy.com offers
> millions of products in a range of categories, including consumer
> electronics, computer hardware and software, cell phones, books, music,
> videos, games, toys, bags, fragrance, home and outdoor, baby, jewelry,
> shoes, apparel and sporting goods. Founded in June of 1997, Buy.com is
> headquartered in Aliso Viejo, California. Buy.com(r) and The Internet
> Superstore(tm) are trademarks of Buy.com Inc. Buy.com currently competes
> with a variety of companies that can be divided into two broad
> categories: (i) retailers and ecommerce marketplaces such as Wal-Mart
> and (ii) specialty retailers or manufacturers such as Barnes & Noble,
> Best Buy and Dell.
>
>
> 

Our new international sites powered by SOLR and wrapped by DOTNET are up and out! Yay!

Posted by Robert Petersen <ro...@buy.com>.
We are *very* happy with the lucid imagination distro of SOLR.  Here is
our official press release.  These were done with one core per
Language/Country btw...  :)

BUY.COM(r) LAUNCHES INTERNATIONAL ONLINE RETAILING WEBSITES

Just in Time for the Holidays, Leading Online Retailer Delivers 
the Best Deals, Free Shipping to Shoppers in Canada and Europe


ALISO VIEJO, Calif., October 21, 2009 - Buy.com(r), The Internet
Superstore(tm), today announced its international expansion with
dedicated e-commerce sites for customers in Canada, France, Germany and
the United Kingdom, giving shoppers access to the best deals online and
free shipping on today's hottest consumer electronics and technology
products.

As part of its international expansion, Buy.com also will sell on eBay
sites in these four countries. By the end of the year, the company will
open e-commerce sites for Italy and Spain, with plans to eventually
increase its footprint worldwide and expand its product offerings with
new categories and the addition of Marketplace sellers.

Local, in-country e-commerce warehouses enable shoppers to take
advantage of speedier delivery time and customized product information
in local languages and currencies compared to shopping on Buy.com's U.S.
site.

"We plan to replicate our successful online retailing model throughout
the world," said Neel Grover, President and CEO, Buy.com.  "Like
Buy.com's U.S. roots, we're introducing our core offerings in
electronics first, but we plan to deliver robust product catalogs
featuring a variety of categories and the same value-added services to
our global customers."   

Just in time for the holiday season, international shoppers have a new
destination for a great online shopping experience.  To help shoppers
make the best purchasing decisions, Buy.com offers user reviews, free
shipping and special deals and promotions.  


In addition, Buy.com also provides an environmentally friendly shopping
alternative.  Carnegie Mellon University's Green Design Institute
recently conducted a retail environmental impact study, showing that
shopping online via Buy.com's virtual e-commerce model reduces energy
consumption and carbon emissions by 35 percent compared to shopping at
traditional brick-and-mortar outlets.  

Shoppers can visit Buy.com's new international websites at ca.buy.com
(Canada); fr.buy.com (France); de.buy.com (Germany) and uk.buy.com
(United Kingdom).



 
About Buy.com
With more than 12 million customer accounts, Buy.com is a leading retail
marketplace, focused on providing its customers with a rewarding
shopping experience and a broad selection of high-quality technology and
entertainment retail goods at competitive prices. Buy.com offers
millions of products in a range of categories, including consumer
electronics, computer hardware and software, cell phones, books, music,
videos, games, toys, bags, fragrance, home and outdoor, baby, jewelry,
shoes, apparel and sporting goods. Founded in June of 1997, Buy.com is
headquartered in Aliso Viejo, California. Buy.com(r) and The Internet
Superstore(tm) are trademarks of Buy.com Inc. Buy.com currently competes
with a variety of companies that can be divided into two broad
categories: (i) retailers and ecommerce marketplaces such as Wal-Mart
and (ii) specialty retailers or manufacturers such as Barnes & Noble,
Best Buy and Dell.



Re: boostQParser and dismax

Posted by Yonik Seeley <yo...@lucidimagination.com>.
On Thu, Oct 22, 2009 at 7:01 PM, Joe Calderon <ca...@gmail.com> wrote:
> hello *, i was just reading over the wiki function query page and
> found this little gem for boosting recent docs thats much better than
> what i was doing before
>
> recip(ms(NOW,mydatefield),3.16e-11,1,1)

Thanks, it's pretty new (like 2 or 3 days).  Still kind of arbitrary
(1 year old = 1/2 the relevance) but it seemed like a decent starting
point.

> my question is, at the bottom it says
> The most effective way to use such a boost is to multiply it with the
> relevancy score, rather than add it in. One way to do this is with the
> boost query parser.
>
> how exactly do i use the boost query parser along with the dismax
> parser? can someone post an example solrconfig snippet?

See the boost link if you haven't already:
http://lucene.apache.org/solr/api/org/apache/solr/search/BoostQParserPlugin.html

The value of the boost ("foo" in that example) is a full sub-query...
meaning you can change it's type
and specify it as {!dismax qf=text pf=text}foo

Or, you could set the defaultType for the subquery to dismax in the
boost itself  (and specify the other dismax params globally):

{!boost b=... defType=dismax v=$qq}
&qq=ipod
&qf=text
&pf=text
...

See also the basic rules of LocalParams if you haven't already:
http://wiki.apache.org/solr/LocalParams

And the relevancy faq:
http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_boost_the_score_of_newer_documents

And here's a full URL for you to chew on:
http://localhost:8983/solr/select?q={!boost b=$dateboost v=$qq
defType=dismax}&dateboost=recip(ms(NOW,manufacturedate_dt),3.16e-11,1,1)&qf=text&pf=text&qq=ipod+touch&debugQuery=true


-Yonik
http://www.lucidimagination.com