Portal Custom Search Results Question

Hey,
We are using a custom search portlet to search through a page group containing content relevant to a group of end users. The results generated from the search a fine apart from that they also return items from the page group such as navigation pages or templates. So, when the user searches for a given simple keyword they get some pages and some navigation pages which would obviously be a little confusing.
How can we restrict the results in to being just pages ?
Cheers,
Mark

Mark
I don't have details of your content and it's attribution and structure, but it's possible with the custom search portlet to add search criteria to your search portlets that are hidden from the user. You can use this to place additional restrictions on the queries that filter out the extraneuous results, unbeknownst to the end user.
Thanks.

Similar Messages

  • Sharepoint 2013 custom search results grouping display template

    Hi,
    I am trying to implement custom grouping for search result items. I would like to group them by a managed property, but without using result blocks (query rules). The idea is to sort the results by the property and then compare the current item (ctx.CurrentItem)
    with the previous item using ctx.CurrentItem.ParentTableReference. If a new property value is detected we insert a new 'group header' (just some simple html). The problem is the ParentTableReference is undefined. Shouldn't there be such a property in current
    item object?
    I'm implementing this in a custom search result item display template...
    Thanks in advance.

    Hi,
    According to your post, my understanding is that you want to customize search result items display template.
    I suggest you get enumerate all properties of JavaScript context object and debug you code to watch the
    ctx.CurrentItem object.
    The following articles for your reference:
    Debugging Display Templates in SharePoint 2013 Search
    http://powersearching.wordpress.com/2013/01/25/debugging-display-temlates-in-sharepoint-2013-search/
    Enumerate all properties of JavaScript context object in display templates in SharePoint 2013
    http://sadomovalex.blogspot.co.uk/2013/06/enumerate-all-properties-of-javascript.html
    How to Define a Custom Group Display Template (GroupTemplateId) for the Search Results WebPart via JavaScript
    http://www.eliostruyf.com/how-to-define-a-custom-group-display-template-for-the-search-results-webpart-via-javascript/
    Creating customized search results in SharePoint 2013
    http://www.abelsolutions.com/totm/creating-customized-search-results-in-sharepoint-2013/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • SharePoint 2013 custom search Result Type for "Documents" not showing up as option

    I'm trying to create a custom search Result Type called "Documents" that will filter to MS Office filetypes and PDF's.
    However, when I perform a search, although many of these types of files show up in the results, I don't have "Documents" as a Result Type option.
    Here are the steps I'm following:
    From my Enterprise Search Center subsite: Site Settings > Manage Result Types.
    New Result Type.
    Name: Documents
    Source: Documents (System) - this out-of-the-box Result Source appears to cover the filetypes I need.
    Types of content: I've tried leaving it blank (to match all content) and specifically picking the types I want.
    What should these results look like? Office Document Item.
    Check Optimize for frequent use.
    Save.
    I then go back to my search center and search for a common keyword. Many in-scope file show up in the search results. However, under Result Type, I don't see "Documents," even if I click "SHOW MORE."
    Please advise.
    Thanks.
    Brad

    @Mikael As you say, to display the exact results when we click a result source, we should implement logic code to check whether item should be displayed. I have followed steps nearly the same as the topic owner but I saw nothing different between Everything
    and my custom Result Type.
    Here are the steps I'm following:
    Create a custom result type, named Job, and specify a custom display template for it.
    Set its condition to filter list items that have JobName site column ( JobName is site column's managed property) equal of any "IT" or "Doctor".
    I search for "Perter", it returns 5  items with Everything. I expect that it should return 3 items since only those items contain JobName site column.
    Search is fun but rather headache sometimes, give me advise please :)
    Thanks,
    Hoan.

  • How to set a customized search results template for all users

    Hi.
    I know the customized search results views are stored in a file called pne_portal.hda that resides on every user's subfolder in data/users/profiles/...
    Is there a way to set a customized search results template for all users? If it's impossible, is there a way to modify the Headline view? I'm not able to find the resource or template where this view is.
    Thanks in advance.

    I wasn't able to understand what was meant by this post. Therefore, I modified the standard template HeadLine View.
    Columns for this template are defined in the include slim_search_result_table_header_setup (in std_page.htm).
    Here is the modification of the code:
    <$if customTemplateId and not (baseTemplateId like customTemplateId)$>
              <$columnsString = utGetValue("customlisttemplates/" & strLower(customTemplateId), "columns")$>          
              <!-- Modify START by Oracle-->
         <$else$>
    <!-- here add default fields -->
              <$columnsString="dDocName,dDocTitle,dInDate,dDocAuthor"$>
    <!-- here add your custom fields -->
              <$columnsString=columnsString&",xComment"$>
              <!-- Modify END by Oracle-->
         <$endif$>

  • How to: Create a custom search result screen?

    Hello,
    Is it possible to create a custom search result screen?
    I need it because the users must be able to directly e-mail
    the items or a selection of the items returned by the search.
    For this modification of the standard result page isn't sufficient.
    Thanks,
    Steven.

    Steven, please see:
    http://technet.oracle.com/products/iportal/files/pdk/plsql/doc/sdk23pkg.htm

  • Cannot display custom search result to Public user

    I use the custom search portlet with auto query. When I log in to the portal, I can see the result. When I do not log into the portal, I do not see the result. The page is displayed fine, only this portlet is not displayed. Is there some setting I need to do?
    Can someone help?
    Thanks in advance,
    John

    John,
    Yes I tried searching just the page group where the items are located but they were not found.
    The page is public, with no security at item level.
    I have now detached the template from the content page, re-applied Make Public to the page and the search works.
    The access on the Template was Display Page to Public and Enable Item Level Security, with ORCLADMIN user Manage access.
    I would like to use templates, as we need a consistent look and navigation, so let me know if you have any idea's where I have gone wrong, or if this is a bug.
    Thanks,
    Brenda

  • How to clear the last_line_iterator for custom search result?

    Hi Friends,
    I have one issue regarding search result of service request please help me on this issue....
    We have added some custom fields using value nodes and EEWB image field in search result of service requests....and the problem is when we click on export excel sheet button in result list for first time it is working fine data is showing in excel sheet, but after that when we done some changes in search screen and press search button for second time and press the export excel sheet...data not bound in excel sheet....
    After analysis by me....after pressing the button and modify in search screen export excel sheet for second time in ME-> Last_line_iterator is not clearing it is containing previous search value for last_line_iterator....  so it is failing to call GET_ITERATOR( ) ....so anyone suggest who face same problem in their experience ....how to clear the Last_line_iterator ...let me know if any information required .....pls it is very urgent .....
    thanks in advance....
    regards,
    kumar

    Hi Lakshman,
    Everytime user clicks on a new shop, create a session variable and set it to any value.
    userSessionData.setAttribute("NEWSHOP","true");
    Now go to history.jsp and just above this piece of code put a validation for the value of this session variable and
    if its value matches to "true" than only let the below code to execute.After the validation dont forget to remove this
    variable from session.
    <isa:iterate id="historyItem" name="<%= UpdateHistoryAction.HISTORY_LIST %>"
                 type="com.sap.isa.isacore.HistoryItem"> 
    Likewise you can work with organizer frame refresh also.Hope this helps you.
    Regards,
    Arshi

  • Custom Search Results web part: show only sites wherein the current user has access

    Hi,
    I'm trying to create a custom Search Box and Search Results web part in one of my web application. The search result should show only sites wherein the current user only has an access. Do you have an idea how to implement this? Thanks. :)
    Regards,
    Napster

    Hi Napster,
    From my experience, we can only search the result which we have view permission at least.
    Please provide more information about your requirement if there is misunderstanding.
    More information about search result web part:
    http://technet.microsoft.com/en-in/library/gg549987(v=office.15).aspx
    Regards,
    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] .
    Rebecca Tu
    TechNet Community Support

  • How to make Google custom search results appear on a new page?

    Anybody got any idea how to make the search results appear on a separate page? I'm using the Google custom search to get generated code to place on my pages, after providing some 'guidance' information on the look and feel of it. Normally, Google will provide you with a few options to choose from to determine how your results will look and by default one would choose the "two page" option whilst going thru the setup process. One page for the search box on your own page and one for the results page.
    However, if you don't want a 'google-generated' results page but want the layout that's in line with the look of your site AND have the search box already on there for any repeat searches it becomes more tricky. I tried doing it one way, which I found one a blog tutorial but so far no sucess. The 'search box' code that I inserted onto one of my pages to test didn't show up the search box at all in preview or the live page...
    Anybody got any generic code that can be adapted (that they know works) or know of any tutorial that explains how to achieve this? Preferably Google related, as I'm using its custom search.
    In addition, I believe that recently Google have deprecated the use of iframe in its search results pages so for anybody that was using an earlier version of this facility it may no longer work properly and hence the solution might have to be modified. Not an expert, so not sure how much this fact will affect the final code, just a thought.
    Any ideas/solutions will be greatly appreciated. Thanks.

    hello adrianm12, this should be possible through the metro settings ("search"). also see [https://bugzilla.mozilla.org/show_bug.cgi?id=941292 bug 941292]...

  • How can set a customized search results template and all users see it

    Hi all ,,,,
    I Added new costume template search result
    And when I added this template it’s added only for the user how created this template ,And I need all users see and use this template can anyone tell how I can add template for search result and all users see it or if I can do synchronies for this template.

    I wasn't able to understand what was meant by this post. Therefore, I modified the standard template HeadLine View.
    Columns for this template are defined in the include slim_search_result_table_header_setup (in std_page.htm).
    Here is the modification of the code:
    <$if customTemplateId and not (baseTemplateId like customTemplateId)$>
              <$columnsString = utGetValue("customlisttemplates/" & strLower(customTemplateId), "columns")$>          
              <!-- Modify START by Oracle-->
         <$else$>
    <!-- here add default fields -->
              <$columnsString="dDocName,dDocTitle,dInDate,dDocAuthor"$>
    <!-- here add your custom fields -->
              <$columnsString=columnsString&",xComment"$>
              <!-- Modify END by Oracle-->
         <$endif$>

  • Paging custom search results

    I am using ISearchResultSet and want to page through them. I thought about running the query, holding up to 100 in an array, then showing the block of 20 requested on the screen. Probably not effecient but...

    Hello all,
    I can finally see the bug. The address is http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=BUG&p_id=2836633 for anyone interested.
    Towards the end, there are a couple of comedic sentences from the Oracle Bug Team to share with you all.
    First up is the claim that although the Custom Portlet itself instructs you to use it in the manner I did - "The selection of the results attributes only affects the item results. This is the intended behaviour in this release. Control of the result attributes for page results is planned to be added in a future release. This is possibly not clear enough in the documentation." - Classic!!
    Secondly, bearing in my mind, that this suggestion would produce entirely different results - "Available workarounds: Set Search Results Type=>Items or Any" - Please, stop it, my sides are splitting!!
    ANALOGY - THE ORACLE CLOTHES SHOP
    A bare chested man walks in and asks for a shirt. The assistant hands him one, but as the man starts to put it on he is baffled to find no holes for his arms. He queries this and after several hours investigation, the assistant tells him that the shirt is not defective, but that it was never meant to accommodate his arms in the first place. He remarks however, that the sleeve feature will be added to later shirts. The man asks what he should do as he is cold and needs something to cover his upper body. The assistant offers him some trousers.
    C'mon guys!!
    Regards
    Dave Barton, Wyre BC

  • Return custom search results from a list

    Hello all!
    I'm currently on a Windows 7 migration project where we need a custom search function for our SP2010 page.
    Basically, the user will enter there machine barcode into the search box and query information from a list. This query will only return information relevant to that users machine barcode. For example, the user searches there barcode and the return results
    ONLY displays information for that user/barcode, information such as delivery date, delivery location, migration POC, etc..
    What is the best approach to this scenario?
    I'd like to do the least amount of custom coding as possible aka not using Visual basics.
    Thanks in advance!

    If you create a custom column, probably Managed Metadata, called Machine number, you can then search for items in hte list which have that value.
    This would work in both a search center, if you were to map that column to become a mapped property and then add it to the refiners bar, and on the list using metadata navigation in list settings > advanced.
    Zero code.

  • How do you create a custom search result for surrounding suburbs for a real estate website?

    I have a Web App for property listings for a real estate website. There are item fields as follows:
    Suburb List:
    Edensor Park
    Hoxton Park
    Denham Court
    Cecil Hills
    Abbotsbury
    Surrounding Suburb List:
    Edensor Park
    Hoxton Park
    Denham Court
    Cecil Hills
    Abbotsbury
    Say a property is listed in Edensor Park as the main suburb and Hoxton Park and Denham Court are also selected as its surrounding suburbs.
    On the website's search form, the visitor selects, for example, Edensor Park. I need the search results to show everything listed in Edensor Park as well as in the surrounding suburbs of Hoxton Park and Denham Court. Is this at all possible?
    Thanks,
    Veronica.

    The Filter settings are sticky.  Every container listed on the Library tab of the Inspector keeps it's own Filter settings, set to whatever was last used.
    I'm not aware of any way to set a default Filter.
    You could create a Folder and put a Smart Album in that Folder with "Source" set to the Folder.  Any Albums or Projects you put in the Folder become the superset for the Filter you set in the Smart Album.  This is a pretty sophisticated set-up, however.  What is the filter you need, and how often do you need it?

  • Creating customized search results in SharePoint 2013

    I am trying to customize search result through display template. my template has two block for Rendering. how to customize search result such as following image:

    Hi Dastani,
    There are two ways to display your results.
    In Search result web part by creating the display type.
    Content Search web part
    As per your above image, I guess you are talking about the content search web part. So for that you need to modify the both control template as well as item display
    template. I don't think you will get the desire result as per your block , During the render process the item template call for each item (indexed item in the
    search corpus).
    Basant Pandey
    http://sharepointfordeveloper.blogspot.com/

  • Paged LDAP Search Results Question

    Greetings,
    I have some code that does a dbms_ldap.search_s to create a view of all users. Everything was working fine until last week when got an error and I realized the results return exceeded the LDAPS MaxPageSizeLimit (was set to 2000, we now have 2000+ users). I was able to get the sys admins to increase the size temporarily until I can modify my code to page the search results. I've been doing some research on Page LDAP Search Results and am not finding much for dbms_ldap. Perhaps my research skills are not up to snuff. In any case, I found on oracle docs (http://docs.oracle.com/cd/E17904_01/oid.1111/e10186/ext_ldap.htm#CEGJJIAF) where it references:
    "As of Oracle Internet Directory 10g (10.1.4.0.1), you can obtain paged results from an LDAP search, as described by IETF RFC 2696. You request sorted results by passing a control of type 1.2.840.113556.1.4.319 to the search function. Details are described in RFC 2696."
    However, I'm not finding much on how to implement this using dbms_ldap.
    Can anyone point me somewhere that I can found how to implement returning pagedResults using ldap with Oracle 11g?
    Best,
    Nat
    Edited by: 899806 on Jan 10, 2012 10:23 AM

    Yes, I did read that but I don't see in that file where it references anything about dbms. I see the section on:
    RFC 2696 LDAP Control Ext. for Simple Paged Results September 1999
    pagedResultsControl ::= SEQUENCE {
    controlType 1.2.840.113556.1.4.319,
    criticality BOOLEAN DEFAULT FALSE,
    controlValue searchControlValue
    However, when I look at oracle docs, I don't see where in dbms_ldap you can specify this config. any pointers?

Maybe you are looking for

  • IPrint migration - drivers in a shared store

    Hey all, Something I'm not seeing in the docs here, trying to save my self a lot of time re associating drivers. I've done one Transfer ID migration of a minor print server from SLES/OES2 to OES11 (32 to 64 bit, can't straight upgrade). It worked, wi

  • Skype took money for subscription but never activa...

    Hello to skype users Have you ever faced such situation like mine. I have subscription for 400 minutes a month, paid by Skype Credit. Skype takes money every month though dates when it is activated always shifting further and further. For example thi

  • Title Window is minimized and I can't edit it??

    Hi there guys, System: MacIntosh (Intel) Adobe Premiere Pro CS4 This is a newb question, however it's a problem I can't seem to fix and it's buggin me. As you can see in the picture i've added, the window for editing the title is extremely small, and

  • Photoshop dejo de abrir archivos

    Hola a todos, Bueno llebo 3 dias como loco buscando una solucion y no he dado con ella. Os cuento: El photoshop ha dejado de repente de abrir archivos o guardarlos, el programa se abre pero es imposible abir archivos, no desde el menu abrir, ni desde

  • Notification not reaching SAP inbox

    Hello All, I have created a new workflow. Everything is working fine in Developement System. I transported this to Quality system. Its showing workflow log is correct.But user is not receiving any notification in mail box. Task is dialog step. Agent