https://bugzilla.wikimedia.org/show_bug.cgi?id=65783

--- Comment #5 from Nik Everett <neverett+bugzi...@wikimedia.org> ---
(In reply to Chad H. from comment #4)
> (In reply to MZMcBride from comment #3)
> > (In reply to Gerrit Notification Bot from comment #2)
> > > Change 137733 merged by jenkins-bot:
> > > Insource support
> > > 
> > > https://gerrit.wikimedia.org/r/137733
> > 
> > Whoa, really?
> 
> Yep, should start making its way live with the next wmf branch come Thursday.

Caveats for regexes:
1.  Its kinda slow.
2.  We only allow 2 concurrent queries at a time.
3.  We have a maximum queue of 10.  This is to keep more then 12 apaches stuck
waiting for it.
4.  Syntax error feedback is only OK, not great.
5.  If you fill up the queue then you won't get a useful error message.
6.  No highlighting of results at all.  Something I'll work on fixing in the
next couple weeks.
7.  Its going to take some time after the initial release for all pages to be
indexed.  We didn't have the source indexed before so we'll have to regenerate
all the documents and we didn't write anything fancy to do just the source so
we'll end up rerendering everything.  Its slow, but it'll work.
8.  The regex language is actually Lucene's regex which is designed to be
efficient rather then super expressive.  I chose it because its safe.
9.  Other stuff I don't remember?

Docs are here:  
https://www.mediawiki.org/wiki/Search/CirrusSearchFeatures#insource:

We were tired of waiting for ops to build out infrastructure for easy copying
to labs.  So we figured we'd just make it in prod and limit it to a few
executors.  Hopefully everything will be just fine.  We might, but haven't yet,
decided it'd be best to limit it to users with a permission, or signed in
users, or something.  We'd only do that if we saw that it was crushing us or
that some asshole was keeping the queue full and no legitimate users could use
it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to