-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Results count inconsistent every time I refresh #1413
Comments
Hi @mikezimm, the result count is an estimation given by the SharePoint search engine especially for large results set so this is the default behavior and not a bug. If you test with a smaller results set, the count should be consistent. |
Small update ( the plot thickens )... But if I search for a word in the file name it displays lots of those files. But this is how I am finding this out. I search for "Birch" in the search webpart and I get 532 results give or take if I re-run the search. I compare this to a webpart I recently created to be able to assess large libraries by doing paged get until there's nothing more to get. In my webpart, I know I'm getting the entire library because the count does match Site Contents item count 5394. I'm stumped why it is doing this and would appreciate any insights. |
@FranckyC , thanks for the answer, I just saw it after my follow-up since I probably started that before your message. Do you know off hand how it handles the results in large lists? I'm looking at using the refiners so that the end result should always be well under 5k. Thanks |
@mikezimm this is internal logic in Microsoft Search and nothing we can control nor guess how it will work for different scenarios. |
@wobba , @FranckyC , Would it be possible in the next update to add a title prop over the results saying something like: That would be an easy improvement so that at least on hover (or a tool tip) people know something isn't broken. Regards, |
@mikezimm we won't do that - but you can modify the template yourself and add it. Pick the template you want to use, then click the |
@wobba , well that was easy... Thanks! |
Version used
4.3
Describe the bug
When I have the results unfiltered on the page and refresh, the "results" count is different.
This is a controlled test meaning no items are being added to the library and I also found that the count varies up and down seemingly randomly.
See screenshots to see what I'm referring to... The Site Contents page shows 5394 items total for my library..
After refreshing over and over... these are the results I get in random testing (in order they happened)
5208, 5172, 5207, 5392, 5207, 5392, 5265, 5217, 5217, 5265, 5168
What I do find interesting after doing that test, is that I see some numbers coming up twice which seems rather unlikely given the odds. I could not really find a pattern though since it does go up and down.
To Reproduce
Expected behavior
The unfiltered results count should show a consistent number. I get that a search crawl could always be happening which may impact the numbers. But if nothing was added during a period of time then the number should be stable and consistent.
Screenshots
The text was updated successfully, but these errors were encountered: