Skip to content

Conversation

@tatu-at-datastax
Copy link
Contributor

What this PR does:

Removes block for "1/-1 sort" for $lexical: let that use non-lexical sort, as per spec.
So, this:

{
  "find": {
    "sort" : {"$lexical": 1 }
  }
}

will work as if $lexical was regular Text field, not analyzed one.

Which issue(s) this PR fixes:
Fixes #2109

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CLA Signed: DataStax CLA

@tatu-at-datastax
Copy link
Contributor Author

NOTE: not certain if this is possible to fix -- does not work as-is. See #2109 for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support / test ability to use "non-lexical" sort on $lexical field for Collections

2 participants