Returns a cost estimation for searching the specified token. Smaller values are better, a value of zero indicates that no results will be returned. @param search index search definition @return cost estimation, or null if index access is not possible
(final IndexSearch search)
| 191 | * @return cost estimation, or {@code null} if index access is not possible |
| 192 | */ |
| 193 | public final IndexCosts costs(final IndexSearch search) { |
| 194 | return index(search.type()).costs(search); |
| 195 | } |
| 196 | |
| 197 | /** |
| 198 | * Returns info on the specified index structure. |