Hi Alex,
There is no extension to have an index up to date at any moment in
wikipedia-suggest.
This is possible but that would use a lot of memory because the
compilation step that
reduce the size is not possible if you are modifying the index.
The best way to have an index up to date at any the time will be to
have a distributed trie in order
to reduce the memory used per computer.
Your idea to use the suggest during articles update is very good. Do
you think a daily update
of the index (with the sql database) will be enough ?
Best Regards.
Julien
Alex Powell wrote:
Hi Julien,
I was wondering if it had an extension to keep its index up to date -
an "OnArticleSave" hook. With that a really useful place to hook it in
would not be just the search, but also the edit box. Little bit of js
that checks for the user inputting [[, and then the suggest code kicks
in with possible article matches. It would make article linking a lot
easier.
One problem with it is I don't know how to work out where the text
cursor is in a textarea from JS, but I guess you could just have it
pop up somewhere, ready for people to click. Obviously to make it all
work seemlessly the index would need to be up to date...
Best regards,
Alex Powell
On 8/16/06, Julien Lemoine <speedblue(a)happycoders.org> wrote:
Hi Steve,
Steve Bennett wrote:
On 8/15/06, Julien Lemoine
<speedblue(a)happycoders.org> wrote:
With this modification, you will be able to use
wikipedia-suggest on any
project using MediaWiki. I downloaded the last dump and updated my
website for the ten most popular languages of Wikipedia.
This is nice, but I want it integrated into Wikipedia. How do we do
that?
For me, you can integrate it now and update the index (trie) after each xml
dumps. When
the compiler using a sql database will be ready you will be able to replace the update
process with the new analyzer.
If you need information about how to install it, don't hesitate to ask me.
Best Regards.
Julien Lemoine
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/wikitech-l
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/wikitech-l