View Complete Post
Sorry for a basic post here; I am very new to VB!
I am currently building a search page, which includes a textbox and two drop-down lists, a search button, and a datagrid. If results are found and displayed, I would like a label to display:
(e.g.) "24 results found for 'blue sky clouds' "
...where the integer represents the results count, and the keywords and/or drop-down list selections are included in the string.
If no results are found I would like the label to display:
(e.g.) "No results were found that match your selection. Please try again"
I would also like the label to be invisible until a search occurs.
Thanks in advance!
SharePoint search may return too much information, causing data security problems. Learn how to use the custom security trimmer to ensure users see only the documents they have permission to view.
Ashley Elenjickal, Pooja Harjani
MSDN Magazine July 2010
When my users run a search against a site with a bunch of document libraries they will often search for terms that are in the title of the doc, if they do know the title they will put that in. What I would like to do is have the results ordered
such that if any hits are on the document metadata (eg Title) then they are presented first and any results that are from hits on the content of the documents are presented later.
So, if they get the title spot on in their search query that document will appear first .... if they don't get it right then the likelyhood is that the title is something like what they entered so similar titled docs are presented first and then those
with matching content ....
How can I achieve this?
I've got one sharepoint 3.0 site, which is a hostNamedSiteCollection which won't return any results when we search it - searching the entire site or a single list both produce the same "no results matching your search were found".The site uses Windows Authentication.ÃÂ We have no Alternate Access Mappings set up. It is regular HTTP I've added test content to other sites housed in the same Web Application and searched - that new data is appearing in the results.I did a backup using STSADM and restored the site to my dev server (as both a hostNamedSiteCollection & a regular site collection) - searches return results just fine.I deleted the site from the prod server and restored it (into a different content database even!) from a backupÃÂ I made with STSADM - no results are returned.IÃÂ restored the site to the same web application as a Standard site (http://webapp/sites/sitename) (NOT a host named site collection) andÃÂ results ARE returned.I've looked at the trace logs & application logs on the server, but can't find any errors that I can tell might be related..This is the only site I've ever seen have this problem.ÃÂ We have plenty of other hostNamedSiteCollections and search is working fine on them.Suggestions?Thanks.
How can i prevent author's name to appear in search results. shows many results when i search the "author.name".
I want, MOSS 2007 Search get results from the content only the user sees.
I am trying this from last two days , but it does not work. I have created two scopes for FAST Search Query SSA , they appear in search center , but I am not getting any results back. I see them being fired in the FAST query log.
First one is a simple one:
New-SPEnterpriseSearchQueryScope -SearchApplication "FAST Query SSA" -Name DCO -Description "All DCO Documents" -DisplayInAdminUI 1 -ExtendedSearchFilter "ContentSource:DCO"
Content source is a managed property. and i can just query "contentsource:dco" from the text box which gives me results.
When I fire the query i see it in FAST Search query log
The Search Results page in MOSS seems to list the results as links by default. My customer asked me if I could customize the search results so that they show in a data view web part. Is this possible?
I done a web part which allow the user to query the search.asmx. It return the result fine against which I apply some xslt. However I need a mean to create a Page index. I only return the result based on a range defined in the query.
I need somehow to obtain the number of result the search is returning in total against what I only want to display on the screen.
The only way I sort of figure to do that is by first make a search just to obtain the number of result it will return in total and then make a search defining a range.
Has someone done something similar?