Page MenuHomePhabricator

Searching is broken in newly created projects
Closed, ResolvedPublic

Description

In these recently created projects article name completion doesn't seem to work in the search box:

http://bjn.wikipedia.org
http://koi.wikipedia.org
http://mrj.wikipedia.org
http://fa.wikinews.org

I noticed it because the suggestions in the search box didn't work at all.

Raymond on Wikitech-l said: "It seems the new wikis have to be added to LuceneSearch configuration. The search itself is broken, not the suggestion only."


Version: unspecified
Severity: major
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=48715

Details

Reference
bz25682

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 11:16 PM
bzimport set Reference to bz25682.
bzimport added a subscriber: Unknown Object (MLST).
  • Bug 25738 has been marked as a duplicate of this bug. ***

rainman wrote:

I've restarted the search indexer and built the search indexes for these wikis.

(In reply to comment #2)

I've restarted the search indexer and built the search indexes for these wikis.

Could you document this process at http://wikitech.wikimedia.org/view/Add_a_wiki so future wiki creators know what to do?

rainman wrote:

(In reply to comment #3)

(In reply to comment #2)

I've restarted the search indexer and built the search indexes for these wikis.

Could you document this process at
http://wikitech.wikimedia.org/view/Add_a_wiki so future wiki creators know what
to do?

To be honest, the procedure I use is quite clumsy and involves finding the right among a couple of java processes to kill and such. At some point, maybe during the holidays when I have time, I'll make a script to automatize it and put it on the wiki.

Sorry about this. Until then I'll check back in regular intervals to build indexes of new wikis.

I've now built search indexes for following wikis:
eowikinews
gagwiki
brwikisource
vecwikisource
svwikiversity
tenwiki
pflwiki
liwikibooks

(In reply to comment #5)

Sorry about this. Until then I'll check back in regular intervals to build
indexes of new wikis.

You could subscribe to http://lists.wikimedia.org/pipermail/newprojects/

(In reply to comment #5)

Sorry about this. Until then I'll check back in regular intervals to build
indexes of new wikis.

I've CC'ed you onto 16976, when something that depends on that bug is closed, that will be a new wiki created. or you could subscribe to the new projects list as roan pointed out.

rainman wrote:

Thanks guys, I've also subscribed to newprojects mailing list.

Looks like it happened again in the Rusyn Wikipedia ( http://rue.wikipedia.org/ ). See Bug 25924.

It's not really resolved, because it will probably happen again if it is not documented in the project creation procedure.

jeluf wrote:

Reopened.

Please add the necessary steps to http://wikitech.wikimedia.org/view/Add_a_wiki

Even if it's complicated, we should have it documented somewhere.

bugs wrote:

(In reply to comment #12)

JeLuF, who should document this?

Robert Stojnic manages search and is the assignee of this bug, so he'd probably be a good person to poke.

Re marking this as fixed, The bug issue has been fixed, The matter of documenting it is a subsequent bug (which is now filed as 28657).

Reopening.

Searching is still broken in newly created projects, for example:

There are probably more.

The procedure for creating a new project must be more robust, so this won't happen. Enabling proper and usable searching is not something that can be forgotten.

  • Bug 35662 has been marked as a duplicate of this bug. ***

Gujarati Wikisource too

(In reply to comment #16)

The procedure for creating a new project must be more robust, so this won't
happen. Enabling proper and usable searching is not something that can be
forgotten.

There's nothing in the add a wiki information [1] related to search. I guess we should document it and work out if I can do it, or we need to poke Ops to do it

[1] http://wikitech.wikimedia.org/view/Add_a_wiki

(In reply to comment #18)

There's nothing in the add a wiki information [1] related to search. I guess we
should document it and work out if I can do it, or we need to poke Ops to do it

http://wikitech.wikimedia.org/view/Search#Adding_new_wikis

It's supposed to be the other way. Search is currently not mentioned at http://wikitech.wikimedia.org/view/Add_a_wiki .

Any progress in this related to gu.wikisource??

Of all the non private wikis, there are 10 currently not indexed:

bdwikimedia
bewikimedia
guwikisource
htwikisource
ilwikimedia
mrwikisource
napwiki
nsowiki
slwikiversity
wikimania2013wiki

http://wikitech.wikimedia.org/index.php?title=Add_a_wiki&action=historysubmit&diff=46929&oldid=45086

Those wikis should have working search within 48 hours

(In reply to comment #24)

Those wikis should have working search within 48 hours

They don't. wikimania2013wiki still doesn't have working search.

Yes, apparently it still doesn't work in wikimania2013wiki.

Isn't there anything that can be done to make search working in all new projects without having to open a bug every time?

Not quite.

There are some issues in the recently opened min.wikipedia.org . Search generally seems to work, but autocompletion in the search box doesn't work. Also, searching for "Putin" doesn't find the article "Rusia".

(In reply to comment #27)

Yes, apparently it still doesn't work in wikimania2013wiki.

Search works for me, both for proposals and results.

(In reply to comment #20)

Search is currently not mentioned at
http://wikitech.wikimedia.org/view/Add_a_wiki .

It is now: https://wikitech.wikimedia.org/wiki/Add_a_wiki#Search

(In reply to comment #29)

There are some issues in the recently opened min.wikipedia.org . Search
generally seems to work, but autocompletion in the search box doesn't work.

Works for me now.

Also, searching for "Putin" doesn't find the article "Rusia".

That's true, but to me that sounds like a very different bug about the search algorithms themselves, instead of "searching not working in new projects".

All in all, wondering if there is anything left to do in this report.
Right now, I don't see anything so I might close this ticket soon.

See bug 48715 for latest instances: No search index for newly created el.wikivoyage, vec.wiktionary

The process of setting up lsearchd wikis was always always manual and gets forgotten and all *new* wikis should get Cirrus by default now anyway.

(In reply to JeLuF from comment #11)

Reopened.

Please add the necessary steps to
http://wikitech.wikimedia.org/view/Add_a_wiki

Even if it's complicated, we should have it documented somewhere.

This is mostly documented now at that section and the links it follows to. We're keeping the new docs up to date, and have automated most of the index creation in addWiki.php

Marking MOSTLY-FIXED since it's about as fixed as it'll ever be.