Repository navigation
Docs: an index on a property with no declared type keys an array by its identity on 26.11.1 - #408
Merged
Merged
Conversation
…ts identity on 26.11.1 The Values and records page gets a short section on what the engine fix ArcadeData/arcadedb#11615 means for Python users. On 26.11.1 a seek by a bytes value or a float32 NumPy array on such an index finds no record, on both packages (one script on the 26.11.1.post3 wheels). The fix is in the engine's main branch and in no release yet, and the section says nothing was run against it. A list and an int64 NumPy array are not affected. ArcadeData/arcadedb#11697 changes no answer and no page describes a RID-list target, so no page changes for it. Refs #407 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds a short section, "An index on a property with no declared type", to the Values and records page. On ArcadeDB 26.11.1 an index on a property that no
CREATE PROPERTYdeclares (for exampleCREATE INDEX FOR (n:N) ON (n.k)in openCypher) keys an array by its identity, so a seek by abytesvalue or by afloat32NumPy array finds no record. I ran one script onarcadedband onarcadedb-jvm26.11.1.post3: both gave the same answers, and alistand anint64NumPy array are found. The section links ArcadeData/arcadedb#11615, which fixes it, says the fix is in the engine'smainand in no release yet (26.11.1 does not contain it), and says nothing on the page was run against an engine that has it. It also repeats what that pull request reports aboutREBUILD INDEXfor an existing index that holds lists of floating-point numbers.I changed nothing for ArcadeData/arcadedb#11697 (
SEARCH_INDEXandSEARCH_FIELDSover a small RID list): the matches and scores are the same as before, no page describes a RID-list target, and I did not measure its speed claim, so there is nothing true to add.Related issues
Closes #407
Docs
docs/modules/ROOT/pages/how-to/values-and-records.adoc, the new section and the// Sources:comment (the page's tests pin every other statement; this one is a measurement, and the comment now says so).README.mddoes not describe this.Checklist
xfailwould fail the CI runs that use thelatestengine image as soon as it carries the fix, and I cannot run the Python side against the fixed engine yet.docs/antora-playbook.ymlfinishes with no warning, and the new section, the link to #11615 and the link toREBUILD INDEXrender.uvx pre-commit run --files <changed files>passes🤖 Generated with Claude Code