-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove solr5555 from search engine code
Remove one layer of abstraction by letting Solr9PySolrSearchEngine inherit from SearchEngineBase directly
- Loading branch information
Showing
31 changed files
with
1,048 additions
and
4,887 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
from django.test import TestCase | ||
|
||
from utils.search.backends import solr555pysolr | ||
from utils.search.backends import solr9pysolr | ||
|
||
class SolrCommonTest(TestCase): | ||
def test_search_filter_make_intersection(self): | ||
|
||
filter_query = "username:alastairp" | ||
updated = solr555pysolr.Solr555PySolrSearchEngine().search_filter_make_intersection(filter_query) | ||
updated = solr9pysolr.Solr9PySolrSearchEngine().search_filter_make_intersection(filter_query) | ||
self.assertEqual(updated, "+username:alastairp") | ||
|
||
filter_query = "username:alastairp license:(a OR b)" | ||
updated = solr555pysolr.Solr555PySolrSearchEngine().search_filter_make_intersection(filter_query) | ||
updated = solr9pysolr.Solr9PySolrSearchEngine().search_filter_make_intersection(filter_query) | ||
self.assertEqual(updated, "+username:alastairp +license:(a OR b)") |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
54 changes: 0 additions & 54 deletions
54
utils/search/solr5.5.5/cores/forum/conf/lang/stopwords_en.txt
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.