OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Using stop words

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
This forum is meant for general questions about the usability of OJS from an everyday user's perspective: journal managers, authors, and editors are welcome to post questions here, as are librarians and other support staff. We welcome general questions about the role of OJS and how the workflow works, as well as specific function- or user-related questions.

What to do if you have general, workflow or usability questions about OJS:

1. Read the documentation. We've written documentation to cover from OJS basics to system administration and code development, and we encourage you to read it.

2. take a look at the tutorials. We will continue to add tutorials covering OJS basics as time goes on.

3. Post a question. Questions are always welcome here, but if it's a technical question you should probably post to the OJS Technical Support subforum; if you have a development question, try the OJS Development subforum.

Using stop words

Postby ntorres » Thu Nov 17, 2005 1:40 am

I want use stop words when I use the search engine and i’m trying to know how it works.
I find the stopwords.txt file in registry directory. This file seems to contain the stop words used when i make a search. I see that this file was used to store the stop words in a array, i suppose it’ll be used when is searching. But when i write any word include in stopwords.txt in a sea ch the result numbers is bigger than without it, so doesn’t work well.
I have to make any change to use the stop word?
The engine use the same file to order the results of the search or i can include a new file with the “order word”? (for example to ignore “the”, “a” at the beginning)
Thanks
ntorres
 
Posts: 65
Joined: Thu Nov 17, 2005 1:19 am

Postby asmecher » Thu Nov 17, 2005 10:50 pm

Hello,

Stop words are used both when searching and when indexing; when you update the stopwords.txt file, you'll need to re-generate the search index using "tools/rebuildSearchIndex.php" before the search results will fully reflect the change.

Regards,
Alec Smecher
Open Journal Systems Team
asmecher
 
Posts: 9042
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: Baidu [Spider], Yahoo [Bot] and 8 guests