|
Rank: Advanced Member
Groups: Registered
Joined: 9/1/2010 Posts: 136
|
Is there a way to get the search results selection to ignore the stoplist file? Specifically, when a search phrase is surrounded by quotes, I want every word in that order to be considered. Right now, when I search for "Israel my glory" in quotes, since "my" is a word in stoplist.txt, it returns hits that have "Israel" and "glory" separated by exactly one word, but not necessarily the word "my".
Thanks!
Dan
|
|
Rank: Advanced Member
Groups: Administrators, Registered
Joined: 8/13/2004 Posts: 2,669 Location: Canada
|
You can deactivate it per the Help https://keyoti.com/produ...erGuide/Stop%20Lists.htm-your feedback is helpful to other users, thank you!
|
|
Rank: Advanced Member
Groups: Registered
Joined: 9/1/2010 Posts: 136
|
Thanks for the prompt response, Jim!
I didn't change anything in the way the index was generated. But in the results page for my site, where I have registered the Keyoti assembly and added a keyoti:SearchResult object, in the code behind I have added .Configuration.StopWords.Clear() to that SearchResult object. Yet the results for my sample search are the same.
I tried renaming the stoplist.txt file. Then the search with quotes turns up no results. The same search phrase without quotes gives an error. The best I can tell from the error message, it seems to be saying that the index does not contain the word "my" because it was included in the stoplist when the index was generated but now is not a stoplist word.
So nothing I've tried is giving the results I expect or wish.
|
|
Rank: Advanced Member
Groups: Administrators, Registered
Joined: 8/13/2004 Posts: 2,669 Location: Canada
|
If you change the stoplist, you have to reindex, Dan. -your feedback is helpful to other users, thank you!
|
|
Rank: Advanced Member
Groups: Registered
Joined: 9/1/2010 Posts: 136
|
Okay. I had forgotten that point. But that means I can't have one stoplist for one type of search and another for a different type.
I guess I'm surprised that it works this way for a quoted search phrase, as I would have thought that the intent of the user is to get that exact phrase, whether or not it contains stoplist words.
|
|
Rank: Advanced Member
Groups: Administrators, Registered
Joined: 8/13/2004 Posts: 2,669 Location: Canada
|
From our perspective the point of the stoplist is really about performance. Smaller indexes and faster searches. Using a stoplist doesn't enhance the search result quality. If you don't have any performance problems without a stoplist, then don't use one, you're better off. -your feedback is helpful to other users, thank you!
|
|
Rank: Advanced Member
Groups: Registered
Joined: 9/1/2010 Posts: 136
|
That's a helpful explanation. Thanks, Jim! I'll have to weight the pros and cons.
|
|