## page was renamed from MoinMoinBugs/1.8TroubleWhenSearching ## page was renamed from MoinMoinBugs/1.8TroubeWhenSearching = Description = TitleSearch leaves out pages, can be tested on this wiki. * search "mediawiki" and MoinMoinVsMediaWiki is not returned. * search "toggle" and [[FeatureRequests/Toggle_ToggleComments_IfNoInlineCommentsExist]] is missing. == Steps to reproduce == ## Describe the steps needed to reproduce the bug. If we can't reproduce it, we probably can't fix it. 1. described as above... == Example == ##Add URL that show the bug, screenshot or test wiki markup that fail... ##URL: ##{{attachment:screenshot.png}} ##{{{ ##Example wiki markup that fail ##}}} == Component selection == ## Where you think is this bug happening ? (general, plugin [plugin name], theme [theme name], ... * general == Details == ## If you got a traceback, please save the traceback page as html and attach here: ## [[attachment:traceback.html]] ## if the bug is in this wiki, just kill the table and write: This Wiki. ## If a traceback is not available, please fill in the details here: This wiki == Workaround == ## How to deal with the bug until it is fixed Have a long memory so as to be able to remember how you named pages some months ago... ;-) = Discussion = * The problem could be that the xapian-indexer (search/Xapian.py) don't know that underscore "_" should be used for splitting the user input into single words. And Xapian only search for stemmed words and not wildcards. Workaround is to use spaces " " and not try to masquerade those with underscore. Better solution would be to change the "splitting behaviour".... -- MarcelHäfner <<DateTime(2008-09-29T17:09:08+0200)>> * what if someone wants to search for is_a (and he really means is_a and not every page containing "is" and "a")? * that's why I never wrote a bug report :-) this underscore is in my eye some legacy pre 1.6 problem. * it is not related to underscores, as MoinMoinVsMediaWiki is not found when searching for mediawiki. * You right; I also not found [[attachment:screenshot-mediawiki.png]]... <<BR>> --(But had to save the page without "trivial change"; so this seems related to my bug report about problem with trivial change and the xapian indexer... [[http://moinmo.in/MoinMoinBugs/TrivialChangesDoesNotUpdateTheXapianIndex|see here]].)-- seems to me more about "splitting" the words up and "Vs" is maybe to short.. don't know! = Plan = ## This part is for Moin``Moin developers: * Priority: * Assigned to: * Status: not a bug, this is just how indexing tokenisation and indexed search works ---- ## If you are a moin core developer, replace the category to Category* in these cases: ## Category MoinMoinNoBug - if this is not a bug. ## Category MoinMoinBugConfirmed - if you can confirm the bug on current code. ## Category MoinMoinBugFixed - after the bug is fixed in current code. CategoryMoinMoinNoBug