collectionindexpathOverview ColdFusion Open BlueDragon Lucee
Inserts/Updates a path into the collection. The key is the unique path for each directory that all files inside will be handled. 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.