Title Back Colour Keyoti Title Line Title Curve
Blue Box Top

Ignore stoplist.txt - SearchUnit - Forum

Welcome Guest Search | Active Topics | Log In | Register

Options
DMacy
#1 Posted : Tuesday, September 26, 2017 11:06:45 PM
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
Jim
#2 Posted : Wednesday, September 27, 2017 1:23:20 AM
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!


DMacy
#3 Posted : Wednesday, September 27, 2017 1:38:04 AM
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.
Jim
#4 Posted : Wednesday, September 27, 2017 1:46:31 AM
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!


DMacy
#5 Posted : Wednesday, September 27, 2017 1:53:44 AM
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.
Jim
#6 Posted : Wednesday, September 27, 2017 4:47:21 AM
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!


DMacy
#7 Posted : Wednesday, September 27, 2017 2:14:56 PM
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.
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.




About | Contact | Site Map | Privacy Policy

Copyright © 2002- Keyoti Inc.