Skip to content
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

Finding only exact matches #5

Open
gpeipman opened this issue May 2, 2017 · 6 comments
Open

Finding only exact matches #5

gpeipman opened this issue May 2, 2017 · 6 comments
Assignees

Comments

@gpeipman
Copy link

gpeipman commented May 2, 2017

Hi!

Is it somehow possible to control through script the results returned? Currently search returns all matches. If synonym is John then also Johnston is found. Any way to control it?

@estruyf
Copy link
Member

estruyf commented May 3, 2017

@gpeipman if you want, you can add wildcard values to your synonym list. Like: john*

@gpeipman
Copy link
Author

gpeipman commented May 3, 2017

No-no. The problem is that I get currently also Johnston with John but I want there only to be John :)

@estruyf
Copy link
Member

estruyf commented May 3, 2017

@gpeipman Are you doing your searches against the SharePoint results source or people results source?

@wobba any other option than disabling stemming when querying against the SharePoint results source?

@gpeipman
Copy link
Author

gpeipman commented May 3, 2017

SharePoint results source, not people one. And I'm using the script on Office 365.

@wobba
Copy link
Contributor

wobba commented May 3, 2017

@gpeipman and if you remove the script from the page, then you don't get Johnston? Could you grab the request and response from the query using your browser dev tools? To see what the query looks like and how it might have been rewritten bynthe query component.

@estruyf
Copy link
Member

estruyf commented May 5, 2017

@gpeipman any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants