Different sequence of search results in different environments with same set of documents

I am using Sharepoint 2013 Foundation version.
I have set up 2 environments (say environment A and environment B) with the same Window baseline and Sharepoint server farm setup. The similar set of documents have been uploaded to both environments. With input of exactly the same search string at the search
field and enter button pressed, the sequences of entries shown on search result page are different in these 2 environments.
In particular, there is a document 'Monthly Newsletter.pdf' uploaded in both environments. When I type 'Monthly Newsletter' in search field and press enter, this document appears as the first entry in the search result in environment A, but this same document
appears as the 8th entry in the search result in environment B. 
May I know the reason? Thanks a lot for advice!

There are a lot of factors that go into computing the "relevance" of any one document. One factor is "closeness". So one question would be how identical are the two environments? Same number of site collections? Are the
documents at the same depth? (sites -> subsites -> libraries -> folders)  Are the libraries of the same type, using the same content types and the same metadata>  In both cases are you searching from
the same site and are the documents at the same depth?  
Ranking is also impacted by past searches. The more people who have clicked through to the document, the higher it will be ranked in the future.
If the two environments are identical, and are only being used for testing, Reset the Indexes and do a new Full Crawl and then test.
Mike Smith TechTrainingNotes.blogspot.com
Books:
SharePoint 2007 2010 Customization for the Site Owner,
SharePoint 2010 Security for the Site Owner

Similar Messages

  • How to highlight search term in a different color in search results?

    Hi
                  How can I highlight search term in a different color in the search results. Currently it is black, I would like to change it to green.
    Thanks in advance
    Regards
    Vidya

    Dear Bhanu,
    It might be possibe but i am not fully sure about it.
    try with different combination and check it.
    I need to check whether it is feasible or not.
    Best Regards,
    Arun Jaiswal

  • Refiner TEst is different on ACtual Search Results

    WHen I do Test on Refiner Webpart, it generate two Result with two refiner. But after Clicking OK and SAVE it only generate One Search Result and one refiner. I already did lots of FULL CRAWL and IISRESET and SharePoint Timer SErvice Restart but nothing
    happens. What could be the cause of having different outcome on Testing and on Actual Searching, it seems something is filtering on the Search Result.
    Also, my refiner is getting info from Managed Property.
    cal_bonjovi

    Hi cal,
    What refiners did you use for the refinement web part?
    For troubleshooting your issue better, please provide some screenshots about your issue.
    Best Regards,
    Wendy
    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]
    Wendy Li
    TechNet Community Support

  • Search results are differed in Quick and candidate searches

    Hi Everyone,
    I am using ECC 6  EhP 5 system with Trex search 7.10.48.
    We are having a scenario where search is behaving differently in different places.
    We are able to find some  Locked  candidates in quick Search (ERC_C_QUICK_SEARCH_UI) as well as in Candidate Search.
    But as per standard behaviour the Locked candidates should not be able to search in Candidate Search.
    So how to restrict the Locked candidates to able to see in Candidate search.
    I tried SNOTE 1301016, i confused how to use that one.
    Please help if you have faced similar issues.
    Kind regards
    Chetan

    Hi Nicole,
    I am able to find one entry in IT5134, So exactly where we need to check for the attachment status.
    Below are the table entries
    MANDT:300 PLVAR :01     OTYPE:NA     OBJID: 50027289 SUBTY:0001     ISTAT:1 BEGDA: 17.03.2011 ENDDA: 31.12.9999     INFTY:5134     OTJID: NA50027289     AEDTM: 17.03.2011 UNAME: AMXJUE     ATT TYPE: 12 ATTACHMENT:1 LANGUAGE:EN    ATT HEADER: Juechter 2011     REC GUID:          ATT GUID:     
    Thanks for your help.          
    Kind regards
    Chetan

  • How to separate search results onto different jsp pages?

    Hi,
    I'm using struts framework and I'm a newbie to this technology as well as JSP.
    Let's say, this is an online shop portal and a user has decided to search by category for the products he wants. After submitting the search string, the servlet will return a collection of product value objects to the searchResult.jsp.
    Since this collection may contain alot of products, I will have to allow the user to choose to view the search results by 5, 10, 20 products etc. Now, how do i divide the collection? Do i have to code this function in the action servlet or at the jsp pages? And how do i code them?

    I had a similar problem which I resolved by:
    1) load results into a ArrayList
    2) Have a ValueListHandler with getNextElements(int) & getPreviousElements(int) - see J2EE patterns book for code egs
    3) Then I put logic in display jsp along lines of if ->, call ValueListHandler.getNextElements(10), else call ValueListHandler.getPreviousElements(10)
    Good luck
    Eddie
    Hi,
    I'm using struts framework and I'm a newbie to this
    s technology as well as JSP.
    Let's say, this is an online shop portal and a user
    r has decided to search by category for the products
    he wants. After submitting the search string, the
    servlet will return a collection of product value
    objects to the searchResult.jsp.
    Since this collection may contain alot of products, I
    will have to allow the user to choose to view the
    search results by 5, 10, 20 products etc. Now, how do
    i divide the collection? Do i have to code this
    function in the action servlet or at the jsp pages?
    And how do i code them?

  • WebPart: Display the search result in an spgridview with filter and sort

    hi,
    For explain more in details.
    I need the search result in a table displaying some meta common in the different library.
    I've to have the possibility to filter and sort the grid.
    i'm trying to extend Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart
    i can have the result from the textbox search with: SharedQueryManager.GetInstance(this.Page).QueryManager
    My queryManager is populate in the method: CreateChildControls
    I put the sample code i use. and in the populateData method, my querymanager is null while in the createChildContriol, it's correctly populate with : this.queryManager = SharedQueryManager.GetInstance(this.Page).QueryManager;
    using System;
    using System.ComponentModel;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Web.UI.WebControls.WebParts;
    using Microsoft.SharePoint;
    using Microsoft.SharePoint.WebControls;
    using Microsoft.SharePoint.Search.Internal.WebControls;
    using Microsoft.Office.Server.Search.Query;
    using Microsoft.Office.Server.Search.WebControls;
    using System.Data;
    using System.Xml;
    namespace CustomSearchResultWebPart.CustomCoreResultWebPart
    [ToolboxItemAttribute(false)]
    public class CustomCoreResultWebPart : Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart
    private ObjectDataSource objDS;
    private const string ObjectDataSourceID = "gridViewDataSource";
    private QueryManager queryManager;
    private SPGridView gridView = new SPGridView();
    protected override void CreateChildControls()
    //here is correctly populate
    this.queryManager = SharedQueryManager.GetInstance(this.Page).QueryManager;
    try
    LoadSearchGrid();
    catch (Exception ex)
    Page.Response.Write(ex.Message + " - " + ex.StackTrace);
    //base.CreateChildControls();
    protected override void OnInit(EventArgs e)
    base.OnInit(e);
    protected override void OnLoad(EventArgs e)
    base.OnLoad(e);
    protected override void OnPreRender(EventArgs e)
    //gridView.DataBind();
    base.OnPreRender(e);
    protected override void Render(HtmlTextWriter writer)
    base.Render(writer);
    public DataTable populateData()
    DataSet dtSet = null;
    DataTable dtTable = null;
    //here is my query manager is null
    if (queryManager != null && queryManager.Count > 0)
    XmlDocument xdoc = new XmlDocument(); //We are using XmlDocument
    xdoc = queryManager.GetResults(queryManager[0]);//xml returned by search
    if (xdoc != null)
    XmlReader xmlReader = new XmlNodeReader(xdoc);
    dtSet = new DataSet();
    dtSet.ReadXml(xmlReader);
    if (dtSet.Tables.Count > 1)
    dtTable = dtSet.Tables["Result"];
    return dtTable;
    private void LoadSearchGrid()
    this.objDS = new ObjectDataSource();
    this.objDS.ID = ObjectDataSourceID;
    this.objDS.SelectMethod = "populateData";
    this.objDS.TypeName = this.GetType().AssemblyQualifiedName;
    this.objDS.ObjectCreating += new ObjectDataSourceObjectEventHandler(objDS_ObjectCreating);
    this.Controls.Add(objDS);
    gridView.ID = "_gridView";
    gridView.AutoGenerateColumns = false;
    gridView.Width = new Unit(100, UnitType.Pixel);
    gridView.EnableViewState = false;
    gridView.AllowPaging = true;
    gridView.PageSize = 5;
    gridView.DataSourceID = ObjectDataSourceID;
    this.Controls.Add(gridView);
    void objDS_ObjectCreating(object sender, ObjectDataSourceEventArgs e)
    //e.ObjectInstance = objDS;
    protected void gridView_RowDataBound(object sender, GridViewRowEventArgs e)
    //throw new NotImplementedException();
    Do you have a sample that i can use or some tutorial?
    thanks for your help

    I added this in my class
    public class CustomResultsDatasource : CoreResultsDatasource
    public CustomResultsDatasource(Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart parentWebPart)
    : base(parentWebPart)
    View = new CustomResultsDatasourceView(this, GetType().Name);
    public class CustomResultsDatasourceView : CoreResultsDatasourceView
    public CustomResultsDatasourceView(SearchResultsBaseDatasource dataSourceOwner, string viewName)
    : base(dataSourceOwner, viewName)
    //make sure we have a value for the datasource
    if (DataSourceOwner == null)
    throw new ArgumentNullException("DataSourceOwner");
    CustomResultsDatasource datasource = this.DataSourceOwner as CustomResultsDatasource;
    this.QueryManager = SharedQueryManager.GetInstance(datasource.ParentWebpart.Page).QueryManager;
    And this in my customSearchResultWebPart
    protected override void CreateDataSource()
    //base.CreateDataSource();
    this.DataSource = new CustomResultsDatasource(this);
    How can i use queryManager in populateData?
    thanks for your help

  • Search results link which open in same window

    Hello,
    i want to open the search result documents in the same window as the search result. Therefore i edit the field 'Target Window Type' in the SearchResourceRenderer to 'SELF'  which is used in the SearchResultLayoutSet.
    But the document also is opened in a new window.
    What i have to do?
    Best regards,
    TomSd

    Hi there,
    we had the same issue - I opened an OSS and got following reply :
    <i>
    <b>08.03.2007 - 12:45:49 CET    SAP    Reply</b>
    I have checked from my development colleague and confirmed that
    this parameter is not supported currently and development has recently
    no plans to support this feature.
    I apologize for the inconvenience caused here.
    Thank you for your cooperation.
    Best Regards
    </i>
    Can you believe this ? I don't, as this parameter has been around since SP12 or so and still there is no official note regarding this issue.
    > Please reward points :o) <

  • I DON'T SEE THE NORTON SAFE ICON IN FIREFOX SEARCH RESULTS. i i DO WITH GOOGLE CHROME.

    Missing Norton's icon from search results.

    If you check your extensions list, is the Norton add-on installed and enabled?
    orange Firefox button ''or'' classic Tools menu > Add-ons > Extensions category
    Norton add-ons generally are updated within days of each major Firefox release. If you haven't gotten an update recently, you might check for that.
    http://updatecenter.norton.com/

  • Prc search results show different property

    We are wirting a custom search based on the simple search example and want to show the description property in the results.

    I have the same problem with AIFF's too...
    It's a big problem for me as I'm currently doing some sound design.
    I need to see the file name in the finder, not the title/track name.

  • Search Results Clear On Refinement with custom Display Template

    I am working with a custom search display template. I did minor presentation changes in the template. I am showing a checkbox against each search item and there is some logic behind it.
    For this I am using Item_Default Template.
    ctx.OnPostRender = [];
    ctx.OnPostRender.push(function(){
    $('input[name=checkbox]').change(function(){
    //My Logic
    With this is in place, on page load it shows initial results just fine and my checkbox logic also works fine.
    However, whenever user hits a refinement value the results clear out and no longer display. I know the results are there because when I do reload of the page refined results appears but again when you click on refinement value results disappear.
    With some digging on the forums I found that use "AddPostRenderCallback(ctx,function(){" instead of "ctx.OnPostRender.push", I tried this as well but it didn't help.
    Whenever I remove "ctx.OnPostRender.push(function(){" code from my template, refinement panel starts working properly again. So there has to be something related to this "ctx.OnPostRender.push". I cant just
    remove it because I have to write my JS logic as well for that this function is must.
    Please give me some pointers.
    Thanks
    Sarvesh
    Regards Sarvesh Shinde SharePoint Developer, India

    i am able to get the  results  by implementing the below:
    <h4 style="background-color:black">
                        <a onclick="javascript:mycalltojs(_#=
    ctx.CurrentItem.Path=#_) > click here </a>
                    </h4>
    hope this helps  anyone

  • Search multiple folders for files with same name and create single file

     I have a project where I need to search multiple folders for a file name and when found append data from each file to a single input file.
     Example
    root folder to start search
    \\servera\sales
    \\servera\it\salesa\cmmstr.txt
    \\servera\it\salesb\cmmstr.txt
    \\servera\it\salesc\cmmstr.txt
     I need to create a a single cmmstr.txt on the root folder. I would like it to be able to run this with parms to pass in folders to search and file names to search and single file name to create. I'm going to have a least 10 differnt files to
    search for and create output file for. The folders to search
    will somewhat be static.
     Thanks.

    I tested this out on my own seat and I think it should work for you. I wrote it as a function, all you have to do is pass the root folders you want to search and the file your looking for. The function will then search that directory and all sub directories
    for that file name. you will also have to provide it a file to append to, if the file dosen't exists the function will create it. If you run into an issues let me know and the links Mike
    Laughlin posted are a great resource.
    Function Search-Files{
    Param([String[]]$Locations, $SearchFor, $AppendTo)
    Begin
    If(-Not (Test-Path $AppendTo)){New-Item $AppendTo -ItemType File -Force}
    Process
    ForEach($Location in $Locations)
    $Files = Get-ChildItem -Path $Location -Filter $SearchFor -Recurse
    ForEach($File in $Files)
    Get-Content -Path $FIles.FullName | Out-File $AppendTo -Append
    End{}
    Search-Files -Locations "\\Server1\c$\Temp", "\\Server1\c$\Test1" -SearchFor "Install.cmd" -AppendTo "C:\Temp\Search.log"

  • The way SharePoint open office documents will differ if the user try to open them from the document library directly, or if users try to open the document from the search result page.

    I have a document library where I have uploaded an excel sheet to it. Now If I click on the excel sheet directly from the document library page , I will get the following error ““The webpage cannot be displayed””. While if I do a search and I open the excel
    sheet from the search result page , it will open the excel sheet using the excel services inside the browser !!.
    So can anyone advice on this ?
    Also if I have a PowerPoint document , and I try to open it from the document library I will get the following error “The webpage cannot be displayed” , and the URL will be prefix with the following “ms-powerpoint:ofv|u|”. while if i do a search and i open
    the PowerPoint from the search result page i will be prompted to either open or save the document ? So why SharePoint is reacting totally different when trying to open document library items from the document library Or from the search result page?

    Hi,
    The behavior in the document library could be probably because of the Documents handling setting. Please try setting it to default behavior (Open in browser) as i hear from you that the default behavior is to open from browser.
    Thanks, Suneetha
    Currently I have set the following;-
    1. On the library advance setting :- I define  “Open in the client application”
    2. On the web application setting:- I define stricked for Browser File Handling
    And I have noted if I delete the browser cache and I access the document , then I will be prompted with the download dialog. but if I re-click on the same document I will be redirected to the
    The webpage cannot be displayed
    And the ms-powerpoint:ofv|u| will be added to the beginning of the URL. So could this be a caching problem ?

  • Search results load in the current tab rather than the new tab where the search was started from.

    Steps to reproduce:
    Open a new tab
    Using the search bar (for Google) within the page on the new tab, enter a search query and press enter
    Quickly switch to a different tab
    The search results will load on the different tab rather than the tab where the search was started from

    hello, can you try to replicate this behaviour when you launch firefox in safe mode once? if not, maybe an addon is interfering here...
    [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]

  • Searching Google from Firefox yields strange search results

    When searching Google using Firefox browser my search results are not consistent with normal results. Logged out of Google of course. Example: I search something like ccleaner or firefox and there is not a result linking to them at all. But the links that do show up seem to be related just not the obvious top hits. Search Bing and the first result should be bing.com , right?

    Do a malware check with some malware scanning programs on the Windows computer.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br /><br />
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.microsoft.com/security/scanner/en-us/default.aspx - Microsoft Safety Scanner
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    You can also do a check for a rootkit infection with TDSSKiller.
    *http://support.kaspersky.com/viruses/solutions?qid=208280684
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • SharePoint 2013 public facing site - need to mask url in search results

    Hi, we have sp2013 public facing site. Can we mask the display url in search results? Actually we are pointing two urls(ex: A & B) to same web application. Search results are already crawled based on A URL, so when people search in  browsing 'B'
    URL search results is giving URL with 'A' site. Please let me know if anyone have possible solution.
    Can we have more than one url for internet zone in AAM? i browsed in blogs most of them say it is not possible.
    Thanks,
    JB
    JB

    Please don't create multiple questions for same issue, below one is the duplicate thread
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/25a31628-1a96-4d6d-a792-3493af5bdd83/unable-to-find-manage-site-feature-in-sharepoint-2013-public-facing-site?forum=sharepointgeneral
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

Maybe you are looking for

  • Report help needed

    Hi All, I am struck into a particular problem. Please have the patience to read through the problem. I have a report with 2 queries. One query picks ups the invoices from the AR module, and the other query picks up the entries from the GL module beca

  • ORA-19634 during recovery

    Hi All, On my database the datafile belonging to UNDO tablespace is corrupted, and that cause the database to be down automatically. For the recovery using RMAN I started the DB in mount and try to restore the UNDO tbs. The restore process was succes

  • How to playback FLV file?

    Hello, I am currently exporting .flv files using Adobe Flash Encoder. Once these flv files are exported, how can I view the clips? I need to view them for review, and I've tried Downloading flash player 9, but apparently that's just a plug-in for web

  • PNG file

    I have created a PNG file and overlayed it on the web www.wellsmediala.com/wellsmedia2009/index.html when you enter the site and get to the first page the logo comes down but you can still see a faint black line around the file on my lap top which is

  • Voicemails for the UCCE agents

    Dears, We are implementing a new UCCE project version 9.0 with CVP 9.0 and we will allow callers to leave Voicemails for the agents in case the call center is closed. Has anyone tried to implement a similar case and can shed some light on how to deal