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 Chris Warner <ch...@yahoo.com> on 2012/04/18 19:16:51 UTC
Can you suggest a method or pattern to consistently promote a document with any query?
Hi, folks,
Perhaps I'm overlooking an obvious solution to a common desire... I'd like to return a specific document with every query, as the first result. As well, I'd like to have that document be the first result in a *:* query.
I'm looking into index time boosting using the boost attribute on the appropriate doc. I haven't tested this yet, and I'm not sure this would do anything for the *:* queries.
Thanks for any suggested reading or patterns...
Best,
Chris
--
chris_warner@yahoo.com
Re: Can you suggest a method or pattern to consistently promote a document with any query?
Posted by Chris Warner <ch...@yahoo.com>.
Browsing all documents and all facets, skipper.
Cheers,
Chris
----- Original Message -----
From: Walter Underwood <wu...@wunderwood.org>
To: solr-user@lucene.apache.org
Cc:
Sent: Wednesday, April 18, 2012 10:29 AM
Subject: Re: Can you suggest a method or pattern to consistently promote a document with any query?
That is not a useful test. Users don't look for *:*.
Test with real queries.
wunder
On Apr 18, 2012, at 10:27 AM, Chris Warner wrote:
> Thanks, Jeevanandam and Otis,
>
> I'll take another look at Elevate. My first attempts did not yield success, as I was not able to find a way to elevate a document with a *:* query. Perhaps I'll try a * query to see what happens.
>
> Cheers,
> Chris
>
>
>
>
> ----- Original Message -----
> From: Jeevanandam Madanagopal <je...@myjeeva.com>
> To: solr-user@lucene.apache.org; Chris Warner <ch...@yahoo.com>
> Cc:
> Sent: Wednesday, April 18, 2012 10:21 AM
> Subject: Re: Can you suggest a method or pattern to consistently promote a document with any query?
>
> Chris -
>
> Take a look - QueryElevationComponent
>
> http://wiki.apache.org/solr/QueryElevationComponent
>
> -Jeevanandam
>
> On Apr 18, 2012, at 10:46 PM, Chris Warner wrote:
>
>> Hi, folks,
>>
>> Perhaps I'm overlooking an obvious solution to a common desire... I'd like to return a specific document with every query, as the first result. As well, I'd like to have that document be the first result in a *:* query.
>>
>> I'm looking into index time boosting using the boost attribute on the appropriate doc. I haven't tested this yet, and I'm not sure this would do anything for the *:* queries.
>>
>> Thanks for any suggested reading or patterns...
>>
>> Best,
>> Chris
>>
>>
>> --
--
Walter Underwood
wunder@wunderwood.org
Re: Can you suggest a method or pattern to consistently promote a document with any query?
Posted by Walter Underwood <wu...@wunderwood.org>.
That is not a useful test. Users don't look for *:*.
Test with real queries.
wunder
On Apr 18, 2012, at 10:27 AM, Chris Warner wrote:
> Thanks, Jeevanandam and Otis,
>
> I'll take another look at Elevate. My first attempts did not yield success, as I was not able to find a way to elevate a document with a *:* query. Perhaps I'll try a * query to see what happens.
>
> Cheers,
> Chris
>
>
>
>
> ----- Original Message -----
> From: Jeevanandam Madanagopal <je...@myjeeva.com>
> To: solr-user@lucene.apache.org; Chris Warner <ch...@yahoo.com>
> Cc:
> Sent: Wednesday, April 18, 2012 10:21 AM
> Subject: Re: Can you suggest a method or pattern to consistently promote a document with any query?
>
> Chris -
>
> Take a look - QueryElevationComponent
>
> http://wiki.apache.org/solr/QueryElevationComponent
>
> -Jeevanandam
>
> On Apr 18, 2012, at 10:46 PM, Chris Warner wrote:
>
>> Hi, folks,
>>
>> Perhaps I'm overlooking an obvious solution to a common desire... I'd like to return a specific document with every query, as the first result. As well, I'd like to have that document be the first result in a *:* query.
>>
>> I'm looking into index time boosting using the boost attribute on the appropriate doc. I haven't tested this yet, and I'm not sure this would do anything for the *:* queries.
>>
>> Thanks for any suggested reading or patterns...
>>
>> Best,
>> Chris
>>
>>
>> --
--
Walter Underwood
wunder@wunderwood.org
Re: Can you suggest a method or pattern to consistently promote a document with any query?
Posted by Chris Warner <ch...@yahoo.com>.
Thanks, Jeevanandam and Otis,
I'll take another look at Elevate. My first attempts did not yield success, as I was not able to find a way to elevate a document with a *:* query. Perhaps I'll try a * query to see what happens.
Cheers,
Chris
----- Original Message -----
From: Jeevanandam Madanagopal <je...@myjeeva.com>
To: solr-user@lucene.apache.org; Chris Warner <ch...@yahoo.com>
Cc:
Sent: Wednesday, April 18, 2012 10:21 AM
Subject: Re: Can you suggest a method or pattern to consistently promote a document with any query?
Chris -
Take a look - QueryElevationComponent
http://wiki.apache.org/solr/QueryElevationComponent
-Jeevanandam
On Apr 18, 2012, at 10:46 PM, Chris Warner wrote:
> Hi, folks,
>
> Perhaps I'm overlooking an obvious solution to a common desire... I'd like to return a specific document with every query, as the first result. As well, I'd like to have that document be the first result in a *:* query.
>
> I'm looking into index time boosting using the boost attribute on the appropriate doc. I haven't tested this yet, and I'm not sure this would do anything for the *:* queries.
>
> Thanks for any suggested reading or patterns...
>
> Best,
> Chris
>
>
> --
Re: Can you suggest a method or pattern to consistently promote a document with any query?
Posted by Jeevanandam Madanagopal <je...@myjeeva.com>.
Chris -
Take a look - QueryElevationComponent
http://wiki.apache.org/solr/QueryElevationComponent
-Jeevanandam
On Apr 18, 2012, at 10:46 PM, Chris Warner wrote:
> Hi, folks,
>
> Perhaps I'm overlooking an obvious solution to a common desire... I'd like to return a specific document with every query, as the first result. As well, I'd like to have that document be the first result in a *:* query.
>
> I'm looking into index time boosting using the boost attribute on the appropriate doc. I haven't tested this yet, and I'm not sure this would do anything for the *:* queries.
>
> Thanks for any suggested reading or patterns...
>
> Best,
> Chris
>
>
> --
> chris_warner@yahoo.com
Re: Can you suggest a method or pattern to consistently promote a document with any query?
Posted by Jeevanandam Madanagopal <je...@myjeeva.com>.
Chris -
If you have defined 'last-components' in search handler, forceElevation=true may not required. It gets invoked in search life cycle
<arr name="last-components">
<str>elevator</str>
</arr>
-Jeevanandam
On Apr 18, 2012, at 11:37 PM, Chris Warner wrote:
> Thanks to those who responded. A more thorough reading of the wiki and I see the need for forceElevation=true in the elevate query.
>
> Cheers,
> Chris
>
>
> ----- Original Message -----
> From: Otis Gospodnetic <ot...@yahoo.com>
> To: "solr-user@lucene.apache.org" <so...@lucene.apache.org>; Chris Warner <ch...@yahoo.com>
> Cc:
> Sent: Wednesday, April 18, 2012 10:23 AM
> Subject: Re: Can you suggest a method or pattern to consistently promote a document with any query?
>
> Chris,
>
> I haven't checked if Elevate Component has an easy way to push a specific doc for *all* queries, but have a look http://wiki.apache.org/solr/QueryElevationComponent
>
> Otis
> ----
> Performance Monitoring SaaS for Solr - http://sematext.com/spm/solr-performance-monitoring/index.html
>
>
>
> ----- Original Message -----
>> From: Chris Warner <ch...@yahoo.com>
>> To: "solr-user@lucene.apache.org" <so...@lucene.apache.org>
>> Cc:
>> Sent: Wednesday, April 18, 2012 1:16 PM
>> Subject: Can you suggest a method or pattern to consistently promote a document with any query?
>>
>> Hi, folks,
>>
>> Perhaps I'm overlooking an obvious solution to a common desire... I'd
>> like to return a specific document with every query, as the first result. As
>> well, I'd like to have that document be the first result in a *:* query.
>>
>> I'm looking into index time boosting using the boost attribute on the
>> appropriate doc. I haven't tested this yet, and I'm not sure this would
>> do anything for the *:* queries.
>>
>> Thanks for any suggested reading or patterns...
>>
>> Best,
>> Chris
>>
>>
>> --
>> chris_warner@yahoo.com
>>
>
Re: Can you suggest a method or pattern to consistently promote a document with any query?
Posted by Chris Warner <ch...@yahoo.com>.
Thanks to those who responded. A more thorough reading of the wiki and I see the need for forceElevation=true in the elevate query.
Cheers,
Chris
----- Original Message -----
From: Otis Gospodnetic <ot...@yahoo.com>
To: "solr-user@lucene.apache.org" <so...@lucene.apache.org>; Chris Warner <ch...@yahoo.com>
Cc:
Sent: Wednesday, April 18, 2012 10:23 AM
Subject: Re: Can you suggest a method or pattern to consistently promote a document with any query?
Chris,
I haven't checked if Elevate Component has an easy way to push a specific doc for *all* queries, but have a look http://wiki.apache.org/solr/QueryElevationComponent
Otis
----
Performance Monitoring SaaS for Solr - http://sematext.com/spm/solr-performance-monitoring/index.html
----- Original Message -----
> From: Chris Warner <ch...@yahoo.com>
> To: "solr-user@lucene.apache.org" <so...@lucene.apache.org>
> Cc:
> Sent: Wednesday, April 18, 2012 1:16 PM
> Subject: Can you suggest a method or pattern to consistently promote a document with any query?
>
> Hi, folks,
>
> Perhaps I'm overlooking an obvious solution to a common desire... I'd
> like to return a specific document with every query, as the first result. As
> well, I'd like to have that document be the first result in a *:* query.
>
> I'm looking into index time boosting using the boost attribute on the
> appropriate doc. I haven't tested this yet, and I'm not sure this would
> do anything for the *:* queries.
>
> Thanks for any suggested reading or patterns...
>
> Best,
> Chris
>
>
> --
> chris_warner@yahoo.com
>
Re: Can you suggest a method or pattern to consistently promote a document with any query?
Posted by Otis Gospodnetic <ot...@yahoo.com>.
Chris,
I haven't checked if Elevate Component has an easy way to push a specific doc for *all* queries, but have a look http://wiki.apache.org/solr/QueryElevationComponent
Otis
----
Performance Monitoring SaaS for Solr - http://sematext.com/spm/solr-performance-monitoring/index.html
----- Original Message -----
> From: Chris Warner <ch...@yahoo.com>
> To: "solr-user@lucene.apache.org" <so...@lucene.apache.org>
> Cc:
> Sent: Wednesday, April 18, 2012 1:16 PM
> Subject: Can you suggest a method or pattern to consistently promote a document with any query?
>
> Hi, folks,
>
> Perhaps I'm overlooking an obvious solution to a common desire... I'd
> like to return a specific document with every query, as the first result. As
> well, I'd like to have that document be the first result in a *:* query.
>
> I'm looking into index time boosting using the boost attribute on the
> appropriate doc. I haven't tested this yet, and I'm not sure this would
> do anything for the *:* queries.
>
> Thanks for any suggested reading or patterns...
>
> Best,
> Chris
>
>
> --
> chris_warner@yahoo.com
>