Index objects.

This commit is contained in:
Philippe PITTOLI 2024-05-16 02:24:24 +02:00
parent 8525fbf5db
commit e6e503e475

View File

@ -279,9 +279,14 @@ cars_by_name = cars.new_index "name", do |car|
end
.SOURCE
Once the index has been created, every added or modified entry in the database will be indexed.
Adding an index (basic index, partition or tag) provides an object used to manipulate the database based on this index.
Let's call it an
.I "index object" .
.QE
.
Adding an index (basic index, partition or tag) provides an object used to manipulate the database based on this index.
The
.I "index object"
has several useful functions.
.QP
.SOURCE Ruby ps=10
# Retrieve the car named "Corvet".