Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
L ldpl
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Lartu
  • ldpl
  • Merge requests
  • !22

Merged
Created Mar 13, 2019 by Lartu@lartu🐕Maintainer

Fix for literal string index

  • Overview 7
  • Commits 1
  • Changes 2

Created by: dvkt

Sorry for all the spam today :) While poking around vector index, I found what I think is a bug. The strings are being uppercased by the tokenizer, eg list:"bob" is becoming LIST:"BOB". So you can't have both list:"bob" and list:"BOB", but you can still do list:x where x is "bob" to access a lowercase version. The standard says myVector:"hello" #Stores 1 in the subindex "hello" of myVector so I think the bug is in the tokenizer doing the uppercasing, so that's what I changed.

Here's a program to demonstrate:

DATA:
v is text vector
z is number vector
x is text

PROCEDURE:
store "i" in x
store 1 in v:"i"
store 2 in v:"I"

display v:x crlf
display v:"i" crlf
display v:"I" crlf

Should see "1 1 2", not "2 2".

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: github/fork/dvkt/dont-modify-index-string