Hi Tej,

 

The search is executed by the search results page - the SearchBox webpart
forwards the query to results page and the context is obtained from the
results page.  Essentially, "This list" and other searches like that are not
valid because of the location of the search results page.  If the results
page was contained in a document library in a team site, then it might be
possible to get these scopes to work, though you would be left with a number
of result pages and a new problem to deal with.

 

To work around this, you will need to create your own SearchBox WebPart that
passes the additional context information to the search results page.  The
search results page then needs to grab the additional context information
and use it as part of the search.  It's not trivial, but it's not rocket
science either - I'm sure that someone will create a control like this and
post it to the web (nudge to anyone with "spare" time).

 

Regards,

 

Matt

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Kanwartej Singh Basrai
Sent: Tuesday, 20 November 2007 2:06 PM
To: [email protected]
Subject: Re: [OzMOSS] Search scopes

 

Hi Matt,

 

Thanks for the prompt response. I will keep looking and if i come up with a
solution i will post it here. but To elaborate on the issue a bit more, Our
requirements are to modify the smallsearchinputbox control to point the
results to the searchcenter result pages which later on will change to
ontolica searchcenter as it supports wildcard searches. I was able to point
the all sites and people scopes to the search center result page by
modifying 'target results page' setting by editing the scopes. but since the
'This site' and the 'This list scope' are not listed the same cannot be done
for those. 

 

cheers

Tej
 

On 11/20/07, Matt Lynch <[EMAIL PROTECTED]> wrote: 

Hi Tej,

 

Can you elaborate a bit more?  I have been dealing with search scopes
recently as well, though my focus has been on federating other sites and
grouping them into scopes.  My current understanding is that "This site" is
transient and you can't set up scopes for those.  The search box that ships
with Search Server includes pointers for these sources and it's also my
understanding that these are a exemption to the rule. 

 

It's still a beta product and the team is not adverse to change.  I would
highly recommend posting a feature request, as this type of task should be
trivial and it's not. 

 

Also, if you work out a way to get this done, I'm all ears!

 

Cheers,

 

Matt

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Kanwartej Singh Basrai
Sent: Tuesday, 20 November 2007 1:32 PM
To: [email protected]
Subject: [OzMOSS] Search scopes 

 

Hi All,

 

I am trying to setup a search center for our site collections. Our aim is to
show all the search results in the searchcenter/pages/results.aspx page.
Currently i am able to setup the scopes like all sites, people  to use a
results page from search center, but i am unable to do this for the
contextual search scopes such as This site: <site name>, This List:
announcements, this list: discussions etc. 

 

Has anyone done this before or have any ideas for me to try? Any help in
this will be much appriciated

Cheers

Tej

-------------------------------------------------------------------
OzMOSS.com - to unsubscribe from this list, send a message back to the list
with 'unsubscribe' as the subject.
Powered by mailenable.com <http://mailenable.com/>  - List managed by
www.readify.net <http://www.readify.net/>  

-------------------------------------------------------------------
OzMOSS.com - to unsubscribe from this list, send a message back to the list
with 'unsubscribe' as the subject.
Powered by mailenable.com <http://mailenable.com/>  - List managed by
www.readify.net <http://www.readify.net/>  


-------------------------------------------------------------------
OzMOSS.com - to unsubscribe from this list, send a message back to the list
with 'unsubscribe' as the subject.
Powered by mailenable.com - List managed by www.readify.net 




------------------------------------------------------------------- OzMOSS.com 
- to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject.
Powered by mailenable.com - List managed by www.readify.net

Reply via email to