Index objects.
parent
8525fbf5db
commit
e6e503e475
|
@ -279,9 +279,14 @@ cars_by_name = cars.new_index "name", do |car|
|
||||||
end
|
end
|
||||||
.SOURCE
|
.SOURCE
|
||||||
Once the index has been created, every added or modified entry in the database will be indexed.
|
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
|
.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
|
.QP
|
||||||
.SOURCE Ruby ps=10
|
.SOURCE Ruby ps=10
|
||||||
# Retrieve the car named "Corvet".
|
# Retrieve the car named "Corvet".
|
||||||
|
|
Loading…
Reference in New Issue