biomimetics writes

Hi I just noticed that I get different results when using the ui with SEARCHLANGUAGE being set:

filename:mp ext:csv implant material mechanical OR mechanisch dir:csvs 184 results

and if this is run on the command line I get:

recoll -t filename:mp ext:csv implant material mechanical OR mechanisch dir:csvs

Recoll query: XSFNmp:(wqf=11) AND XEcsv:(wqf=11) AND (implant:(wqf=11) OR implantable OR implantation OR implants OR implanted OR implantate OR implante OR implantes OR implanting OR implantates OR implantations OR implanter OR implantering OR implantables OR implanters OR implantion OR implantitis OR implanteer OR implant’s OR implantated OR implantability OR implanter’s OR implantibility OR implantant OR implantants OR implantent OR implantible OR implantted OR implantal OR implanterings OR implantating OR implanteable) AND (material:(wqf=11) OR materials OR materially OR materie OR material’s OR materi OR materialize OR materializing OR materialized OR materializes OR materieal OR matery OR materialization) AND (mechanical:(wqf=11) OR mechanism OR mechanisms OR mechan OR mechanically OR mechanics OR mechanic OR mechanized OR mechanism’s OR mechanicals OR mechane OR mechanische OR mechanischer OR mechanisch:(wqf=11) OR mechanisches) AND XPcsvs 179 results

best regards and many thanks for recoll!

robin

medoc writes

Thanks again for reporting this. Could you please retrieve the GUI query from the "Show query" link so that we can compare ?

biomimetics writes

here is the first query which has more results

Anzahl Ergebnisse (ca.): 184

Suchdetails: XSFNmp:(wqf=11) AND XEcsv:(wqf=11) AND (implant:(wqf=11) OR implantable OR implantation OR implants OR implanted OR implantate OR implante OR implantes OR implanting OR implantates OR implantations OR implanter OR implantering OR implanteres OR implanteren OR implantables OR implanters OR implantion OR implantitis OR implantere OR implantem OR implanteer OR implant’s OR implanten OR implantated OR implanterer OR implantability OR implanter’s OR implantibility OR implantant OR implantants OR implantent OR implantible OR implantted OR implantal OR implanterings OR implantating OR implanteable) AND (material:(wqf=11) OR materials OR materiale OR materiales OR materialer OR materialen OR materialene OR materially OR materialem OR materie OR materialst OR material’s OR materi OR materialize OR materialenes OR materialized OR materializing OR materialers OR materializes OR materialens OR maeterial OR materieal OR materialization OR matery) AND (mechanical:(wqf=11) OR mechanism OR mechanisms OR mechan:(wqf=2) OR mechanically OR mechanics OR mechanic OR mechanized OR mechanism’s OR mechanicals OR mechanicale OR mechane:(wqf=2) OR mechanische OR mechanischer OR mechanischen OR mechanik OR mechanisch:(wqf=11) OR mechanisches OR mechanischem OR mechaniker OR mechaniken OR mechanischern OR mech√§nischen OR mechanikst OR mechanike OR mechanikers) AND XPcsvs

biomimetics writes

the one from the user interface (184) may be longer because the stemming is set for all languages (english, german and german2). But I do not know what recoll -t would be using as default (english only?): it would be good as an output for recoll -t to tell the user what parameters where used.

best regards

robin

medoc writes

I think that you are right, and the stemming language makes the difference.

With -t, the query is passed to the command line version of the program, which does not use the Qt preferences (where the current GUI list of stemming languages is stored). Instead, the command line uses english as a default stemming language, and you can use the option -s to set the languages used. -s "" will turn off stemming, -s "english german" would use both english and german.

I see that the command line option was left out of the main manual, I’ll fix this. It is documented in the recollq man page, but this is not installed in general, which I’ll change too.

biomimetics writes

if I adapt my stemming to the stemming I use in the QT interface I still have the same results :-(

recoll -t -s "english german german2" filename:mp ext:csv implant material mechanical OR mechanisch dir:csvs

Recoll query: XSFNmp:(wqf=11) AND XEcsv:(wqf=11) AND (implant:(wqf=11) OR implantable OR implantation OR implants OR implanted OR implantate OR implante OR implantes OR implanting OR implantates OR implantations OR implanter OR implantering OR implanteres OR implanteren OR implantables OR implanters OR implantion OR implantitis OR implantere OR implantem OR implanteer OR implant’s OR implanten OR implantated OR implanterer OR implantability OR implanter’s OR implantibility OR implantant OR implantants OR implantent OR implantible OR implantted OR implantal OR implanterings OR implantating OR implanteable) AND (material:(wqf=11) OR materials OR materiale OR materiales OR materialer OR materialen OR materialene OR materially OR materialem OR materie OR materialst OR material’s OR materi OR materialize OR materialenes OR materialized OR materializing OR materialers OR materializes OR materialens OR maeterial OR materieal OR materialization OR matery) AND (mechanical:(wqf=11) OR mechanism OR mechanisms OR mechan:(wqf=2) OR mechanically OR mechanics OR mechanic OR mechanized OR mechanism’s OR mechanicals OR mechanicale OR mechane:(wqf=2) OR mechanische OR mechanischer OR mechanischen OR mechanik OR mechanisch:(wqf=11) OR mechanisches OR mechanischem OR mechaniker OR mechaniken OR mechanischern OR mech√§nischen OR mechanikst OR mechanike OR mechanikers) AND XPcsvs 184 results

medoc writes

Why are you unhappy about "the same results" ? I see 184 results like the Qt query, not 179 like the initial command line, so this looks ok ?

The query strings are the same by the way.

biomimetics writes

sorry. I assigned the result to the wrong group (ui vs comand line). So everything is fine. please close the issue as resolved. best regards robin