Bug 16744 - recoll - the very nice file indexing and search program, need update
Summary: recoll - the very nice file indexing and search program, need update
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL: http://www.lesbonscomptes.com/recoll/
Whiteboard: advisory MGA5-64-OK MGA5-32-OK
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2015-09-12 16:40 CEST by Morgan Leijström
Modified: 2015-11-07 21:12 CET (History)
7 users (show)

See Also:
Source RPM: recoll
CVE:
Status comment:


Attachments

Description Morgan Leijström 2015-09-12 16:40:58 CEST
Description of problem: I experience a few glitches in the search.

We have in mga 5 the old version 1.19.14p2-4.mga5 of november 2014,
while latest stable is 1.20.6 of april 2015.

For cauldron, i guess the 1.21.* version is suitable.

Note: There are 6 *recoll* packages

Reproducible: 

Steps to Reproduce:
Comment 1 Marja Van Waes 2015-09-15 16:55:20 CEST
(In reply to Morgan Leijström from comment #0)
> Description of problem: I experience a few glitches in the search.
> 
> We have in mga 5 the old version 1.19.14p2-4.mga5 of november 2014,
> while latest stable is 1.20.6 of april 2015.

Note that a newer version in a stable Mageia release is only allowed if it is a pure bugfix update, and there are no new features.
https://wiki.mageia.org/en/Updates_policy#Version_Policy

Please tell more about the search glitches you experience. Is it easily reproducable?

CC'ing recoll committers, since there's no maintainer

CC: (none) => cjw, dglent, fundawang, marja11, supp, thierry.vignaud

Marja Van Waes 2015-09-15 16:55:34 CEST

Keywords: (none) => NEEDINFO

Comment 2 Morgan Leijström 2015-09-15 18:17:56 CEST
Example:
1) In the Advanced search dialog, when selecting "Any caluse", the "Restrict results to files in subtree" does not restrict. Easily reproduced. ( the two dialog tabs but with other settings can be seen at http://www.lesbonscomptes.com/recoll/pics/recoll2.html )

2) There are also other combinations i think are not working correctly, but i have neither taken a deeper dive (possibly i simply do not understand the interface/naming) nor feedbacked to autor as the version I use is the old one in mga5 and i think further test should be in the current stable version.

I read the search gui is improved, so i was thinking/hoping the issues are gone.
(but i dont know)

1.20.6 is the stable one that have been out a few months. Apart from above, it  improves performance, and add Qt5.3.2+ compatibility.

1.21 also changes the way searches are executed, but is still dubbed development version, so is only for cauldron.

I think there are not much feature added, but performance and bugfix (like
" The Open/LibreOffice document filter does not output white space for tab-separated words in input, leading to search failures and performance improvement." ) which may lead to user not finding what he looks for.

I dont think updating recoll will be a risk (it is not like an office package.  Rebuilding the database after update is recommended but not strictly needed.
And easily done from user interface File>Rebuild.

I believe recoll is the best file indexer we have so i think it is good to keep it in shape :)
Comment 3 Dimitrios Glentadakis 2015-09-16 06:47:05 CEST
I use also Recoll and as we have stayed long time in freeze i have installed in my system mga5 the version 1.20.6 in qt5 since June 2015 without any problem.
As we provide Qt > 5.3.2 we should have in mga5 the updated package and not the old 1.19.14p
It doesn't need the update of any other package.
If there is no any objection, i could update it in mga5 updates to 1.20.6

* I confirm that it works the restrict to file name in advanced search as described in the comment #2 , in version 1.20.6.
Comment 4 Morgan Leijström 2015-09-16 07:43:29 CEST
Thank you, sounds good to me.
I can test mga5 64 bit if you put it in updates testing.

Keywords: NEEDINFO => (none)

Comment 5 Dimitrios Glentadakis 2015-09-16 17:15:12 CEST
I was about to treat this and i realised that the new version 1.20.6 is in 5 updates testing already...
http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/5/x86_64/media/core/updates_testing/recoll-1.20.6-3.mga5.x86_64.rpm
Comment 6 Morgan Leijström 2015-09-16 20:50:44 CEST
Ah, nice, i see in change log fwang was really quick, and reference this bug.
@ fwang, please commmunicate; assign it too you and/or post in the bug when you start working to avoid double work.

Thanks for your work wang! :)
        

I uninstalled recoll (all 6 *recoll* packages) and xapian, enabled and updated the updates testing repo.

Now when i install recoll-full it pulls in one package that the earlier version did not pull in: aspell-en  (suggests i presume, as i can deselect it and recoll installs anyway)  I already have aspell-sv and aspell... and now i chose manually aspell-en

I think the change think the change is good, most everybody have at least a bunch english documents...

Note recoll report a missing helper: python-epub


Testing it, it still fail my test 1) in comment #2 maybe i do something stupid?
  I do like this:
0) first i remove and let it build a new database just to be sure it is fresh
1) recoll meny Tools -> Advanced search.
2) in the filter tab in bottom field "Restrict results to files in subtree" i enter the folder tree in which i want to search for a word (simple test). All three checkboxes above left are unchecked.
3) in the Find tab i at top row right enter the word i want to find in that subtree.  Al else is per default (I presume: all middle dropdowns show "No field" and the dropboxes left of them show from top to bottom: Any, Phrase, None, None, None.
4a) set the top left dropdown to "All clauses" and press "Start Search".  Result: it finds all documents in that subtree that contain the given word.
4b) change that dropdown to "Any clause"  and press "Start Search".  Result: it returns findings inside that subtree *and other places* !

I have a feeling that the logic "any" spills over to not care of location, but it would be strange if such bug have not been corrected for so long...

If someone here confirm, i will issue bug at the recoll developer bug handler.

( A minor issue is that nordic characters in "File name" column of the result list when viewed as table are shown as ??  (same characters are shown correctly in other columns.) )
Comment 7 Morgan Leijström 2015-09-16 20:53:40 CEST
(In reply to myself in comment #6)

> Note recoll report a missing helper: python-epub

Sorry, i was wrong; after rebuild of database it say "no missing helpers" = OK :)

( From menu File > Show_missing_helpers )
Comment 8 Morgan Leijström 2015-09-16 21:46:33 CEST
I find it works OK on mga5-64. Did not try in Qt5 but Dimitrios tested that OK.
(i find no regression, and the issues i mention are probably not mageia specific)

Whiteboard: (none) => MGA5-64-OK

Comment 9 Morgan Leijström 2015-09-17 21:28:24 CEST
Test OK mageia 5 32 bit:  It had not have recoll before, now installed recoll-full, works OK.


(In reply to Morgan Leijström from comment #6)
> ( A minor issue is that nordic characters in "File name" column of the
> result list when viewed as table are shown as ??  (same characters are shown
> correctly in other columns.) )

On my wifes install mga5-64 nordic characters appear correctly in "File name" column. Strange.

Whiteboard: MGA5-64-OK => MGA5-64-OK MGA5-32-OK

Comment 10 Morgan Leijström 2015-09-28 09:14:21 CEST
The bug i described in comment 2 point 1) is confirmed by developer
https://bitbucket.org/medoc/recoll/issues/269/advanced-search-restrict-results-to-files  so it is not packaging related.
Comment 11 Morgan Leijström 2015-10-31 17:25:08 CET
The bug i reported is fixed upstream and the current Recoll version is 1.21.3
http://www.lesbonscomptes.com/recoll/
If someone builds i can test it on mga5-64
Comment 12 Dimitrios Glentadakis 2015-11-04 22:16:33 CET
The 1.21.3 is uploaded in updates testing
Comment 13 Morgan Leijström 2015-11-05 23:28:40 CET
Thanks.  Test on mga5 64 bit OK: Packaging seem OK and bugs fixed.
( uninstall old, install new recoll-full, rebuild index, search )
Comment 14 Dimitrios Glentadakis 2015-11-06 06:27:42 CET
Ok, (in my comment 3 i hadn't use the filters tab, only the filter in the first tab ...)
Comment 15 Dimitrios Glentadakis 2015-11-06 06:32:59 CET
Advisory:
========================

Updated recoll package with fixes and new features
Among others it fixes the filter of query in sub-folders (mga#16744)
According the developer notes, Recoll 1.21 becomes the production version.

It is suggested (not mandatory) to reset the index after updating from 1.19

References:
https://bitbucket.org/medoc/recoll/issues/269/advanced-search-restrict-results-to-files
https://bugs.mageia.org/show_bug.cgi?id=16744
http://www.lesbonscomptes.com/recoll/release-1.21.html
========================

Updated packages in core/updates_testing:
========================
recoll-1.21.3-1mga5
recoll-extra-1.21.3-1mga5
recoll-full-1.21.3-1mga5
kio-recoll-1.21.3-1mga5
python-recoll-1.21.3-1mga5
recoll-debuginfo-1.21.3-1mga5

Source RPMs: 
recoll-1.21.3-1mga5.src.rpm

Assignee: bugsquad => qa-bugs

Comment 16 claire robinson 2015-11-07 17:51:07 CET
Validating from previous tests, thanks guys.

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 17 claire robinson 2015-11-07 18:08:52 CET
Advisory uploaded.

Whiteboard: MGA5-64-OK MGA5-32-OK => advisory MGA5-64-OK MGA5-32-OK

Comment 18 Mageia Robot 2015-11-07 21:12:13 CET
An update for this issue has been pushed to Mageia Updates repository.

http://advisories.mageia.org/MGAA-2015-0177.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.