Custom search to search pdf files in certain librarys

%3CLINGO-SUB%20id%3D%22lingo-sub-1998382%22%20slang%3D%22en-US%22%3ECustom%20search%20to%20search%20pdf%20files%20in%20certain%20librarys%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1998382%22%20slang%3D%22en-US%22%3E%3CP%3EHi!%3C%2FP%3E%3CP%3EI%20have%20set%20up%20document%20system%20with%20three%20different%20document%20librarys.%20Togheter%20they%20hold%20about%2032000%20pdf%20documents.%20I%20have%20implement%20the%20custom%20search%20module%20on%20my%20site%20and%20created%20a%20custom%20search%20resultspage.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20redirected%20the%20search%20to%20resultspage%20and%20defined%20the%20document%20librarys.%20I%20have%20also%20tried%20to%20define%20the%20SharePoint%20result%20source%20and%20search%20terms%20but%20with%20no%20luck.%20I%20have%20tried%20many%20different%20combinations%20like%20path%3Ahttps%3A%2F%2Fsharepoint%20document%20url%20like%20below%20with%20no%20luck.%20The%20results%20find%20my%20document%20librarys%2C%20but%20doesnt%20search%20in%20them%20for%20the%20files.%20It%20only%20shows%20a%20link%20to%20the%20document%20library%20instead%20of%20the%20files.%20Is%20ther%20something%20i%20missing%20or%20isnt%20this%20possbile%20to%20achieve%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDo%20I%20have%20to%20create%20a%20Scope%3F%20Crawl%3F%20I%20really%20dont%20understand%20those%20features.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20help!%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3E%3CSPAN%20class%3D%22pun%22%3E%7B%3C%2FSPAN%3E%3CSPAN%20class%3D%22typ%22%3ESearchBoxQuery%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%7D(%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pun%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22typ%22%3EPath%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3A%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3Ehttp%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3A%3C%2FSPAN%3E%3CSPAN%20class%3D%22com%22%3E%2F%2Fsharepoint%2Fsites%2Fdemo%2Fdev%2FDocLib1%20(FileExtension%3Apdf))%20OR%3C%2FSPAN%3E%0A%3CSPAN%20class%3D%22pun%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22typ%22%3EPath%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3A%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3Ehttp%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3A%3C%2FSPAN%3E%3CSPAN%20class%3D%22com%22%3E%2F%2Fsharepoint%2Fsites%2Fdemo%2Fdev%2FDocLib2%20(FileExtension%3Apdf))%20OR%3C%2FSPAN%3E%0A%3CSPAN%20class%3D%22pun%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22typ%22%3EPath%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3A%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3Ehttp%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3A%3C%2FSPAN%3E%3CSPAN%20class%3D%22com%22%3E%2F%2Fsharepoint%2Fsites%2Fdemo%2Fdev%2FDocLib3(FileExtension%3Apdf))%20)%3C%2FSPAN%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1998382%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESearch%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%20Office%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

Hi!

I have set up document system with three different document librarys. Togheter they hold about 32000 pdf documents. I have implement the custom search module on my site and created a custom search resultspage.

 

I have redirected the search to resultspage and defined the document librarys. I have also tried to define the SharePoint result source and search terms but with no luck. I have tried many different combinations like path:https://sharepoint document url like below with no luck. The results find my document librarys, but doesnt search in them for the files. It only shows a link to the document library instead of the files. Is ther something i missing or isnt this possbile to achieve?

 

Do I have to create a Scope? Crawl? I really dont understand those features.

 

Please help! :)

 

{SearchBoxQuery}( (Path:http://sharepoint/sites/demo/dev/DocLib1 (FileExtension:pdf)) OR
(Path:http://sharepoint/sites/demo/dev/DocLib2 (FileExtension:pdf)) OR
(Path:http://sharepoint/sites/demo/dev/DocLib3(FileExtension:pdf)) )

  

0 Replies