Commit Graph

246 Commits

Author SHA1 Message Date
Mojmir Fendek
16fc54e101
Index now supports multiple relations with the same name. 2017-06-21 13:13:33 +01:00
Ingo Schommer
b7f4c1e5f8
Test for ambiguous relationships
See https://github.com/silverstripe/silverstripe-fulltextsearch/pull/145
2017-06-21 13:09:31 +01:00
Mojmir Fendek
2b3357565e
Index now supports multiple relations with the same name. 2017-06-16 17:05:35 +01:00
Daniel Hensby
a6d1988e50 Merge pull request #142 from creative-commoners/pulls/2/travis-php7
Add PHP7 + SS3.6 build to Travis configuration
2017-06-15 19:19:32 +01:00
Robbie Averill
558fa486b8 Add PHP7 + SS3.6 build to Travis configuration 2017-06-15 10:58:13 +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
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
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
Daniel Hensby
5ced034b33 Merge pull request #119 from webbuilders-group/empty-rels-fix
BUGFIX: Fixed crash when the relationship has no parents
2016-05-24 21:29:24 +01:00
UndefinedOffset
0ca7906c2d BUGFIX: Fixed crash when the relationship has no parents 2016-05-24 16:34:00 -03:00
Damian Mooyman
9a5361ae31 Merge pull request #118 from DarrenInwood/resultshook
Add an extension hook to allow altering search results
2016-05-20 17:38:08 +12:00
Damian Mooyman
b9440061ec Update changelog for 2.2.0 2016-05-18 17:20:00 +12:00
Damian Mooyman
cdd06fc375 Merge pull request #116 from sminnee/fix-first-dev-build
FIX: Fix initial dev/build on PDO Database.
2016-05-12 15:57:09 +12:00
Darren Inwood
234eac8308 More complete faceting example for docs. 2016-05-09 16:19:01 +12:00
Darren Inwood
034171270f Add an extension hook to allow altering search results 2016-05-09 10:21:07 +12:00
Sam Minnee
b25ec97979 FIX: Fix initial dev/build on PDO Database.
When the database isn’t yet created, $current is set, but
$current->currentDatabase() is empty. I suspect this only applies to 
PDO connections. It results in errors during startup.

This check fixes it.
2016-04-29 14:23:11 +12:00
Damian Mooyman
1ddf008592 API adding stemming support 2016-04-29 12:04:07 +12:00
Daniel Hensby
da22629d47 Merge pull request #117 from tractorcow/pulls/fix-shared-variants
BUG fix issues with search variants applying to more than one class
2016-04-26 02:20:41 +01:00
Damian Mooyman
e5fbdf9d42 BUG fix issues with search variants applying to more than one class 2016-04-26 12:43:31 +12:00
John Milmine
ab15c0ded8 adding stemming support 2016-04-21 09:07:39 +12:00
Damian Mooyman
afe7af18d2 Merge pull request #113 from webbuilders-group/derived-id-override-fix
BUGFIX: Fixed issue where the $id variable would be overridden in derived fields
2016-04-20 13:46:23 +12:00
UndefinedOffset
5571e99506 BUGFIX: Fixed issue where the $id variable would be overridden in subsequent iterations of the derived fields loop 2016-04-18 09:40:43 -03:00
Daniel Hensby
2067786e7f Merge pull request #114 from tractorcow/pulls/fix-versioned-writes
BUG Fix versioned writes where subtables have no fields key
2016-04-15 12:26:01 +01:00
Damian Mooyman
ec5e4f4581 BUG Fix versioned writes where subtables have no fields key
BUG Remove unnecessary config nesting in tests which are now handled via core
Fixes some regressions in recent framework fixes to versioned
2016-04-15 15:46:19 +12:00
Damian Mooyman
aa77e2b63a Merge pull request #109 from dhensby/pulls/fix-aliased-index
FIX Indexes with custom index names that dont match the classname wer…
2016-04-12 12:18:29 +12:00
Daniel Hensby
a94ddbce76 FIX Indexes with custom index names that dont match the classname were breaking 2016-02-23 02:05:00 +00:00