Fileshare as a result source

Hello,
I am new to SharePoint 2013 and hope to find some help.
I have created a content source, a fileshare \\serverA\share3$ . I can search for content and everything is just fine.
Now i want to create a search result webpart, that only displays results from the fileshare above. So i created a Result Source with this Query:
 {SearchBoxQuery} path:\\serverA\share3$
And it only returns results from the fileshare, great!. now the only problem is that, before i enter anything in the searchbar, it automaticly lists all content from the fileshare. I dont want it to display anything before i enter my search.
Any ideas?

I believe the default behaviour of a results page is to bring back search data even if it's empty.
One option would be to create a search page as a starting point. Then users can enter the search term there, then the query can be sent to the dedicated results page.

Similar Messages

  • Search on Custom UserProfile property with multiple values in a Result Source

    For my customer i have created a news system based around pagelayouts, contenttypes and the new SharePoint 2013 Content by Search Webpart.
    When my customer creates a new "news page", they have the option to tag the news with a category, which is a manage metadata field. I use this property to filter different views in the "Content By Search Web Parts" presented on the front
    page of their intranet.
    The customer also wanted a "user specific" news result source, which returned the news in which the user was interested in reading.
    To make this feature possible I created a custom user profile property, which was hooked to the same Term source as the field on the news content type. By doing so the users would be able to select the news categories(channels) they are interested in seeing.
    I then created a result source, that matched the users selection with the selected category on the news and thereby only return the result that the users were interested in.
    This worked flawlessly, until they encountered a situation where a user selected more than one category. The result source always only returns news where the category matches the first tag in the users selection. It completely ignores the other selections
    chosen by the user.
    Underneath you can see the configurations.
    Users selection on their profile:
    The result source query and result:
    Where owstaxIdPANewsCategory is the Managed Property hooked to the category field on the news content type.
    The above result should have given me 2 items, do to the fact that there are one news tagged with "test1" and one news tagged with "test2".
    Any help would be appreciated 

    My colleague came up with the answer.
    The correct syntax in my case would be as follows:
    {|owstaxIdPANewsCategory:{User.NewsCategory}}
    the "|" char indicates that it should match it up against all selected values.
    taken from: http://technet.microsoft.com/en-us/library/jj683123.aspx

  • Error with OpenSearch result source in Sharepoint online

    I have error with result sources that use the Opensearch protocol. I add them via Site Settings -> Edit Result Source -> New Result Source but everytime I test them in the Result Sources list I get error saying
    key is null or empty
    Parameter name: key
    This same happens every time regardless of the source Url. I've tried with sources like Live Search (Copied the url from the preset source "InternetSearchResults"), and other sources I've found from documentation and examples for Opensearch
    feature.
    Also, the error message is always the same when testing the Result Sources from the Result Source list, Query Builder or searching from Sharepoint site.

    I am having the same issue on o365 E3... any input on this? I have tried on 2 different envs.
    Danimal521 MCPD/MCAD

  • Bing based federated result sources not returning any results for non-English languages

    I have a result source with this query:
    http://www.bing.com/search?q={?searchterms}  language:fr site:msdn.microsoft.com&format=rss&count=50&first={startIndex}
    This used to give me 40-50 results for common terms like download, blog etc.
    From today (7/14) IST, this source does not return any results. There are no results if I execute this query directly in IE either.
    Same behavior observed for: language:es, language:de etc.
    I do however get results as expected for language:en.
    Any idea what the issue might be?

    Hi Swapnil,
    According to your description, my understanding is that no results returned when searching with non-English in the Result Source query.
    I tested the same scenario per your post and I got the same results as you got.
    I recommend to change the language:fr in the Result Source query to be lang=fr to see if the issue still occurs.
    More references:
    http://kbdump.com/sharepoint-2013-opensearch-search-twitter-facebook-wikipedia-page/
    http://richardstk.com/2013/11/08/sharepoint-2013-federated-search-to-bing/
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Sending search box query text as is to opensearch result source.

    I have a Sharepoint online 2013 subscription. I created a Sharepoint site and configured a search result source, search result query for a custom opensearch backend. I want to pass the search query entered by user as is without any transformations to opensearch
    backend,but everytime user enters search criteria SharePoint is transforming it to KQL before sending it to opensearch backend. Is their a way to bypass all these transformations and send search query as it is ?

    Hi Ram,
    Here is an article which describes how to integrate Bing to SharePoint (online) 2013 search:
    http://www.jasperoosterveld.com/2013/05/integrate-bing-with-sharepoint-online-2013-search/
    If you refer to the How the search system processes a query part in the article below:
    https://technet.microsoft.com/library/jj219620(v=office.15)#HowQueryProc
    You will find out that before "Sending the query to the search index or another search provider", search system will be "Parsing the query and creating a query syntax tree for internal use" and "Processing the query linguistically
    by performing word breaking, stemming, spelling correction, and synonym expansion".
    Sometimes we could put query words in Double Quotes, so that search system will treat them as an entity. If this still doesn't solve your issue, please explain more about your issue or make an example.
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Infopath as Result Source

    Has anyone had any luck adding Microsoft InfoPath as a Result Source Type? If so can you share the details.
    I'm wondering why Microsoft put in all the Word, OneNote, Publisher, Excel, etc result type templates but left off InfoPath documents. What I would like to do is in the results that the search brings back, link directly to .xsn infopath document.
    Currently when you click on the search result of the item it views the list item (1 click), then you have to click on the filename of the .xsn document to open the form (2nd click). Word, Excel, etc documents bypass this extra step and jump you right to the
    full url which opens up the default application, Word, Excel.

    Hmm, I would check all of the settings in Central Admin for the InfoPath forms and if there are any at the library level and make sure they are all correct/consistent. I think in 2010 there was a Server Name Mapping that is supposed to overwrite how a URL
    is displayed in search . Although that did not work for us, we changed the view display with XML to replace the bad URLs with the ones we wanted them to be.
    The last thought is, have you ran a full crawl or deleted the index and reran a full crawl since you set the InfoPath forms "to open in client application"? I saw someone once who enabled Excel Services and turned it off, but every search result still behaved
    as though Excel Services was still on and the links to those files were messed up.

  • Managed property and result sources

    I'm trying to create a search results page that only returns results where the query value = a managed property.
    I am getting these results back but am also getting back results where the query value if found within a documents contents which I do not want.
    We have 3 different crawled properties that I have mapped to a managed property called PropertyFile.
    I have then created a result source and have set the query builder to be: PropertyFile={QueryString.PropNo} and I pass a value such as PropertyFiles.aspx?PropNo=67910
    I have gone into my search results webpart and set the query to PropertyFile(Service). But nothing is returned.
    Have I missed a step?
    I have tried adding PropertyFile={QueryString.PropNo} to the query builder in the search results web part but still nothing (do I need to add this query text in both places??)
    The managed/crawled property mapping seems to be working ok as we have another search page (migrated from 2010) that uses it and works fine... we are trying to replace this functionality with 2013 tech.

    Hi QPR_JAY,
    Please use the following format in your query builder in search results web part.
    {searchboxquery} AND PropertyFile:{QueryString.ProNo}
    Then keep your search results page appended with querystring, in your case it may be the following format, then input the keywords and search it, then it should show the items which are meet the AND operation for keywords and querystring value.
     PropertyFiles.aspx?PropNo=67910
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you havefeedback for TechNet Subscriber Support, contact [email protected] 
    Daniel Yang
    TechNet Community Support

  • SharePoint Search Result Source Filter By Variance

    Hi,
    I want to get pages library data by language (English and German). I have created two result source in sharepoint search. In Query transform I have given below condition. But it is not filtering data as per language wise. I only want to get English variance
    site data in EnglishResultSource1 and German variance site data in GermanResultSource2.
    EnglishResultSource1
    {searchTerms} contentclass=STS_ListItem_850 -Path=http://spe2013dev5:1111/en-us/
    GermanResultSource2
    {searchTerms} contentclass=STS_ListItem_850 -Path=http://spe2013dev5:1111/de-de/
    But in result source it is not filtering data by path wise.
    How can I filter by language/locate wise?
    Can any one help me?

    Check if below can help
    http://blogs.msdn.com/b/bgeoffro/archive/2009/05/24/using-custom-scopes-on-multilanguage-variation-sites.aspx
    http://blogs.msdn.com/b/fabdulwahab/archive/2012/06/02/how-to-create-multilingual-search-site-with-variation.aspx
    If this helped you resolve your issue, please mark it Answered

  • How to create ArrayColletion in mx:Script from mx:Model id="results" source="/data/data.xml" /

    How to create ArrayColletion in mx:Script from <mx:Model
    id="results" source="/data/data.xml" />
    Please see my code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Model id="results" source="/data/data.xml" />
    <mx:Script>
    import mx.collections.ArrayCollection;
    import mx.utils.ArrayUtil;
    import mx.controls.Alert;
    </mx:Script>
    <mx:ArrayCollection id ="dt1"
    source="{ArrayUtil.toArray(results.result)}"/>
    <mx:Script><![CDATA[
    [Bindable]
    public var expenses:ArrayCollection = dt1;
    [Bindable]
    public var expenses2:ArrayCollection = dt1;
    [Bindable]
    public var dp:ArrayCollection=expenses;
    public function changeDataProvider():void{
    Alert.show(expenses.toString());
    if (dp==expenses){
    dp=expenses2;
    }else{
    dp=expenses;
    ]]></mx:Script>
    <mx:Panel x="10" y="10" width="100%" height="378"
    layout="absolute">
    <mx:ColumnChart dataProvider="{dt1}" x="10" y="10"
    id="myChart" height="318" width="100%">
    <mx:horizontalAxis>
    <mx:CategoryAxis categoryField="month"/>
    </mx:horizontalAxis>
    <mx:series>
    <mx:ColumnSeries displayName="apple" yField="apple"/>
    <mx:ColumnSeries displayName="orange"
    yField="orange"/>
    <mx:ColumnSeries displayName="banana"
    yField="banana"/>
    </mx:series>
    </mx:ColumnChart>
    <mx:Legend dataProvider="{myChart}" x="481" y="10"/>
    </mx:Panel>
    <mx:Button x="284" y="416" label="Change Data" id="bt"
    click="changeDataProvider()" />
    </mx:Application>

    Tracy,
    Thanks. That worked. However I have another related question:
    I convert the xml feed to a XMLListCollection by doing:
    <mx:XMLListCollection id="mission"
    source="{xmlFeed.lastResult.day}"/>
    and
    <mx:XMLListCollection id="mission1"
    source="{xmlFeed.lastResult.day.tBlock}"/>
    On the chart I have
    <mx:ColumnChart id="missionReadiness" height="150%"
    width="100%"
    paddingLeft="2" paddingRight="2"
    showDataTips="true" dataProvider="{mission1}">
    <mx:series>
    <mx:ColumnSeries xField="" yField="@today"
    displayName="Today"/>
    <mx:ColumnSeries xField="" yField="@tomorrow"
    displayName="Tomorrow"/>
    <mx:ColumnSeries xField="" yField="@afterT"
    displayName="After Tomorrow"/>
    </mx:series>
    </mx:ColumnChart>
    the yField works, but for the xField I want to have the @date
    but refers to the parent node, so I am clueless on how to refer to
    it.
    Also, I would like to display on the chart only the values to
    a specific date (like @date="05/17/2007").
    Any suggestions on how to do that?
    Gilbert

  • Add Pages Title to result source

    Hi everyone,
    I've created a search center in a site collection, and i am trying to add all page titles of the all sites and sub sites within the site collection to a result source. what i am trying to achieve is when a user enter a keyword in the search box most relevant
    title of the page should show up at the top. I've selected 'local SharePoint results' as default but its searching on matched keywords in everything, page titles are not showing up.
    Please Help
    P.S i am a newbie on SharePoint

    Hi,
    I think there are 2 options available here.
    1. You can add a new query rule which prompt a top
    result block which searchs source named Pages (system).
         With this, you can get a result bock stick to the top which show pages result.
    2. Or change the ranked result for Local SharePoin Result
    promote pages result to the top.
        With this, you can get pages result on the top of the result list.
    Miles LI TechNet Community Support

  • Why is *result++ = *source++ so slow on realtime controller

    Hi, 
    I am trying to understand the performance difference between code running on a desktop machine and on a RMC-8354.
    The routine is a spike filter for an array of data, basically does *result++ = *source++ (with some extra stuff) over 1000 points.  
    This code runs on the desktop machine in 10 microseconds.  The same code runs on the RMC-8354 in 10 MILLISECONDS!
    I have tried allocating memory on stack and heap with same results.  It looks like an interrupt is generateed for every memory access.  
    Clearly I'm doing something very silly:smileyembarrassed.  Any help would be appreciated.
    Thanks,
    desiko

    Hi Jeff,
    Can you elaborate on your issue a bit further. What is "slow" in your approximation? Tell us about the environment you're in, what type of router, band and channel. How many other wireless routers does your machine pick up? Is it slow other places with wireless or just this current location? New issue, ongoing?

  • Use Querystring to define result source for searching

    I am migrating a site from SP2010 to SP2013. One of page contain a search result webpart. By define the querystring like this:
    SearchResult.aspx?k=Scope:Hotnews
    It will return only the defined scope results.
    However, SP2013 no longer provide Scope. Can I perform similiar trick with querystring? I have setup a Result Source "Hotnews" on my SP2013 farm. But I don't know the syntax in querystring or is it even supported. Could you please guide me? Thanks.

    Hi  Mark,
    According to your description, my understanding is that you want to set the result source of your search result web part to a custom result source "Hotnews" in SharePoint Server 2013.
    For achieving  your demand, you can limit search results of your search result web part as below shows:
    Reference:
    http://techmikael.blogspot.com/2013/04/limiting-search-results-in-sharepoint.html
    Also you can have a look at these blogs:
    http://www.eliostruyf.com/dynamically-changing-result-source-sharepoint-2013-search-center/
    http://blog.mastykarz.nl/programmatically-working-keyword-search-queries-sharepoint-2013/
    http://technologybooth.blogspot.com/2013/08/keyword-query-in-sharepoint-2013.html
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Eric Tao
    TechNet Community Support

  • Create Result Source an external PRIVATE webpage

    I have an external webpage that requires a user to be logged in. Is it possible to create a result source so SharePoint crawls the members section of the external webpage?

    Hi,
    I'm not quite sure about members section of the external webpage from your description.
    However, with SharePoint 2013 search, we could create content source for internet web site. Here is an article describe the method, although the method applies for 2010, you could still refer to it:
    https://mohitvash.wordpress.com/2012/03/07/configure-external-site-as-content-sources-in-sharepoint-search/
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Dynamically Select Result Source in SharePoint 2013

    Hi,
    I have a requirement to search content within a set of site collections based on user's locale. For each country we have multiple site collections. When user performs search, based on the language of the user, it should show only those  results from
    site collection that belong to a specific country.
    I am thinking to create Result Source and add multiple "Path:<url>" parameters inside each result source. Is this a correct approach? If yes, how can I set the correct result source dynamically based on user's locale?
    Is there any other approach?
    Any pointers will be helpful.
    Bidyut Das

    You can always create Search scope of all countries and make sure that results is displayed from that scope.
    However User need to provide a input to select the scope for his country. Try to use below script to pull locale and then use it in scope:
    http://sharepointerz.blogspot.in/2013/06/get-current-users-regional-settings.html

  • Unable to access Query Rules and Result Sources in SSA

    I have access to our Search Service Application (SSA) within Central Administration.  I am able to get to all of the options within Search Administration except for Query Rules and Result Sources.  Does this require farm admin access or is there
    something special that needs to be done for access to these two areas?  I can get to all of the Diagnostics, Crawling, and the other Queries and Results options without issue.  Our farm admin has been looking at it, but we have not been able to determine
    why my access is not allowing me to get to those options.  Any info you may have about this will be much appreciated.
    Thanks!
    Brian

    Hi scalawagd,
    This issue seems to be about permissions. Please add the user into the search service administrator group and give him full control, compare the result. You can try to give the user permission like the screenshot:
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

Maybe you are looking for

  • Transfer structure have two different tech names?

    Hi BW experts, we got issue in transfer structure which have two different technical names: ZCUSTOMER_DC and ZCUSTOMER_PS where zcustomer is the info source name. The impact: PSA data can't be accessed ... Any help and feedback is highly appreciated!

  • Ical in the dock!!

    Hi people, Can anybody tell me why the date on the calendar in my dock always says 17th july just sfter start up? If i click on the icon it then changes to the correct date.I use a macbook pro with the last version of tiger! Im sure some of you guys

  • Inspector not enabling hyperlinks to be created

    I am unable to create hyperlinks in any shape or form, (this is the first time I have tried it out on a website) whether to a photo or to text from a website, as all the options on Inspector are grayed out. I have seen a similar post but this refers

  • How can I improve the speed of my VI to work in real-time at higher sample rates?

    I am currently trying to implement a multi-channel control system, the vi of which is attached. It effectively consists of a number of additions and multiplications in the processing subvi (also attached), however, for 7 inputs and 7 outputs I cannot

  • Decode and mod

    Can anybody please explain this decode(mod(col1,3),0,col1). What does this function combination do? Thanks in advance