Skip to content

Commit

Permalink
[FIX] Integration\SearchTest for TYPO3 13
Browse files Browse the repository at this point in the history
  • Loading branch information
dkd-kaehm committed Jul 11, 2024
1 parent 68c0e06 commit 8d15ab6
Show file tree
Hide file tree
Showing 4 changed files with 117 additions and 160 deletions.
19 changes: 1 addition & 18 deletions Tests/Integration/Fixtures/Search/phrase_search.csv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"pages",,,,,,,
,"uid","pid","is_siteroot","doktype","hidden","slug","title"
,2,1,1,1,0,"/","World Hello Search Test"
,2,1,0,1,0,"/world-hello-search-test","World Hello Search Test"
,3,1,0,1,0,"/improve","Hello you can improve the precision by using phrase configuration World"
,4,1,0,1,0,"/hello-phrase-search-world","Hello phrase search World"
,5,1,0,1,0,"/hello-test-wonderful-world","Hello Test wonderful World"
Expand All @@ -15,20 +15,3 @@
,14,1,0,1,0,"/hello-the-test-search-world","Hello the Test Search World"
,15,1,0,1,0,"/hello-world-for-phrase-searching","Hello World for phrase searching"
,16,1,0,1,0,"/about","Solr is blazing-fast and open source enterprise search platform built on Apache Lucene"
"tx_solr_indexqueue_item",
,"uid","root","item_type","item_uid","indexing_configuration","changed","indexed","has_indexing_properties","indexing_priority","indexed","errors"
,2,1,"pages",2,"pages",1449151778,0,0,0,0,0
,3,1,"pages",3,"pages",1449151778,0,0,0,0,0
,4,1,"pages",4,"pages",1449151778,0,0,0,0,0
,5,1,"pages",5,"pages",1449151778,0,0,0,0,0
,6,1,"pages",6,"pages",1449151778,0,0,0,0,0
,7,1,"pages",7,"pages",1449151778,0,0,0,0,0
,8,1,"pages",8,"pages",1449151778,0,0,0,0,0
,9,1,"pages",9,"pages",1449151778,0,0,0,0,0
,10,1,"pages",10,"pages",1449151778,0,0,0,0,0
,11,1,"pages",11,"pages",1449151778,0,0,0,0,0
,12,1,"pages",12,"pages",1449151778,0,0,0,0,0
,13,1,"pages",13,"pages",1449151778,0,0,0,0,0
,14,1,"pages",14,"pages",1449151778,0,0,0,0,0
,15,1,"pages",15,"pages",1449151778,0,0,0,0,0
,16,1,"pages",16,"pages",1449151778,0,0,0,0,0
19 changes: 1 addition & 18 deletions Tests/Integration/Fixtures/Search/phrase_search_bigram.csv
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"pages",,,,,,,
,"uid","pid","is_siteroot","doktype","hidden","slug","title"
# 100% matching
,2,1,1,1,0,"/","Bigram Phrase Search"
,2,1,0,1,0,"/bigram-phrase-search","Bigram Phrase Search"
# bigram phrase slop = 0
,3,1,0,1,0,"/dump-sentence","This is some dump sentence to match Bigram Phrase"
,4,1,0,1,0,"/match-phrase-search","This is some dump sentence to match Phrase Search"
Expand All @@ -19,20 +19,3 @@
,14,1,0,1,0,"/match-bigram-only","This is some dump sentence to match Bigram only"
,15,1,0,1,0,"/implicit-bigram-phrase-pf2","Implicit Bigram gag gag gag gag Phrase gag gag gag gag searches in pf2 fields."
,16,1,0,1,0,"/bigram-gag-gag-gag-gag-phrase","Bigram gag gag gag gag Phrase gag gag gag gag Search is fascinating feature."
"tx_solr_indexqueue_item",
,"uid","root","item_type","item_uid","indexing_configuration","changed","indexed","has_indexing_properties","indexing_priority","indexed","errors"
,2,1,"pages",2,"pages",1449151778,0,0,0,0,0
,3,1,"pages",3,"pages",1449151778,0,0,0,0,0
,4,1,"pages",4,"pages",1449151778,0,0,0,0,0
,5,1,"pages",5,"pages",1449151778,0,0,0,0,0
,6,1,"pages",6,"pages",1449151778,0,0,0,0,0
,7,1,"pages",7,"pages",1449151778,0,0,0,0,0
,8,1,"pages",8,"pages",1449151778,0,0,0,0,0
,9,1,"pages",9,"pages",1449151778,0,0,0,0,0
,10,1,"pages",10,"pages",1449151778,0,0,0,0,0
,11,1,"pages",11,"pages",1449151778,0,0,0,0,0
,12,1,"pages",12,"pages",1449151778,0,0,0,0,0
,13,1,"pages",13,"pages",1449151778,0,0,0,0,0
,14,1,"pages",14,"pages",1449151778,0,0,0,0,0
,15,1,"pages",15,"pages",1449151778,0,0,0,0,0
,16,1,"pages",16,"pages",1449151778,0,0,0,0,0
19 changes: 1 addition & 18 deletions Tests/Integration/Fixtures/Search/phrase_search_trigram.csv
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"pages",,,,,,,
,"uid","pid","is_siteroot","doktype","hidden","slug","title"
# 100% matching
,2,1,1,1,0,"/","Awesome Trigram Phrase Search"
,2,1,0,1,0,"/awesome-trigram-phrase-search","Awesome Trigram Phrase Search"
# trigram phrase slop = 0
,3,1,0,1,0,"/dump-sentence","This is some dump sentence to match Awesome Trigram Phrase"
,4,1,0,1,0,"/match-trigram-phrase-search","This is some dump sentence to match Trigram Phrase Search"
Expand All @@ -19,20 +19,3 @@
,14,1,0,1,0,"/match-trigram-only","This is some dump sentence to match Trigram only"
,15,1,0,1,0,"/match-awesome-only","This is some dump sentence to match Awesome only"
,16,1,0,1,0,"/trigram-gag-gag-gag-gag-phrase","Trigram gag gag gag gag Phrase gag gag gag gag Search is fascinating feature."
"tx_solr_indexqueue_item",
,"uid","root","item_type","item_uid","indexing_configuration","changed","indexed","has_indexing_properties","indexing_priority","indexed","errors"
,2,1,"pages",2,"pages",1449151778,0,0,0,0,0
,3,1,"pages",3,"pages",1449151778,0,0,0,0,0
,4,1,"pages",4,"pages",1449151778,0,0,0,0,0
,5,1,"pages",5,"pages",1449151778,0,0,0,0,0
,6,1,"pages",6,"pages",1449151778,0,0,0,0,0
,7,1,"pages",7,"pages",1449151778,0,0,0,0,0
,8,1,"pages",8,"pages",1449151778,0,0,0,0,0
,9,1,"pages",9,"pages",1449151778,0,0,0,0,0
,10,1,"pages",10,"pages",1449151778,0,0,0,0,0
,11,1,"pages",11,"pages",1449151778,0,0,0,0,0
,12,1,"pages",12,"pages",1449151778,0,0,0,0,0
,13,1,"pages",13,"pages",1449151778,0,0,0,0,0
,14,1,"pages",14,"pages",1449151778,0,0,0,0,0
,15,1,"pages",15,"pages",1449151778,0,0,0,0,0
,16,1,"pages",16,"pages",1449151778,0,0,0,0,0
Loading

0 comments on commit 8d15ab6

Please sign in to comment.