Modern Document Library returns no search results

%3CLINGO-SUB%20id%3D%22lingo-sub-7128%22%20slang%3D%22en-US%22%3EModern%20Document%20Library%20returns%20no%20search%20results%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-7128%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20got%20multiple%20document%20libraries%20in%20their%20modern%20view.%20One%20of%20them%2C%20which%20has%20almost%20100.000%20files%20returns%20no%20search%20results.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAll%20the%20other%20ones%20work%20fine.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20search%20bar%20on%20the%20top%20left%20gives%20results%20while%20typing%2C%20but%20not%20when%20hitting%20the%20enter%20button.%3C%2FP%3E%3CP%3Eany%20idea%20why%20we%20cannot%20search%20this%20library%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20old%20search%20bar%20from%20the%20home%20screen%20(old%20view%2C%20top%20right)%20gives%20results%2C%20also%20from%20this%20library.%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20810px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F2364iF4D925B6C4910384%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22001itg.PNG%22%20title%3D%22001itg.PNG%22%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F2363i8D0AF4D5C59A886A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22002itg.PNG%22%20title%3D%22002itg.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-7128%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-34859%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Modern%20Document%20Library%20returns%20no%20search%20results%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-34859%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Randy%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDid%20you%20ever%20open%20a%20ticket%20with%20Microsoft%20about%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20also%20expereienced%20this%20behaviour.%20Unfortunatley%20it%20seems%20that%20as%20soon%20as%20your%20store%20over%205000%20files%20in%20a%20library%20you%20can%20potentially%20run%20into%20this%20issue.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20you%20hit%20Enter%2C%20the%20library%20is%20trying%20to%20filter%20results%20rather%20than%20use%20the%20search%20index.%20The%20resulting%20message%20is%20misleading%20when%20it%20suggests%20that%20'No%20items%20match%20your%20search%20query'.%20That%20isn't%20actually%20true%2C%20it's%20just%20that%20SharePoint%20cannot%20display%20the%26nbsp%3Bitems%20due%20to%20a%20limitation%20and%20therefore%20shows%20nothing.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt's%20been%20noted%20on%20user%20voice%20albeit%20with%20two%20votes%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsharepoint.uservoice.com%2Fforums%2F330321-sharepoint-search%2Fsuggestions%2F15761968-can-t-view-all-search-results-in-modern-document-l%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsharepoint.uservoice.com%2Fforums%2F330321-sharepoint-search%2Fsuggestions%2F15761968-can-t-view-all-search-results-in-modern-document-l%20%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDavid%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-7584%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Modern%20Document%20Library%20returns%20no%20search%20results%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-7584%22%20slang%3D%22en-US%22%3EOne%20additional%20reason%20to%20open%20a%20ticket...%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-7579%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Modern%20Document%20Library%20returns%20no%20search%20results%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-7579%22%20slang%3D%22en-US%22%3E%3CP%3ENo%20i%20havent%2C%20and%20yes%20i%20did%20and%20it%20doesnt%20work%20also%20in%20classic%20view.%3C%2FP%3E%3CP%3ESo%20im%20guessing%20its%20a%20library%20thing%20on%20this%20specific%20case.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-7578%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Modern%20Document%20Library%20returns%20no%20search%20results%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-7578%22%20slang%3D%22en-US%22%3EDid%20you%20open%20a%20support%20ticket%20so%20Microsoft%20can%20dig%20into%20this%20issue%3F%20If%20you%20switch%20to%20the%20classic%20view%3A%20does%20search%20work%20as%20expected%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-7573%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Modern%20Document%20Library%20returns%20no%20search%20results%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-7573%22%20slang%3D%22en-US%22%3E%3CP%3EI%20agree%2C%20but%20we're%20getting%20off%20track%20with%20the%20purpose%20of%20my%20question.%3C%2FP%3E%3CP%3EWhy%20isnt%20my%20search%20returning%20any%20results%20within%20this%20specific%20library%2C%20when%20other%20libraries%20work%20fine%20with%20the%20same%20search%20bar%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAll%20settings%20are%20equel%2C%20but%20the%20amount%20of%20files%20is%20much%20much%20more.%3C%2FP%3E%3CP%3EAnyone%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-7570%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Modern%20Document%20Library%20returns%20no%20search%20results%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-7570%22%20slang%3D%22en-US%22%3EMmm...don't%20know%2C%20this%20search%20approach%20is%20everywhere...even%20in%20the%20new%20Office%20365%20landing%20page%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-7554%22%20slang%3D%22en-US%22%3ERE%3A%20Modern%20Document%20Library%20returns%20no%20search%20results%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-7554%22%20slang%3D%22en-US%22%3Ehi%20Juan%2C%20You%20are%20right%20but%20it%20would%20be%20nice%20if%20it%20becomes%20more%20dynamic%20%3A)%3C%2Fimg%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-7311%22%20slang%3D%22en-US%22%3ERe%3A%20Modern%20Document%20Library%20returns%20no%20search%20results%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-7311%22%20slang%3D%22en-US%22%3ENormal%20search%20bar%20has%20gone%20in%20the%20new%20UI%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-7310%22%20slang%3D%22en-US%22%3ERe%3A%20Modern%20Document%20Library%20returns%20no%20search%20results%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-7310%22%20slang%3D%22en-US%22%3EWell%2C%20i%20think%20its%20not.%3CBR%20%2F%3EOther%20libraries%20return%20proper%20results%2C%20and%20if%20its%20the%20idea%20of%20a%20quick%20search%20bar%2C%20where%20is%20the%20normal%20search%20bar%20in%20the%20modern%20library%20interface%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-7266%22%20slang%3D%22en-US%22%3ERe%3A%20Modern%20Document%20Library%20returns%20no%20search%20results%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-7266%22%20slang%3D%22en-US%22%3EIMHO%20the%20goal%20%2F%20idea%20of%20quick%20search%20is%20just%20to%20select%20when%20typing%20the%20file%20you%20are%20looking%20for%20and%20not%20use%20Enter%20key.%20To%20me%20it's%20not%20a%20bug%20and%20it's%20working%20as%20expected%20(and%20designed)%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-843380%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Modern%20Document%20Library%20returns%20no%20search%20results%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-843380%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3957%22%20target%3D%22_blank%22%3E%40David%20Bishop%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F4161%22%20target%3D%22_blank%22%3E%40Randy%20Nieraeth%3C%2FA%3E%26nbsp%3B%20Well%20it's%203%20years%20later%20and%20nothing%20has%20changed%2C%20what%20a%20surprise.%20This%20broken%20behaviour%20is%20still%20there%2C%20no%20solution%20but%20to%20switch%20back%20to%20the%20old%20interface%2C%20unless%20someone%20found%20a%20workaround%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-843397%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Modern%20Document%20Library%20returns%20no%20search%20results%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-843397%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3957%22%20target%3D%22_blank%22%3E%40David%20Bishop%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F4161%22%20target%3D%22_blank%22%3E%40Randy%20Nieraeth%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFOUND%20IT!!!!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBelow%20that%20dumb%20message%20%22No%20items%20match%20your%20search%22%2C%20all%20the%20way%20down%2C%20there%20is%20a%20light%20blue%2C%20small%20font%20link%20%22Expand%20search%20to%20all%20items%20in%20your%20organization%22.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

I've got multiple document libraries in their modern view. One of them, which has almost 100.000 files returns no search results.

 

All the other ones work fine.

 

The search bar on the top left gives results while typing, but not when hitting the enter button.

any idea why we cannot search this library?

 

The old search bar from the home screen (old view, top right) gives results, also from this library.001itg.PNG002itg.PNG

12 Replies
Highlighted
IMHO the goal / idea of quick search is just to select when typing the file you are looking for and not use Enter key. To me it's not a bug and it's working as expected (and designed)
Highlighted
Well, i think its not.
Other libraries return proper results, and if its the idea of a quick search bar, where is the normal search bar in the modern library interface?
Highlighted
Normal search bar has gone in the new UI
Highlighted
hi Juan, You are right but it would be nice if it becomes more dynamic :)
Highlighted
Mmm...don't know, this search approach is everywhere...even in the new Office 365 landing page
Highlighted

I agree, but we're getting off track with the purpose of my question.

Why isnt my search returning any results within this specific library, when other libraries work fine with the same search bar?

 

All settings are equel, but the amount of files is much much more.

Anyone?

Highlighted
Did you open a support ticket so Microsoft can dig into this issue? If you switch to the classic view: does search work as expected?
Highlighted

No i havent, and yes i did and it doesnt work also in classic view.

So im guessing its a library thing on this specific case.

Highlighted
One additional reason to open a ticket...
Highlighted

Hi Randy,

 

Did you ever open a ticket with Microsoft about this?

 

I have also expereienced this behaviour. Unfortunatley it seems that as soon as your store over 5000 files in a library you can potentially run into this issue.

 

When you hit Enter, the library is trying to filter results rather than use the search index. The resulting message is misleading when it suggests that 'No items match your search query'. That isn't actually true, it's just that SharePoint cannot display the items due to a limitation and therefore shows nothing.

 

It's been noted on user voice albeit with two votes

https://sharepoint.uservoice.com/forums/330321-sharepoint-search/suggestions/15761968-can-t-view-all...

 

David

 

Highlighted

@David Bishop @Randy Nieraeth  Well it's 3 years later and nothing has changed, what a surprise. This broken behaviour is still there, no solution but to switch back to the old interface, unless someone found a workaround?

 

Highlighted

@David Bishop @Randy Nieraeth 

 

FOUND IT!!!!

 

Below that dumb message "No items match your search", all the way down, there is a light blue, small font link "Expand search to all items in your organization".