[Bug 54974] improve suggestions while typing

2014-01-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

key...@gmail.com changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

--- Comment #27 from key...@gmail.com ---
nope, I did not have TitleKey installed. Now after updating to CirrusSearch
1.22 and Master of Elastica this works again. Is i posted in the other bug
Elastica for 1.22. is broken.

The problem with the blank page seems to have been an old Elastica version.
Also gone now! ;-)

Thank you Nik for looking into this.

-- 
You are receiving this mail because:
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


[Bug 54974] improve suggestions while typing

2014-01-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

--- Comment #26 from Nik Everett  ---
(In reply to comment #24)
> So I now checked out REL 1.22 for Elastica and also for CirrusSearch. 
> After reindexing now the searchpage goes completely blank :-(
> I think there is something wrong with REL1.22 of CirrusSearch. I will revert
> to
> an older release for now...

Did it log an error message in the apache error log?  If so, please post it
here.  Sorry that I didn't mention that you need to update Elastica as well.

-- 
You are receiving this mail because:
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


[Bug 54974] improve suggestions while typing

2014-01-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

--- Comment #25 from Nik Everett  ---
(In reply to comment #23)
> Let me try it on 1.22.  Maybe something is busted there.  I was lazy and
> tried it on master.

Tried it on 1.22 and it worked.

MediaWiki: 3603adfad5a8dc144dca09d8b2c63291500302b9
CirrusSearch: ef02cfae825849890035d38f250f122937f4dde7

Any chance you have TitleKey installed?  It breaks Cirrus unless handled in
hacky ways:
http://git.wikimedia.org/blob/operations%2Fmediawiki-config.git/4e1dda797a87cf021f65a9e8bed48b26793b32dc/wmf-config%2FCommonSettings.php#L889
Fear not though because Cirrus has recently implemented all of TitleKey's
functionality against Elasticsearch rather than MySQL.

-- 
You are receiving this mail because:
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


[Bug 54974] improve suggestions while typing

2014-01-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

--- Comment #24 from key...@gmail.com ---
So I now checked out REL 1.22 for Elastica and also for CirrusSearch. 
After reindexing now the searchpage goes completely blank :-(
I think there is something wrong with REL1.22 of CirrusSearch. I will revert to
an older release for now...

-- 
You are receiving this mail because:
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


[Bug 54974] improve suggestions while typing

2014-01-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

--- Comment #23 from Nik Everett  ---
(In reply to comment #20)
> 3. php maintenance/updateSearchIndex.php does not exist. Did you mean: php
> maintenance/updateSearchIndexConfig.php

Yup.  Sorry.

(In reply to comment #22)
> I also tried downloading a different version of CirrusSearch via the
> MediaWiki.org homepage. But this has been broken for some time now: 
> https://www.mediawiki.org/wiki/Special:ExtensionDistributor/CirrusSearch
> 
> I will no do it the "old fashioned way" via git ;-)

Funky.  I'll bother someone that knows more about this stuff.

(In reply to comment #21)
> to I did this:
>  php updateSearchIndexConfig.php --reindexAndRemoveOk --indexIdentifier now
>  php forceSearchIndex.php --forceUpdate
> 
> I am on MW 1.22.0 and CirrusSearch (4a3254f) 21:24, 18. Dez. 2013
> Elasticsearch 0.90.9
> 
> Still no luck.

Let me try it on 1.22.  Maybe something is busted there.  I was lazy and tried
it on master.

-- 
You are receiving this mail because:
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


[Bug 54974] improve suggestions while typing

2014-01-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

--- Comment #22 from key...@gmail.com ---
I also tried downloading a different version of CirrusSearch via the
MediaWiki.org homepage. But this has been broken for some time now: 
https://www.mediawiki.org/wiki/Special:ExtensionDistributor/CirrusSearch

I will no do it the "old fashioned way" via git ;-)

-- 
You are receiving this mail because:
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


[Bug 54974] improve suggestions while typing

2014-01-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

--- Comment #21 from key...@gmail.com ---
to I did this:
 php updateSearchIndexConfig.php --reindexAndRemoveOk --indexIdentifier now
 php forceSearchIndex.php --forceUpdate

I am on MW 1.22.0 and CirrusSearch (4a3254f) 21:24, 18. Dez. 2013
Elasticsearch 0.90.9

Still no luck.

-- 
You are receiving this mail because:
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


[Bug 54974] improve suggestions while typing

2014-01-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

--- Comment #20 from key...@gmail.com ---
3. php maintenance/updateSearchIndex.php does not exist. Did you mean: php
maintenance/updateSearchIndexConfig.php

-- 
You are receiving this mail because:
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


[Bug 54974] improve suggestions while typing

2014-01-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

--- Comment #19 from Nik Everett  ---
I just tried it and it works for me.  Steps:

1.  Set $wgCirrusSearchPrefixSearchStartsWithAnyWord = true;
2.  cd /srv/mediawiki/extensions/CirrusSearch
3.  php maintenance/updateSearchIndex.php
4.  php maintenance/forceSearchIndex.php --forceUpdate

Let me know if that works.

-- 
You are receiving this mail because:
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


[Bug 54974] improve suggestions while typing

2014-01-02 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

--- Comment #18 from key...@gmail.com ---
Cool and thank's again!!!

-- 
You are receiving this mail because:
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


[Bug 54974] improve suggestions while typing

2014-01-02 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

--- Comment #17 from Nik Everett  ---
I'll have a look at it when I get a chance.  Sorry about that.  I wish I had a
way to include stuff like this in the regression tests but they only test a
single configuration.  I'll think about that as well.

-- 
You are receiving this mail because:
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


[Bug 54974] improve suggestions while typing

2014-01-02 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

key...@gmail.com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #16 from key...@gmail.com ---
Hallo Nik, the sloppy prefix matching stopped working. I do dot know exactly
when but with 4a3254f it is definitely gone :-(
I use "$wgCirrusSearchPrefixSearchStartsWithAnyWord = true;" in the
LocalSettings.php. 
This must have happened 1-2 weeks ago and I did not immediately notice it.

-- 
You are receiving this mail because:
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


[Bug 54974] improve suggestions while typing

2013-10-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

key...@gmail.com changed:

   What|Removed |Added

 Status|PATCH_TO_REVIEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #15 from key...@gmail.com ---
verified working.

-- 
You are receiving this mail because:
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


[Bug 54974] improve suggestions while typing

2013-10-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

--- Comment #14 from Gerrit Notification Bot  ---
Change 90150 merged by jenkins-bot:
Optionally enable sloppy prefix matching

https://gerrit.wikimedia.org/r/90150

-- 
You are receiving this mail because:
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


[Bug 54974] improve suggestions while typing

2013-10-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

--- Comment #13 from key...@gmail.com ---
? I would never ever search like that. so... lets say: "the amount of
letters total".

Can those be set. ATM they are at 1, right?

Thank you Nik!

-- 
You are receiving this mail because:
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


[Bug 54974] improve suggestions while typing

2013-10-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

Nik Everett  changed:

   What|Removed |Added

 CC||dga...@wikimedia.org

--- Comment #12 from Nik Everett  ---
Cool.  What about "ma pa"?

-- 
You are receiving this mail because:
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


[Bug 54974] improve suggestions while typing

2013-10-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

--- Comment #11 from key...@gmail.com ---
ok here we go:

I am looging for "main page".

So I either start typing: ma or pa (e.g. 2 letters)
At the moment it starts suggestions when I enter m or p (only one letter)

Thats what I meant...
I would never type in "m p".

-- 
You are receiving this mail because:
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


[Bug 54974] improve suggestions while typing

2013-10-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

--- Comment #10 from Nik Everett  ---
The amount of letters per word or the amount of letters total or the amount of
letters excluding spaces?

-- 
You are receiving this mail because:
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


[Bug 54974] improve suggestions while typing

2013-10-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

--- Comment #9 from key...@gmail.com ---
Wow. It works GREAT!!! I am impressed. Thank you Nik.

Suggestion/question: can the amount of letters that have to be typed in before
the search starts suggestions be set to e.g. 2?

-- 
You are receiving this mail because:
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


[Bug 54974] improve suggestions while typing

2013-10-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

--- Comment #8 from Nik Everett  ---
While I've added uploaded a patch for this I'd like to make sure that you are
ok with the very liberal matching.

-- 
You are receiving this mail because:
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


[Bug 54974] improve suggestions while typing

2013-10-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

--- Comment #7 from Gerrit Notification Bot  ---
Change 90150 had a related patch set uploaded by Manybubbles:
Optionally enable sloppy prefix matching

https://gerrit.wikimedia.org/r/90150

-- 
You are receiving this mail because:
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


[Bug 54974] improve suggestions while typing

2013-10-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

Gerrit Notification Bot  changed:

   What|Removed |Added

 Status|ASSIGNED|PATCH_TO_REVIEW

-- 
You are receiving this mail because:
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


[Bug 54974] improve suggestions while typing

2013-10-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

--- Comment #6 from Nik Everett  ---
Almost got it.  I'm running my regression tests to make sure I didn't change
the default behaviour.

A note about testing this:  those prefix queries have a super long ttl so
you'll have to clear your cache.

At this point it is pretty liberal.  The following match "Main Page":
main page
ma page
m p
page
p

Which I think is super fun but not for everyone.  Is that what you want?  Every
"word" starts a new prefix match which can match any "word" in the title.  The
definition of "word" is important here because it'll vary from language to
language.

-- 
You are receiving this mail because:
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


[Bug 54974] improve suggestions while typing

2013-10-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

--- Comment #5 from key...@gmail.com ---
:-) thank you. I just wanted for you not to forget it

-- 
You are receiving this mail because:
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


[Bug 54974] improve suggestions while typing

2013-10-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

Nik Everett  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|wikibugs-l@lists.wikimedia. |neverett+bugzilla@wikimedia
   |org |.org

--- Comment #4 from Nik Everett  ---
I keep meaning to get to this but getting pulled in other directions.  I'll get
a start on it this morning.

-- 
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


[Bug 54974] improve suggestions while typing

2013-10-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

--- Comment #3 from key...@gmail.com ---
Hello Nik,
any news on my "feature request"? I would be very happy if this was implemented
and I think it would be a great improvement!

-- 
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


[Bug 54974] improve suggestions while typing

2013-10-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

--- Comment #2 from key...@gmail.com ---
This feature as an "option" would be just perfect! You made my day.
Thank you...

-- 
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


[Bug 54974] improve suggestions while typing

2013-10-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54974

Nik Everett  changed:

   What|Removed |Added

   Priority|Unprioritized   |Normal
 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #1 from Nik Everett  ---
I believe I had it working this way when I was first developing the feature but
ended up changing it to match the behavior that we have in production now.  I'd
be happy to add that way as an option.

-- 
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