Last modified: 2013-10-08 06:25:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57408, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55408 - Search with prefix does not work
Search with prefix does not work
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CirrusSearch (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Nik Everett
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-07 13:16 UTC by vriullop
Modified: 2013-10-08 06:25 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description vriullop 2013-10-07 13:16:57 UTC
Searching with prefix doesn't work on ca.wiki:
https://ca.wikipedia.org/wiki/Special:Search?search=Foo&prefix=List&fulltext=Search
searches for "Foo" in all pages instead of "Foo prefix:List". Checked also in test.wikidata.org, both projects with extension CirrusSearch. This affects the behaviour of inputbox with parameter prefix, widely used for searching in archives, i.e. the local Village Pump https://ca.wikipedia.org/wiki/Viquip%C3%A8dia:La_taverna
Comment 1 Quim Gil 2013-10-07 16:28:19 UTC
As a short term solution I have recommeded vriullop to use the parameter "&srbackend=LuceneSearch"as a way to retrieve the results from MWsearch, which is still installed in ca.wikipedia.org. 

https://ca.wikipedia.org/wiki/Viquip%C3%A8dia:La_taverna/Ajuda#Cerca_amb_prefix

I have learned this parameter from Chad since I couldn't find it documented. <collateral comment>In general I'm missing a page for CirrusSearch user documentation. Does it exist?</collateral comment>
Comment 2 Nik Everett 2013-10-07 16:36:52 UTC
<collateral response>https://www.mediawiki.org/wiki/Search/CirrusSearchFeatures is a start</collateral response>
Comment 3 Quim Gil 2013-10-07 16:52:32 UTC
Oh, sorry. My advice to vriullop won't work. The search he is referring to is done using [[mw:Extension:InputBox]] and therefore the parameters can't be modified by editors.
Comment 4 Nik Everett 2013-10-07 18:11:06 UTC
It looks like I implemented something totally different when I build the prefix: filter.  I'm fixing this to work just like the documentation on https://en.wikipedia.org/wiki/Help:Searching
Comment 5 Gerrit Notification Bot 2013-10-07 20:06:04 UTC
Change 88209 had a related patch set uploaded by Manybubbles:
Replace prefix: implementation.

https://gerrit.wikimedia.org/r/88209
Comment 6 Gerrit Notification Bot 2013-10-07 20:06:17 UTC
Change 88210 had a related patch set uploaded by Manybubbles:
Tests for proper prefix: implementation.

https://gerrit.wikimedia.org/r/88210
Comment 7 Gerrit Notification Bot 2013-10-07 20:13:53 UTC
Change 88210 merged by jenkins-bot:
Tests for proper prefix: implementation.

https://gerrit.wikimedia.org/r/88210
Comment 8 Gerrit Notification Bot 2013-10-07 20:25:38 UTC
Change 88209 merged by jenkins-bot:
Replace prefix: implementation.

https://gerrit.wikimedia.org/r/88209
Comment 9 Nemo 2013-10-08 06:25:45 UTC
Ouch, sorry, I hadn't reported it because I couldn't find what was the exact syntax for prefix: in Cirrus so I thought I maybe was just using the wrong one.

With Lucene, it was important to 1) not to use underscore or anything in the title, but just quote it literally, 2) not have a space between "prefix:" and the title. Is this reimplementation like that or more flexible?

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


Navigation
Links