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
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
---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.
;
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
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
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
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
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