837183 writes

Hi medoc

A quick question: Is there a way to disable stemming?

From the GUI, I’ve removed every stemming language, thinking it should do the trick, however - stemming is still at place, unless the "l" modifier is used.

In example, searching for "methods" would highlight both "method" and "methods" in the Snippets view.

medoc writes

Selecting no stemming from the Preferences menu seems to work for me, at least for the query itself (you can check this easily by clicking "Show Query"). Maybe there is a bug with highligthing though?

In the Youtube video, you are ajdusting the "indexstemminglanguages" variable. This determines what stemming dictionaries are generated at index time. It needs an incremental reindex at least to have an effect. You then use the Preferences menu, or he l modifier, or capitalisation to control stemming expansion at query time (from the dics generated at index time).

837183 writes

>you are ajdusting the "indexstemminglanguages" variable. This determines what stemming dictionaries are generated at index time

Thanks, I see.

The index was built using using no entries in the Stemming languages pane. I rebuild it frequently and I always use the same settings, for months.

>Selecting 'no stemming' from the Preferences menu seems to work for me

In Preferences, I had (no stemming) selected.

Searching for "cats" would return a document that had only "cat" (not "cats")

did this: (no stemming) - > (all languages) - > (no stemming)

Searching for "cats" didn’t return said document.

then (no stemming) - > (all languages)

Searching for "cats" didn’t return said document. (this makes sense as stemming dictionaries weren’t used to create the index).

There might be a mini-bug somewhere in there somewhere….but regardless doing this seems to solve it?

(no stemming) - > (all languages) - > (no stemming)

medoc writes

Closing this, because it’s not clear to me that there is an issue. The important thing to remember is that there are 2 different settings (or sets of settings) which control stemming:

  • Settings which control which stemming dictionaries are built when indexing: indextemminglanguage list in recoll.conf, and/or command line options to recollindex.

  • Settings which control what dictionaries are used during a query (from the recoll menu or command line options).