Google Groups Home
Help | Sign in
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Google Employee Google employee  
View profile
(1 user)  More options May 30 2006, 8:16 pm
From: Google Employee
Date: Tue, 30 May 2006 17:16:09 -0700
Local: Tues, May 30 2006 8:16 pm
Subject: How Labels Work
This is to clarify what a label does.

A number of posts (such as
http://groups.google.com/group/google-co-op/browse_thread/thread/d951...)
are trying to decipher exactly what a label does. I.e., what should you
expect when the query contains a term such as more:foo. The answer
consists of two parts. Assume that we have the query 'bar more:foo' and
the context is c1.

a) If the definition of the label foo in the context c1 includes a
Rewrite, the non-label part of the query (in this case, just 'bar'),
gets rewritten. If the Rewrite is 'baz', the non-label part of the
query gets rewritten to 'baz bar'. Note that the 'bar' is still there.

b) The results for the query 'baz bar' are retrieved and then, the
pages which have been explicitly annotated with the label 'foo' are
either moved higher up in the ranking or moved lower down in the
ranking based on the mode of the label.

So, if a page does not contain the word 'bar', it will not be
retrieved. So, there is no way of forcing a page which does not contain
the search terms into the search results. If you really want to do
that, you should take the user to a different search, with a different
query. You can do this by using the 'Redirect' tag in your context
file.

Guha, Engineer on Google Co-op


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ronburk  
View profile
 More options May 30 2006, 8:38 pm
From: ronburk
Date: Wed, 31 May 2006 00:38:46 -0000
Local: Tues, May 30 2006 8:38 pm
Subject: Re: How Labels Work
 >  If the Rewrite is 'baz', the non-label part of the query gets
rewritten to 'baz bar'.

To test this explanation, I deleted all annotations and created a
context that triggers on "backup", along with a refinement containing a
<Rewrite> of "dude". The expected result (after clicking on that
refinement), according to this explanation, should look like a search
for "dude backup". Instead, it appears closer to a search for "backup
dude".

Did you mean to say "bar baz" instead of "baz bar"?

In either case, the search result was not *identical* to either a
search for "backup dude" or "dude backup", despite there being no
annotations defined.


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Google Employee Google employee  
View profile
 More options May 30 2006, 9:00 pm
From: Google Employee
Date: Tue, 30 May 2006 18:00:28 -0700
Local: Tues, May 30 2006 9:00 pm
Subject: Re: How Labels Work
Yes, I meant to say 'bar baz'. The <Rewrite> is appended to the query.

Also, you should be able to test this out from your profile page,
without having to go through the trigger. That is why a search box is
provided for each context.

Yes, the results are sometimes not identical to just typing in the
rewritten query, but should be close enough.

Hope this helps.

Guha, Co-op engineer


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ronburk  
View profile
 More options May 31 2006, 12:46 am
From: ronburk
Date: Wed, 31 May 2006 04:46:26 -0000
Local: Wed, May 31 2006 12:46 am
Subject: Re: How Labels Work
Thank you!

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ronburk  
View profile
 More options May 31 2006, 11:30 pm
From: ronburk
Date: Wed, 31 May 2006 20:30:09 -0700
Local: Wed, May 31 2006 11:30 pm
Subject: Re: How Labels Work
It's possibly unfortunate that the documentation currently says this of
labels:

 > The best labels are those that help identify a page that wouldn't
otherwise
 > appear in the search results if the user hadn't clicked on that
label.

This could tend to cause people to infer that you actually can use
labels
to make URLs appear, when their power is actually limited to just
changing
the ordering of search results.


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google