-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Convert to record * Add embedded-postgres dependency * Setup embedded postgre server * Indexing entries with Postgres * Remove Lucene bib fields indexer * Use PreparedStatement to fix escaping characters * Rename LuceneManager to IndexManager * Begin to implement "new" search syntax Co-authored-by: Loay Ghreeb <[email protected]> Co-authored-by: Carl Christian Snethlage <[email protected]> * Some new operators * Change log level of EmbeddedPostgres * Handle search flags * Fix default field * Fix handling of anyfield (and add "any" as alias) * Openrewrite... * More test cases * Remove non-covered libraries * Use LIKE syntax as default instead of regex Disabled exact match * Update module-info.java * Create "query" package * Postgres searcher * Return back the exact match operator * checkstyle * Add link * WIP * Fix compilation * WIP * Intermediate result Co-authored-by: Loay Ghreeb <[email protected]> * Query should be OK Co-authored-by: Loay Ghreeb <[email protected]> * Indexing of split values Co-authored-by: Loay Ghreeb <[email protected]> * Fix tests compile * Use first name Last name for authors * Refactor SQL query visitor * Adapt tests * Use join with EXACT_MATCH only * Update to Postgres 17 * Attempt to use sub-queries with CTEs * Fix CTEs sub-queries and grouping TODO: EXCAT_MATCH to search in split table * group matches by entry_id * Use NOT IN for negation queries * Fix unary NOT operator * Use split values table for EXACT_MATCH queries * Prepare for linked files index (full-text) * Prepare linked files tables * Fix searching * Use multi column index * fix merged module issues * Fix update event * Remove postgres linked files indexer * Remove and insert field on update event * Remove search score column * Update search groups matches * Remove search_score from tale preferences * Migrate search groups flags to new syntax * Localization * Fix dialog message * Ignores groups field from default searches Fixes #7996 * Use TYPE_HEADER field for entrytype * Search to Lucene query for linked files searching * Marge linked files and bib fields results * Searching in background task * Fix search to SQL tests * Localization test * Fix DatabaseSearcherTest * Fix DatabaseSearcherWithBibFilesTest * Fix exportMatches test * Update src/main/java/org/jabref/model/entry/BibEntry.java Co-authored-by: Oliver Kopp <[email protected]> * Add SINGLE_ENTRY_LINK to latex field * Remove changelog entries * Remove groups migration from localization * Extract search terms from query (ignore negated terms) * Fix architecture test * Highlight Preview viewer with Postgres regexp_replace * OpenRewrite * Remove onRunning * Set search query listener in the constructor * Fix preview tab scrolling * Use prepared statement to fix escaping * Use prepared statement for sql query * Store the start and end positions for every field * WIP highlight source tab * Fix source tab highlighting * Return regex, case-sensitive flags back to the search bar * Use for search bar flags for unfielded terms * Skip migrations for unfieleded terms * Return regex, case-sensitive CheckBox to search groups dialog * Apply suggestions from code review Co-authored-by: Oliver Kopp <[email protected]> * Update JabRef_en.properties * Fix search grammar to support special chars * Create SearchQueryTest.java * Adapt SQL visitor with new grammar * Allow to use quotes without escaping * escape SQL wildcard chars * Reorder methods * Adapt SearchFlagsToExpressionVisitor * Adapt SearchToLuceneVisitor * Adapt SearchQueryExtractorVisitor * Fix tests * Fix DatabaseSearcherTest * Fix search terms patten for highlighting * Highlight source tab field by field according to the search query * Apply suggestions from code review * Update src/main/java/org/jabref/gui/importer/actions/SearchGroupsMigrationAction.java Co-authored-by: Oliver Kopp <[email protected]> * Set default operator to AND * remove debug --------- Co-authored-by: Oliver Kopp <[email protected]> Co-authored-by: Carl Christian Snethlage <[email protected]> Co-authored-by: Siedlerchr <[email protected]>
- Loading branch information
1 parent
3ad5812
commit bd7219f
Showing
111 changed files
with
3,886 additions
and
1,602 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.