Commit Graph

414 Commits

Author SHA1 Message Date
Brett Tasker
6066af5841 Update Search Manipulater 2017-04-21 16:34:04 +12:00
Marco Hermo
da0a217aa0 Use root namespace in referencing Apache_Solr_Document 2017-04-21 16:32:47 +12:00
Marco Hermo
62ba531543 Update _config.php to use namespace 2017-04-21 16:32:03 +12:00
Brett Tasker
9d5ea9393d Batch fixes for tests #2 2017-04-21 14:14:30 +12:00
Brett Tasker
6a2a4a8dd2 Update namespacing for Search indexes and variants in tests 2017-04-21 13:32:39 +12:00
Brett Tasker
db096ebf7d Merge branch 'compat/4' into compat4/btasker 2017-04-21 13:28:14 +12:00
elliot sawyer
13bef6eb0d break out search components with multiple classes into individual files and change namespaces 2017-04-21 13:26:24 +12:00
Brett Tasker
0ee34e49e2 Fix PHP errors in test 2017-04-21 13:26:07 +12:00
Brett Tasker
2c653daa9d Merge branch 'compat/4' into compat4/btasker 2017-04-21 13:19:48 +12:00
Brett Tasker
0ebf6e6220 Second push of Test changes + namespacing 2017-04-21 13:18:37 +12:00
elliot sawyer
424107fcac WIP split Solr files with multiple classes into single file / single class. Adjust namespaces 2017-04-21 13:08:14 +12:00
Brett Tasker
a5588fa5a0 Merge branch 'compat/4' into compat4/btasker 2017-04-21 12:28:49 +12:00
elliot sawyer
abdfe1947f WIP add namespaces to all classes 2017-04-21 12:27:01 +12:00
Brett Tasker
ddbab95e3f Namespacing for tests 2017-04-21 12:23:27 +12:00
elliot sawyer
9aac0ff1aa WIP respect current include path
WIP Namespacing and use on SearchIndex class
2017-04-21 12:00:02 +12:00
elliot sawyer
26b629a6cd WIP fix solr path to use DIR, avoid hardcoded module name 2017-04-21 11:45:04 +12:00
elliot sawyer
19b38e0811 WIP more SS4 compatibility fixes 2017-04-21 11:37:01 +12:00
Daniel Hensby
30e5b200e9 Merge pull request #140 from silverstripe-elliot/patch-2
Update Solr.md
2017-03-30 15:27:57 +01:00
Elliot Sawyer
2246fa9ab8 Obtain search results for a particular subsite when the request comes from a query (#136)
* Allow a user to obtain search results for a particular subsite when the request comes from a query

When attempting to do this in project code, SearchVariantSubsites kicks in and replaces any filter you've applied with the current subsite ID, which prevents you from searching for filtered results in another subsite.

This fix prevents the module from doing this if a filter is applied on the query

TODO  write unit tests for the filter() and exclude() behaviours
2017-03-30 11:17:46 +01:00
Elliot Sawyer
f5392b630f Update Solr.md
Update documentation explaining how to search for numeric terms by overloading types.ss
2017-03-28 16:20:46 +13:00
Elliot Sawyer
5790802544 Update Solr.md
Added documentation for how to search on macrons and other unicode characters. Thanks to @chrispenny for the code sample.
2017-03-28 16:12:56 +13:00
Damian Mooyman
91ef18a734
Merge commit '9e5d432aa552958972137de98bf40b8edbcc7e03' 2017-03-10 17:17:59 +13:00
Daniel Hensby
9e5d432aa5
Merge branch 'pull/138' into 2.3 2017-03-09 10:47:21 +00:00
Damian Mooyman
bbaf4276af
BUG Fix delete / unpublish
Split SearchUpdater classes into separate files
Fixes #134
2017-03-09 12:34:20 +13:00
elliot sawyer
45473db303 remove php <5.5 from travis.yml 2017-02-23 20:26:37 +13:00
Elliot Sawyer
b0436d7d52 Update composer.json 2017-02-23 20:04:55 +13:00
elliot sawyer
7c27484d24 more replacements and patches to migrate this module to 4.0 2017-02-17 17:37:32 +13:00
elliot sawyer
bbdf79ea2b WIP Silverstripe 4 compatibility fixes 2017-02-17 16:27:38 +13:00
Elliot Sawyer
6fbb25abb1 Bump framework/cms to ^4.0@dev 2017-02-17 12:03:51 +13:00
Ingo Schommer
51749c603a Fixed Travis URL 2017-02-07 08:58:21 +13:00
Daniel Hensby
176014afaa
Merge branch '2.3' 2016-12-14 13:31:38 +00:00
Daniel Hensby
203f931961
Merge branch '2.2' into 2.3 2016-12-14 13:26:44 +00:00
Daniel Hensby
b17bee71e5 Merge pull request #132 from dhensby/pulls/2.2/fix-subsite-regression
fix subsite regression
2016-12-14 12:18:53 +00:00
Damian Mooyman
b51e545e4b Merge pull request #131 from dhensby/pulls/2.2/fix-subsite-regression
FIX Regression where pages would be indexed under all subsites
2016-12-12 10:49:22 +13:00
Daniel Hensby
465c072a99
FIX Regression where pages would be indexed under all subsites 2016-12-09 12:02:11 +00:00
Daniel Hensby
50c9f52d58
Test coverage for SearchVariantSubsites@extractManipulationWriteState 2016-12-09 12:02:10 +00:00
Damian Mooyman
0ac3bb3668 Remove obsolete branch-alias 2016-11-17 10:15:58 +13:00
Damian Mooyman
190f4cb683
Re-alias master as 2.3 2016-11-16 11:22:06 +13:00
Daniel Hensby
c5c98cb442 Merge pull request #128 from brettt89/hotfix/remove-default-stemming
Remove Porter Stemming from default template
2016-10-04 12:03:46 +01:00
Daniel Hensby
e37c3a265b
Merge branch 'chillu/pulls/dataobject-index' 2016-10-04 11:59:46 +01:00
Daniel Hensby
6e25c5c94b
Merge pull request #62 from chillu/pulls/timeout-docs 2016-10-04 11:53:52 +01:00
Brett Tasker
f2a8186184 Remove Porter Stemming from default template as it is breaking synonyms on search. 2016-09-22 09:52:23 +12:00
Eduard Briem
695280e91e adding ability to define different port for WebDAV than used for Solr (#126)
* adding ability to define different port for WebDAV than used for Solr

* removed spaces

* added Solr configuration example to documentation
2016-09-12 00:38:52 +01:00
Damian Mooyman
372bde90e7 Add self as maintainer 2016-08-02 18:20:20 +12:00
Daniel Hensby
e36244282f Merge pull request #87 from dnadesign/suffix_prefix_fix
adding ability for solr suffix and prefixing
2016-07-19 20:44:05 +01:00
John Milmine
9e51c1632c adding ability for solr suffix and prefixing
This means the same code can run on a single solr core and have the same indexes but use prefixes or suffixes to keep them separate
2016-07-20 06:40:52 +12:00
Daniel Hensby
2325af12af Merge pull request #123 from madmatt/pulls/remove-query-headers
Remove X-Query, X-Filters, and X-QueryFields headers from being set
2016-07-18 11:54:05 +01:00
madmatt
e4914a6778 Remove X-Query, X-Filters, and X-QueryFields headers from being set in test environments 2016-07-18 14:46:10 +12:00
Damian Mooyman
c6c3d3c3ab Merge pull request #122 from webbuilders-group/unit-test-fix
BUGFIX: SolrVersionedTest_Index causing crash in unit tests when Phockito is not installed
2016-07-07 18:37:02 +12:00
UndefinedOffset
6ff50fede9 BUGFIX: SolrVersionedTest_Index causing crash in unit tests when Phockito is not installed 2016-06-16 11:50:21 -03:00