refactor: allow newIndexSeriesCursor() to accept an influxql.Expr (#19833)
refactor: allow newIndexSeriesCursor() to accept an influxql.Expr (#19833)

* refactor: allow newIndexSeriesCursor() to accept an influxql.Expr

In order to let TagKeys and TagValues get the right answer,
sometimes they will need to examine their predicate and
see if using the index is possible, or if a block scan is needed.
For those cases we want to examine the predicate before creating
the index series cursor. This change allows us to create an
index series cursor with an already-deserialized influxql.Expr.

li-ang/influxdb,influxdata/influxdb,influxdb/influxdb,influxdb/influxdb,li-ang/influxdb,influxdb/influxdb,influxdb/influxdb,influxdb/influxdb,influxdb/influxdb,influxdata/influxdb