labels search like google mail?

2006-11-22 Thread Jin Yiqing
Hi,all Maybe lots of u guys have used google mail. i noticed google mail has a good feature called labels. you could select a mail then just put labels on it by select ->. The labels could be created by users dynamicly . Then you could list your mails just by these labels, very fast. And on

Re: labels search like google mail?

2006-11-23 Thread Chris Lamprecht
Sure.. using Lucene you could have a field called "labels" (or "tags", as everyone except google calls them), and just add a bunch of keyword field values to the field, one for each tag. The tricky part might be doing this quickly -- right when the user adds a tag, updating the lucene index -- i

Re: labels search like google mail?

2006-11-23 Thread Jin Yiqing
You are right,. I think it's better to implement it using DB. But my project is build on lucene and i think it would be better if i could find a way to sovle this inside lucene. But as you have mentioned updating a lucene index is not a easy nor fast job. you have to rebuild the term table as it i

Re: labels search like google mail?

2006-11-23 Thread Kuassi Mensah
Marcelo (cced) has implemented Lucene within the Oracle database using the embeded Java VM. Such implementation might adress your requirements. Kuassi - blog http://db360.blogspot.com/ - book http://db360.blogspot.com/2006/08/oracle-database-programming-using-java_01.html On 11/23/06, Jin Yi