Not really.  A document in Lucene is a logical entity comprising named
fields.  So a row in the db would probably be represented as a Lucene
document.  Each [searchable] column on the table would be represented as a
field of the document.  However, you may find it necessary to build psuedo
fields in Lucene that span multiple columns in the database if you want to
do complex queries across multiple fields since in Lucene you typically need
to preface your search keywords with the field they are located in (eg.
Field1:SearchKey).


----- Original Message -----
From: "Weaver, Scott" <[EMAIL PROTECTED]>
To: "Lucene Users List" <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 11:17 AM
Subject: Using Lucene to index a DataBase


> I've used Verity in Cold Fusion to index Databases.  Is this possible with
> Lucene?  From recent posts, it looks like I would have to write a custom
> parser to convert each row into a text document.  Am I correct in thinking
> this?
>
> Scott
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to