splitbrain/dokuwiki-plugin-searchindex

Doubling the index entries

Opened this issue · 1 comments

When I update or rebuild index with this searchindex manager plugin, I get all the indexed entries doubled in search - I mean, I get 2 identical versions of them, though there is only one file (page) in reality.
This was on Elenor of Tsor dokuwiki version and now i tried it on Frusteric manners and it is all the same behaviour. Before Elenor of Tsor it worked OK.

Looks like I got what is the problem.
Looked into the page.idx file and saw that the original per page index mechanizm indexes page names only in lower case letters - no matter how the file name is written in reality, and this plugin mechanizm indexes file names as they are - upper and lower case. So, 2 entries appear in the list - one - all letters in lower case, and second - letters both in upper and lower case.
I think that this should be put to some common denominator somehow, so both mechanizms act the same way.
Now i solved it renaming all my files in lower case.