collectionindexfileOverview ColdFusion Open BlueDragon Lucee
Inserts/Updates a file into the collection. The key is the unique file for each document. Each field in the document can be searched against. If a query is presented then the fields represent columns into the query. If the column does not exist then an exception is thrown. The index can still be searched while an update is happening, however the new documents will not be available in the search until this operation has completed. Note that all fields are treated as strings and will be indexed accordingly.