-
Notifications
You must be signed in to change notification settings - Fork 0
feat[indexes]: Add support for inverted indexes #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
* improve Collection 'keyOptions' attribute validation * refactor 'KeyType' class * fix exception attribute type * drop support for PHP 8.2
* small refactors for Cursor namespace * drop no-op collection method 'load' * refactor AQLFunction exception handling * small refactors for AQL namespace
* chore[php-8.4]: handle php 8.4 deprecations * chore[php-8.4]: revert enforcing strict type on 'Admin\Task\Task::'
* feat[inverted-index]: strict typing for base index class * chore[indexes]: deprecate 'hash' and 'skiplist' index types * feat[indexes]: base implementation for 'inverted' index * tests[indexes]: remove ununsed imports * tests[indexes]: add tests for inverted index * feat[indexes]: add inverted index implementation
|
|
||
| /* Colors */ | ||
| --primary-color-hue: var(--color-hue-red, --color-hue-phpdocumentor-green); | ||
| --primary-color-hue: var(--color-hue-phpdocumentor-green, --color-hue-phpdocumentor-green); |
Check warning
Code scanning / Csslint (reported by Codacy)
Expected RBRACE at line 44, col 5. Warning documentation
| ul.phpdocumentor-list { | ||
| margin-top: 0; | ||
| padding-left: var(--spacing-md); | ||
| padding-left: var(--spacing-lg); |
Check notice
Code scanning / Csslint (reported by Codacy)
Expected () but found 'var(--spacing-lg)'. Note documentation
| line-height: normal; | ||
| } | ||
|
|
||
| .phpdocumentor-on-this-page__content li.-deprecated { |
Check notice
Code scanning / Csslint (reported by Codacy)
Element (li.-deprecated) is overqualified, just use .-deprecated without element name. Note documentation
| })(); | ||
| function openSvg(svg) { | ||
| // convert to a valid XML source | ||
| const as_text = new XMLSerializer().serializeToString(svg); |
Check notice
Code scanning / Jshint (reported by Codacy)
Prohibits the use of __iterator__ property due to compatibility issues Note documentation
| // convert to a valid XML source | ||
| const as_text = new XMLSerializer().serializeToString(svg); | ||
| // store in a Blob | ||
| const blob = new Blob([as_text], { type: "image/svg+xml" }); |
Check notice
Code scanning / Jshint (reported by Codacy)
Prohibits the use of __iterator__ property due to compatibility issues Note documentation
| // store in a Blob | ||
| const blob = new Blob([as_text], { type: "image/svg+xml" }); | ||
| // create an URI pointing to that blob | ||
| const url = URL.createObjectURL(blob); |
Check notice
Code scanning / Jshint (reported by Codacy)
Prohibits the use of __iterator__ property due to compatibility issues Note documentation
| const blob = new Blob([as_text], { type: "image/svg+xml" }); | ||
| // create an URI pointing to that blob | ||
| const url = URL.createObjectURL(blob); | ||
| const win = open(url); |
Check notice
Code scanning / Jshint (reported by Codacy)
Prohibits the use of __iterator__ property due to compatibility issues Note documentation
|
|
||
| var svgs = document.querySelectorAll(".phpdocumentor-uml-diagram svg"); | ||
| for( var i=0,il = svgs.length; i< il; i ++ ) { | ||
| svgs[i].onclick = (evt) => openSvg(evt.target); |
Check notice
Code scanning / Jshint (reported by Codacy)
Prohibits the definition of function inside the body of loops Note documentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Phpcs (reported by Codacy) found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
|
|
||
| /* Colors */ | ||
| --primary-color-hue: var(--color-hue-red, --color-hue-phpdocumentor-green); | ||
| --primary-color-hue: var(--color-hue-phpdocumentor-green, --color-hue-phpdocumentor-green); |
Check warning
Code scanning / Stylelint (reported by Codacy)
Expected indentation of 2 spaces (indentation) Warning documentation
| /* Base Styles | ||
| -------------------------------------------------- */ | ||
| body { | ||
| background-color: #fff; |
Check warning
Code scanning / Stylelint (reported by Codacy)
Expected indentation of 2 spaces (indentation) Warning documentation
| word-break: break-all; | ||
| line-height: normal; | ||
| } | ||
|
|
Check warning
Code scanning / Stylelint (reported by Codacy)
Expected indentation of 2 spaces (indentation) Warning documentation
docs/css/base.css
Outdated
Check warning
Code scanning / Stylelint (reported by Codacy)
Expected indentation of 2 spaces (indentation) Warning documentation
docs/css/base.css
Outdated
Check warning
Code scanning / Stylelint (reported by Codacy)
Expected indentation of 4 spaces (indentation) Warning documentation
| .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-constant:before { | ||
| content: 'C'; | ||
| background-color: transparent; | ||
| background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="-3.05176e-05" y="9.99998" width="14.1422" height="14.1422" transform="rotate(-45 -3.05176e-05 9.99998)" fill="hsl( 4, 57%, 60%)"/></svg>'); |
Check warning
Code scanning / Stylelint (reported by Codacy)
Expected indentation of 2 spaces (indentation) Warning documentation
| .phpdocumentor-tag-link { | ||
| margin-right: var(--spacing-sm); | ||
| } | ||
| .phpdocumentor-uml-diagram svg { |
Check warning
Code scanning / Stylelint (reported by Codacy)
Expected indentation of 2 spaces (indentation) Warning documentation
docs/css/template.css
Outdated
Check warning
Code scanning / Stylelint (reported by Codacy)
Expected empty line before rule (rule-empty-line-before) Warning documentation
docs/css/template.css
Outdated
Check warning
Code scanning / Stylelint (reported by Codacy)
Expected indentation of 2 spaces (indentation) Warning documentation
docs/css/template.css
Outdated
Check warning
Code scanning / Stylelint (reported by Codacy)
Unexpected missing end-of-source newline (no-missing-end-of-source-newline) Warning documentation
Also includes some refactor work and code changes to fix php 8.4 deprecations