Skip to content

Commit

Permalink
Issue #20: remove old comment because the function getField doesn't e…
Browse files Browse the repository at this point in the history
…xists anymore
  • Loading branch information
idrissneumann committed Dec 28, 2023
1 parent e080642 commit c214d1b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/datasource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -526,12 +526,6 @@ export class QuickwitDataSource
const range = options?.range;
const parsedQuery = JSON.parse(query);
if (query) {
// Interpolation of variables with a list of values for which we don't
// know the field name is not supported yet.
// if (parsedQuery.find === 'fields') {
// parsedQuery.type = this.interpolateLuceneQuery(parsedQuery.type);
// return lastValueFrom(this.getFields(parsedQuery.type, range));
// }
if (parsedQuery.find === 'terms') {
parsedQuery.field = this.interpolateLuceneQuery(parsedQuery.field);
parsedQuery.query = this.interpolateLuceneQuery(parsedQuery.query);
Expand Down

0 comments on commit c214d1b

Please sign in to comment.