menu
Tatoeba
language
Register Log in
language English
menu
Tatoeba

chevron_right Register

chevron_right Log in

Browse

chevron_right Show random sentence

chevron_right Browse by language

chevron_right Browse by list

chevron_right Browse by tag

chevron_right Browse audio

Community

chevron_right Wall

chevron_right List of all members

chevron_right Languages of members

chevron_right Native speakers

search
clear
swap_horiz
search
grantortino grantortino December 18, 2009 December 18, 2009 at 1:58:52 PM UTC link Permalink

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

{{vm.hiddenReplies[55] ? 'expand_more' : 'expand_less'}} hide replies show replies
sysko sysko December 18, 2009 December 18, 2009 at 3:22:08 PM UTC link Permalink

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 December 18, 2009 December 18, 2009 at 5:28:47 PM UTC link Permalink

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'}} hide replies show replies
aaroned aaroned December 19, 2009 December 19, 2009 at 4:55:35 PM UTC link Permalink

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'}} hide replies show replies
TRANG TRANG December 19, 2009 December 19, 2009 at 7:59:59 PM UTC link Permalink

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'}} hide replies show replies
aaroned aaroned December 20, 2009 December 20, 2009 at 3:35:50 PM UTC link Permalink

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'}} hide replies show replies
TRANG TRANG December 20, 2009 December 20, 2009 at 11:32:17 PM UTC link Permalink

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.