-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Searching with Postgres #11803
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
Merged
Merged
Searching with Postgres #11803
Changes from 8 commits
Commits
Show all changes
129 commits
Select commit
Hold shift + click to select a range
f77956e
Convert to record
LoayGhreeb 0219ddf
Add embedded-postgres dependency
LoayGhreeb 7602020
Merge branch 'main' into postgresql
LoayGhreeb 351d01c
Setup embedded postgre server
LoayGhreeb 9efee36
Indexing entries with Postgres
LoayGhreeb 24e222a
Remove Lucene bib fields indexer
LoayGhreeb bc93bf1
Use PreparedStatement to fix escaping characters
LoayGhreeb fb64865
Rename LuceneManager to IndexManager
LoayGhreeb 7839c68
Begin to implement "new" search syntax
koppor 65fd4fe
Some new operators
koppor 108947f
Change log level of EmbeddedPostgres
LoayGhreeb 1e3482d
Handle search flags
LoayGhreeb d164248
Fix default field
LoayGhreeb 593105c
Fix handling of anyfield (and add "any" as alias)
koppor 2749b86
Openrewrite...
koppor 58d7e25
More test cases
LoayGhreeb 9028748
Remove non-covered libraries
koppor 1787b5b
Merge branch 'postgresql' of github.com:JabRef/jabref into postgresql
koppor 64bc03c
Use LIKE syntax as default instead of regex
LoayGhreeb 519e390
Merge branch 'main' into postgresql
LoayGhreeb f61314c
Update module-info.java
LoayGhreeb 250a1b0
Create "query" package
LoayGhreeb 5314e66
Postgres searcher
LoayGhreeb fd2ace1
Return back the exact match operator
LoayGhreeb 59ef889
Merge branch 'main' into postgresql
LoayGhreeb aa55eb9
checkstyle
LoayGhreeb 239fde0
Add link
koppor fc6ad3c
Merge remote-tracking branch 'origin/main' into postgresql
koppor 08b1dfb
WIP
koppor ab87dd5
Fix compilation
LoayGhreeb 70d7eda
Merge branch 'main' into postgresql
LoayGhreeb e4eaef3
WIP
LoayGhreeb 98bfffa
Intermediate result
koppor c5fcdaf
Query should be OK
koppor b473b6c
Indexing of split values
koppor ad8824d
Fix tests compile
LoayGhreeb 97dc941
Use first name Last name for authors
LoayGhreeb ff79dd3
Refactor SQL query visitor
LoayGhreeb baa73cb
Adapt tests
LoayGhreeb 9d0cf45
Merge branch 'main' into postgresql
LoayGhreeb 066c743
Use join with EXACT_MATCH only
LoayGhreeb d9f93c4
Update to Postgres 17
LoayGhreeb 38c0265
Attempt to use sub-queries with CTEs
LoayGhreeb e8a2836
Fix CTEs sub-queries and grouping
LoayGhreeb 9073d0c
group matches by entry_id
LoayGhreeb 51f1655
Merge branch 'main' into postgresql
LoayGhreeb 3cbac93
Merge branch 'main' into postgresql
LoayGhreeb a34f8bd
Use NOT IN for negation queries
LoayGhreeb 1fe2b06
Fix unary NOT operator
LoayGhreeb c6869cc
Use split values table for EXACT_MATCH queries
LoayGhreeb 72b26e0
Prepare for linked files index (full-text)
LoayGhreeb a0cc539
Prepare linked files tables
LoayGhreeb 27a0143
Fix searching
LoayGhreeb 1c951fb
Use multi column index
LoayGhreeb 981f158
fix merged module issues
Siedlerchr 29c179e
Fix update event
LoayGhreeb e3d0628
Remove postgres linked files indexer
LoayGhreeb fb6f013
Remove and insert field on update event
LoayGhreeb 65d7681
Remove search score column
LoayGhreeb f54bf6e
Update search groups matches
LoayGhreeb 4b90aa5
Merge branch 'main' into postgresql
LoayGhreeb 6ab8f55
Remove search_score from tale preferences
LoayGhreeb 4fc088f
Migrate search groups flags to new syntax
LoayGhreeb 1b1f0ff
Localization
LoayGhreeb 855cf3c
Fix dialog message
LoayGhreeb c1dd99a
Merge branch 'main' into postgresql
LoayGhreeb 9a35891
Ignores groups field from default searches
LoayGhreeb 1ccfdb4
Use TYPE_HEADER field for entrytype
LoayGhreeb 8450f89
Search to Lucene query for linked files searching
LoayGhreeb 0b14663
Merge branch 'main' into postgresql
LoayGhreeb c127aaf
Marge linked files and bib fields results
LoayGhreeb b2c5428
Searching in background task
LoayGhreeb a3b8328
Fix search to SQL tests
LoayGhreeb 0468812
Merge branch 'main' into postgresql
LoayGhreeb b7f6bf3
Localization test
LoayGhreeb 2c50df8
Fix DatabaseSearcherTest
LoayGhreeb 77bf811
Fix DatabaseSearcherWithBibFilesTest
LoayGhreeb b9975fc
Fix exportMatches test
LoayGhreeb 9f02d04
Update src/main/java/org/jabref/model/entry/BibEntry.java
LoayGhreeb 2751844
Add SINGLE_ENTRY_LINK to latex field
LoayGhreeb c5bde17
Remove changelog entries
LoayGhreeb b291b6c
Remove groups migration from localization
LoayGhreeb 9e87053
Merge branch 'main' into postgresql
LoayGhreeb 3bd961f
Merge branch 'main' into postgresql
LoayGhreeb c0a2593
Extract search terms from query (ignore negated terms)
LoayGhreeb bf5de09
Fix architecture test
LoayGhreeb 46bb0d3
Highlight Preview viewer with Postgres regexp_replace
LoayGhreeb d451c2b
OpenRewrite
LoayGhreeb 887d5e3
Remove onRunning
LoayGhreeb d26c8b9
Set search query listener in the constructor
LoayGhreeb eafdf30
Fix preview tab scrolling
LoayGhreeb d174508
Use prepared statement to fix escaping
LoayGhreeb ef959bc
Use prepared statement for sql query
LoayGhreeb e981bdc
Merge branch 'main' into postgresql
LoayGhreeb 74f98ef
Store the start and end positions for every field
LoayGhreeb a7ca4d3
WIP highlight source tab
LoayGhreeb d4c0123
Merge branch 'main' into postgresql
LoayGhreeb 5edd1a5
Fix source tab highlighting
LoayGhreeb ef27dc5
Return regex, case-sensitive flags back to the search bar
LoayGhreeb df2e12b
Use for search bar flags for unfielded terms
LoayGhreeb fb0fbb8
Skip migrations for unfieleded terms
LoayGhreeb fac963f
Return regex, case-sensitive CheckBox to search groups dialog
LoayGhreeb ef997e2
Merge branch 'main' into postgresql
LoayGhreeb 6c4f1fa
Apply suggestions from code review
LoayGhreeb 3b46b6d
Merge branch 'main' into postgresql
LoayGhreeb c7baf04
Update JabRef_en.properties
LoayGhreeb c32a866
Merge remote-tracking branch 'origin/main' into postgresql
koppor 196c7ff
Merge branch 'main' into postgresql
LoayGhreeb a420070
Merge branch 'main' into postgresql
LoayGhreeb eb570fb
Fix search grammar to support special chars
LoayGhreeb eb23f05
Create SearchQueryTest.java
LoayGhreeb ae0154c
Adapt SQL visitor with new grammar
LoayGhreeb 6cc6ebd
Allow to use quotes without escaping
LoayGhreeb 50a919d
Merge branch 'main' into postgresql
LoayGhreeb b4bbe54
escape SQL wildcard chars
LoayGhreeb 7c901f9
Reorder methods
LoayGhreeb 58e0163
Adapt SearchFlagsToExpressionVisitor
LoayGhreeb 070dcc6
Adapt SearchToLuceneVisitor
LoayGhreeb f4c694a
Adapt SearchQueryExtractorVisitor
LoayGhreeb e7008fd
Fix tests
LoayGhreeb 19ca644
Fix DatabaseSearcherTest
LoayGhreeb e225cdc
Fix search terms patten for highlighting
LoayGhreeb 77ddece
Highlight source tab field by field according to the search query
LoayGhreeb 0b9eaf5
Apply suggestions from code review
LoayGhreeb b3d0053
Merge branch 'main' into postgresql
LoayGhreeb 750a320
Update src/main/java/org/jabref/gui/importer/actions/SearchGroupsMigr…
LoayGhreeb dde1a26
Merge branch 'main' into postgresql
LoayGhreeb ddd5392
Set default operator to AND
LoayGhreeb 3cfeb5d
remove debug
LoayGhreeb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.