3

I feel like the answer is Yes, but I can't get it to work.

This is setup as an SP2016/O365 search hybrid with cloud ssa.

I have a result source like IsExternalContent:1 {searchTerms} and when searching for a phrase like "red dog" it doesn't return anything. It does return if I search just red dog, and I see the words red and dog next to each other in the hit highlights.

Using quotes against content stored in SharePoint Online sites works as expected, it's just the file shares crawled by Sp2016 which are acting up.

2 Answers 2

1

Could you please check if the IsExternalContent property is set correctly? I sounds like its broken in your case and could be a bug.

I would do the following:

  1. get the awesome search query tool: https://sp2013searchtool.codeplex.com/
  2. connect to your search and narrow down the results without the isexternalcontent property (e.g. use -path="" to exclude the other sources)
  3. in the primary results tab click on "view all properties" and check if the isexternalcontent is set correctly for your results

enter image description here

1
  • 2
    Bingo! IsExternalContent:1 is sucking wind. Took that out, did Path:\\servername instead and we're in business. Thank you! Commented Apr 11, 2017 at 19:53
0

A quoted phrase "red dog" is not the same as red dog. The phrase is an exact match. You should only get results containing the exact phrase. The second is essentially an AND query. The results should just contain both words in any order anywhere in the content.

You can also use proximity keywords like NEAR and ONEAR if you want more control than the simple AND query.

So, this "should work" as long as you have content that matches your query.

4
  • Agreed, and there lies my issue. "red dog" should return results but it's not Commented Apr 4, 2017 at 12:43
  • @DavidLozzi I would load up the document in question and make sure it has a proper space between red and dog, and not some other funky space character. If you upload the same doc to SP, does it work then? Commented Apr 5, 2017 at 10:19
  • If I put the doc in SP, it is returned as expected with "red dog". There are hundreds of documents at Red Dog Company that have that phrase, none are returned Commented Apr 5, 2017 at 18:00
  • Are the documents from the share in the index? Commented Apr 6, 2017 at 11:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.