Found this content helpful? Log in or sign up to leave a like!
SmartSearch with exact match?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Developing a batch job to look for references in any course content to a soon to be deprecated site we will call "school.domain.edu"
I am querying smartsearch with the term "school.domain.edu" and getting many false positives.
So I have tried looking at only the highest value for "relevance" if it is > 90, and I am still getting false positives, such as one page with a list of email adresses so the page ahd "domain.edu" 10 times. Also, a page with 3 uses of the name of the "school" but not the full URL I am seeking.
Is there a way to search all course content over the API for a course for an exact match on my search term?
We use AtomicSearch in our browser and can do this, but they don't have an API ready yet that we could use.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The smart search is still in beta, so hopefully if there are any quirks with it, it would be fixed soon. Maybe you could mention this in the smart search forum: Smart Search (Feature Preview) - Instructure Community, and maybe they have an alternative solution.
But if the issue is just false positives, you could filter those out in a script. For example, call the smart search API in Python, save them as a list, and then filter the results.
Your bigger problem would be false negatives.