RE: Help for text based indexing

2004-09-15 Thread Cocula Remi
No. group:Group1 AND Hello the group: prefix means that the word Group1 has to be searched in the group field. -Message d'origine- De : mahaveer jain [mailto:[EMAIL PROTECTED] Envoyé : mardi 14 septembre 2004 18:24 À : Lucene Users List Objet : RE: Help for text based indexing

RE: Help for text based indexing

2004-09-14 Thread Honey George
getContent(f))); > Ir.addDocument(doc); > > > > Then you can search in group1 with query like that : > > > group:Group1 AND rest_of_the_query. > > > > -Message d'origine- > De : mahaveer jain [mailto:[EMAIL PROTECTED] > Envoyé : mardi

RE: Help for text based indexing

2004-09-14 Thread mahaveer jain
---Message d'origine- De : mahaveer jain [mailto:[EMAIL PROTECTED] Envoyé : mardi 14 septembre 2004 18:03 À : Lucene Users List Objet : RE: Help for text based indexing Well in my case the path is KeyWord. I had tried that earlier and it does not seems to work in a single index file.

RE: Help for text based indexing

2004-09-14 Thread Cocula Remi
; Ir.addDocument(doc); Then you can search in group1 with query like that : group:Group1 AND rest_of_the_query. -Message d'origine- De : mahaveer jain [mailto:[EMAIL PROTECTED] Envoyé : mardi 14 septembre 2004 18:03 À : Lucene Users List Objet : RE: Help for text based indexing Well in my

RE: Help for text based indexing

2004-09-14 Thread mahaveer jain
uld be either "group1" or "group2". Or you could use the path to your files ... -Message d'origine- De : mahaveer jain [mailto:[EMAIL PROTECTED] Envoyé : mardi 14 septembre 2004 17:49 À : [EMAIL PROTECTED] Objet : RE: Help for text based indexing I am clear with l

RE: Help for text based indexing

2004-09-14 Thread Cocula Remi
AIL PROTECTED] Objet : RE: Help for text based indexing I am clear with looping recursively to index all the file under Root folder. But the problem is if I want to search only in group1 or group2.Is that possible to search only in one of the group folder ? Cocula Remi <[EMAIL PROTECTED]&g

RE: Help for text based indexing

2004-09-14 Thread mahaveer jain
I am clear with looping recursively to index all the file under Root folder. But the problem is if I want to search only in group1 or group2.Is that possible to search only in one of the group folder ? Cocula Remi <[EMAIL PROTECTED]> wrote: You just have to loop recurssively over the C:\tomcat\w

RE: Help for text based indexing

2004-09-14 Thread Cocula Remi
You just have to loop recurssively over the C:\tomcat\webapps\Root tree to create your index. Yes you can index databases; you will just have to write a mechanism that is able to create org.apache.lucene.document.Document from database. For instance : - connect JDBC - run a query for obtaining a