menu
Tatoeba
language
Registrera Logga in
language Svenska
menu
Tatoeba

chevron_right Registrera

chevron_right Logga in

Bläddra

chevron_right Visa framslumpad mening

chevron_right Bläddra efter språk

chevron_right Bläddra efter lista

chevron_right Bläddra efter tagg

chevron_right Bläddra bland ljudinspelningar

Community

chevron_right Vägg

chevron_right Medlemslista

chevron_right Medlemmarnas språk

chevron_right Modersmålstalare

search
clear
swap_horiz
search
grantortino grantortino 18 december 2009 18 december 2009 13:58:52 UTC link Permalänk

why i cannot find my sentences in your search engine.
example:
Sentence nº340251
浅草寺にはずいぶんたくさんの人がいるんですね。

{{vm.hiddenReplies[55] ? 'expand_more' : 'expand_less'}} dölj svar visa svar
sysko sysko 18 december 2009 18 december 2009 15:22:08 UTC link Permalänk

I'm not the one who made the search engine part, but it seems that the index is not updated in real time, certainly for perfomance reason, so in few times your sentences will be available :)

TRANG TRANG 18 december 2009 18 december 2009 17:28:47 UTC link Permalänk

Yes, we're not indexing on the fly. The main reason is that I didn't (and still don't) have time to figure out how to do that ^^'

Usually I launch the indexing process once a month but considering the increase of contributions, I think it'll be more once a week now...

{{vm.hiddenReplies[57] ? 'expand_more' : 'expand_less'}} dölj svar visa svar
aaroned aaroned 19 december 2009 19 december 2009 16:55:35 UTC link Permalänk

If you don't mind me asking, what kind of database engine is behind tatoeba.org? SQL Server/mySQL or other?

{{vm.hiddenReplies[58] ? 'expand_more' : 'expand_less'}} dölj svar visa svar
TRANG TRANG 19 december 2009 19 december 2009 19:59:59 UTC link Permalänk

It's MySQL :) But for the search feature we're using Lucene (http://lucene.apache.org/java/docs/).

{{vm.hiddenReplies[59] ? 'expand_more' : 'expand_less'}} dölj svar visa svar
aaroned aaroned 20 december 2009 20 december 2009 15:35:50 UTC link Permalänk

I regularly use SQL Server, so I'm not much help with mySQL, but maybe this link might help http://wiki.apache.org/lucene-java/UpdatingAnIndex

{{vm.hiddenReplies[60] ? 'expand_more' : 'expand_less'}} dölj svar visa svar
TRANG TRANG 20 december 2009 20 december 2009 23:32:17 UTC link Permalänk

Thanks :)

Right now though, I must say it doesn't speak much to me... Also, MySQL is not really the issue here (because I know MySQL and it doesn't help me :P).
The issue is to know how to use Lucene (which is written in Java). I just have to take the time to read the documentation.

The search engine part of Tatoeba was coded as a school project, at a time when I didn't have much knowledge in programming but had a good partner who knew Java and so he pretty much did all the coding.

Someday I'll have to look into his code. I'll probably have to upgrade to the latest version of Lucene as well because our code is from like, 2 years ago. Someday... When I have time.