Thanks guys.
I'm still trying to wrap my head around this. So Lucene basically
keeps a data structure, similar to a table aka an index that
represents a seperate data set (aka a sql database). Lucene doesn't
touch the actual database, it just searches it's own indexes and
returns results from that. If the index is not kept up to date with
the actual data, then the search engine won't have up-to-date data.
So when, in my code, I'm running cfquery and doing an insert/update/
alter, do I just insert a 2nd block of code that takes those same
variables and alters the Lucene index just the same?
For instance, I have this cfquery to delete a record
<CFQUERY NAME="delete_ad_descriptions" datasource="classifieds">
DELETE
FROM #tbl_descriptions#
WHERE classified_id = #CID#
;
</CFQUERY>
--Now, what would I do to lucene to update it? Can someone give me an
example? Please?
--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
http://groups.google.com/group/openbd?hl=en
official site @ http://www.openbluedragon.org/
!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---