Return-Path: Delivered-To: apmail-lucene-solr-user-archive@locus.apache.org Received: (qmail 58388 invoked from network); 24 Sep 2008 15:54:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Sep 2008 15:54:06 -0000 Received: (qmail 48449 invoked by uid 500); 24 Sep 2008 15:53:59 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 48424 invoked by uid 500); 24 Sep 2008 15:53:59 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 48413 invoked by uid 99); 24 Sep 2008 15:53:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Sep 2008 08:53:59 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of numardbsd@gmail.com designates 209.85.142.188 as permitted sender) Received: from [209.85.142.188] (HELO ti-out-0910.google.com) (209.85.142.188) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Sep 2008 15:52:59 +0000 Received: by ti-out-0910.google.com with SMTP id b8so1486842tic.11 for ; Wed, 24 Sep 2008 08:53:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:face:mime-version :content-type:content-transfer-encoding; bh=nnbFIV+E8MpT/BHSp7WLm9CCm18MOpbfqnodGnEEfoU=; b=eb9BtaSB6ZsWa7oSr1ItcXAKWaHfn54gjiflPau+69vFbNMhfa0NIj7Lq1R29317ku ZWZ01blBxWfsq64dIJdNJG8RfiYOWrHwBPDJLgQZTdqrh8y3A9c22e5EDEhlK+qdncRS RToIQfkUTDtFbaBOj5fcp4GSuwo7dSFb8HUWU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :face:mime-version:content-type:content-transfer-encoding; b=Dd4Z/qRRrb02KOWwCcHhiyKI1oPiSuU/eDgeEEGPBNwHgp9FJqleEPdV81oHG7v+T6 3GQ61UnDgZdZoZBPgI0vqclQKL94DkugC1bKHYJvdoyxVqAkSEIs2SWqwY/URva1bXfK z72IWeOwZOjI1Da4iGk0lOolvENqP+zF9bnok= Received: by 10.110.33.15 with SMTP id g15mr9628654tig.54.1222271592746; Wed, 24 Sep 2008 08:53:12 -0700 (PDT) Received: from ayiin ( [203.166.246.80]) by mx.google.com with ESMTPS id w12sm1501099tib.10.2008.09.24.08.53.05 (version=SSLv3 cipher=RC4-MD5); Wed, 24 Sep 2008 08:53:07 -0700 (PDT) Date: Thu, 25 Sep 2008 01:53:02 +1000 From: Norberto Meijome To: solr-user@lucene.apache.org Subject: Re: Dismax , "query phrases" Message-ID: <20080925015302.72bb2779@ayiin> In-Reply-To: <849011.28198.qm@web50304.mail.re2.yahoo.com> References: <849011.28198.qm@web50304.mail.re2.yahoo.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.1) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Wed, 24 Sep 2008 08:34:57 -0700 (PDT) Otis Gospodnetic wrote: > What happens if you change ps from 100 to 1 and comment out that ord function? > > > Otis Hi Otis, no luck - without " " : smashing pumpkins smashing pumpkins +((DisjunctionMaxQuery((genre:smash^0.2 | title_ngram2:"sm ma as sh hi in ng"^0.1 | artist_ngram2:"sm ma as sh hi in ng"^0.1 | title_ngram3:"sma mas ash shi hin ing"^4.5 | title:smash^6.0 | artist_ngram3:"sma mas ash shi hin ing"^3.5 | artist:smash^4.0 | artist_exact:smashing^100.0 | title_exact:smashing^200.0)~0.01) DisjunctionMaxQuery((genre:pumpkin^0.2 | title_ngram2:"pu um mp pk ki in ns"^0.1 | artist_ngram2:"pu um mp pk ki in ns"^0.1 | title_ngram3:"pum ump mpk pki kin ins"^4.5 | title:pumpkin^6.0 | artist_ngram3:"pum ump mpk pki kin ins"^3.5 | artist:pumpkin^4.0 | artist_exact:pumpkins^100.0 | title_exact:pumpkins^200.0)~0.01))~2) DisjunctionMaxQuery((title:"smash pumpkin"~1^2.0 | artist:"smash pumpkin"~1^0.8)~0.01) ___ +(((genre:smash^0.2 | title_ngram2:"sm ma as sh hi in ng"^0.1 | artist_ngram2:"sm ma as sh hi in ng"^0.1 | title_ngram3:"sma mas ash shi hin ing"^4.5 | title:smash^6.0 | artist_ngram3:"sma mas ash shi hin ing"^3.5 | artist:smash^4.0 | artist_exact:smashing^100.0 | title_exact:smashing^200.0)~0.01 (genre:pumpkin^0.2 | title_ngram2:"pu um mp pk ki in ns"^0.1 | artist_ngram2:"pu um mp pk ki in ns"^0.1 | title_ngram3:"pum ump mpk pki kin ins"^4.5 | title:pumpkin^6.0 | artist_ngram3:"pum ump mpk pki kin ins"^3.5 | artist:pumpkin^4.0 | artist_exact:pumpkins^100.0 | title_exact:pumpkins^200.0)~0.01)~2) (title:"smash pumpkin"~1^2.0 | artist:"smash pumpkin"~1^0.8)~0.01 Still OK if I include " "... I am trying on another setup, with same data, to work with shingles rather than on 'exact' ... dismax seems to handle it much better...but it may be that I haven't added to that config all the ngram3 &ngram3 fields for substring matching... the resulting params were : 2<-1 5<-2 6<90% true true 0.01 store_albums.xsl ___ title_exact^200.0 artist_exact^100.0 title^6.0 title_ngram3^4.5 artist^4.0 artist_ngram3^3.5 title_ngram2^0.1 artist_ngram2^0.1 genre^0.2 *:* true xml dismax 10 true title^2.0 artist^0.8 all *,score 1 1 true all xml smashing pumpkins thanks, B _________________________ {Beto|Norberto|Numard} Meijome "Don't remember what you can infer." Harry Tennant I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.