|
|
-
Can you suggest a method or pattern to consistently promote a document with any query?
Chris Warner 2012-04-18, 17:16
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
-- [EMAIL PROTECTED]
-
Re: Can you suggest a method or pattern to consistently promote a document with any query?
Jeevanandam Madanagopal 2012-04-18, 17:21
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 > > > -- > [EMAIL PROTECTED]
-
Re: Can you suggest a method or pattern to consistently promote a document with any query?
Otis Gospodnetic 2012-04-18, 17:23
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/QueryElevationComponentOtis ---- Performance Monitoring SaaS for Solr - http://sematext.com/spm/solr-performance-monitoring/index.html----- Original Message ----- > From: Chris Warner <[EMAIL PROTECTED]> > To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > 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 > > > -- > [EMAIL PROTECTED] >
-
Re: Can you suggest a method or pattern to consistently promote a document with any query?
Chris Warner 2012-04-18, 17:27
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 <[EMAIL PROTECTED]> To: [EMAIL PROTECTED]; Chris Warner <[EMAIL PROTECTED]> 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?
Walter Underwood 2012-04-18, 17:29
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 <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED]; Chris Warner <[EMAIL PROTECTED]> > 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 [EMAIL PROTECTED]
-
Re: Can you suggest a method or pattern to consistently promote a document with any query?
Chris Warner 2012-04-18, 17:53
Browsing all documents and all facets, skipper. Cheers, Chris ----- Original Message ----- From: Walter Underwood <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED]; Chris Warner <[EMAIL PROTECTED]> > 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 [EMAIL PROTECTED]
-
Re: Can you suggest a method or pattern to consistently promote a document with any query?
Chris Warner 2012-04-18, 18:07
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 <[EMAIL PROTECTED]> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>; Chris Warner <[EMAIL PROTECTED]> 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/QueryElevationComponentOtis ---- Performance Monitoring SaaS for Solr - http://sematext.com/spm/solr-performance-monitoring/index.html----- Original Message ----- > From: Chris Warner <[EMAIL PROTECTED]> > To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > 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 > > > -- > [EMAIL PROTECTED] >
-
Re: Can you suggest a method or pattern to consistently promote a document with any query?
Jeevanandam Madanagopal 2012-04-18, 19:39
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 <[EMAIL PROTECTED]> > To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>; Chris Warner <[EMAIL PROTECTED]> > 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 <[EMAIL PROTECTED]> >> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> >> 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 >> >> >> -- >> [EMAIL PROTECTED] >> >
|
|