Commit Graph

65 Commits

Author SHA1 Message Date
Steve Boyd 302af21cad ENH PHP 8.1 compatibility 2022-04-13 11:24:03 +12:00
Steve Boyd fad7c0421c Merge branch '3.9' into 3 2022-03-04 14:12:42 +13:00
Tim Oliver 30ed311386
FIX Don't double-escape state field (#317)
Symfony now escapes each component separately.
See https://github.com/silverstripe/silverstripe-fulltextsearch/issues/311
2022-03-04 14:10:15 +13:00
Michal Kleiner 0788dc4e81
[Backport] Let symfony/process escape each command part separately (#315) 2022-03-03 14:57:44 +13:00
GuySartorelli b1675d4df1
FIX Separate out all command components so Solr_Reindex works in dev mode. 2022-01-26 15:37:07 +13:00
Steve Boyd 34e0594e48 DEP Allow symfony 4 2021-12-08 15:24:29 +13:00
Steve Boyd 8da0f2c2cc Merge branch '3.8' into 3 2021-09-14 10:05:23 +12:00
Michal Kleiner 83af73c9f6 FIX Only use values that are not empty
Previously the isset check would still allow falsey values.
2021-08-23 23:55:13 +12:00
GuySartorelli 69ba134ac2
FIX: Always store the default field to support highlighting
Fixes #249
2021-02-24 16:54:19 +13:00
Steve Boyd cfe937fbd1 NEW canView() check on record before indexing and before showing in search results 2020-06-10 17:22:20 +12:00
Steve Boyd bfa2edee6a Improved search filtering based on visibility 2020-04-09 09:04:01 +12:00
Dan Hensby 277a307a1b
Merge branch '3.6' into 3 2020-04-07 08:33:02 +01:00
Brett Tasker 72bc71a6a1 FIX: #270 - Reset variant state back to original state after processing 2020-01-08 13:09:29 +13:00
Will Rossiter 6fc5a6fb34
Add type mappings for dbdatetime 2019-09-11 15:29:04 +12:00
Garion Herman c54f683e95 FIX Make remotepath optional to restore compatibility with CWP 2019-07-18 14:52:45 +12:00
Robbie Averill 14b35f1935 DOCS Fix doc block formatting in SolrService 2019-05-17 09:53:16 +12:00
Robbie Averill b1ec2ed6d9 Remove unused class imports, import docblock reference for Apache_Solr_Response, use strict comparison 2019-05-17 09:51:20 +12:00
Robbie Averill 492769aea2 Merge branch '3.4' into 3.5 2019-05-10 10:06:19 +12:00
James Ayers 2323b7f2cd FIX: Use Configurable trait 2019-05-09 15:42:45 +12:00
James Ayers cf26795019 Change config method & default timeout to null to disable. 2019-05-09 15:42:03 +12:00
James Ayers decd040c55 Update Process timeout via Config 2019-05-09 15:41:58 +12:00
Robbie Averill fece48c5f0 DOCS Fix broken phpdoc types and tighten string comparison operators 2019-04-17 15:47:53 +12:00
Robbie Averill cf784f5c0a Use strict comparison 2019-03-25 13:22:36 +13:00
jovenden ea91cf5a3c NEW Adds a 'post' option for solrconfigstore 2019-03-25 13:21:53 +13:00
Robbie Averill 8600c244f9 Update namespace references in broken PHP docs and simplify condition logic 2019-01-26 16:03:26 +02:00
Dylan Wagstaff f89818909a Merge branch '3.3' 2018-10-17 12:10:53 +13:00
Guy Marriott 7ee362a5c7
Merge pull request #230 from Lolly101/phpbin-change
enhancement allow php bin to be configured
2018-09-13 12:37:15 +12:00
Lauren Hodgson 117850f492 enhancement allow php bin to be configured 2018-09-13 11:22:18 +12:00
Robbie Averill ef7ff75035 Update code for PSR-2 compliance 2018-09-07 11:47:34 +02:00
Sander Hagenaars f703559d65 conditional for adding start variable to results 2018-08-29 09:50:37 +02:00
Sander Hagenaars 4e543ec2b6 fix missing pagination in search results 2018-08-28 08:41:43 +02:00
cpenny 43f415555a Added complex filtering via Criteria/Criterion and Adapters/Writers for Solr. 2018-07-12 13:28:40 +12:00
Robbie Averill 3b27de2e57 Merge branch '3.3' 2018-06-27 17:01:36 +12:00
Robbie Averill acf204c1d0 Merge branch '3.2' into 3.3 2018-06-27 17:01:09 +12:00
Guy 3e8b7f50a4
Automated linting commit 2018-06-27 16:50:54 +12:00
Guy 5c12baaaa9
FIX Use \Exception for catching Solr exceptions 2018-06-27 16:23:17 +12:00
Andrew Aitken-Fincham 53eb826681
re-add default searchform docs
add blurb about simple theme

text extraction

synonyms
2018-06-20 17:14:49 +01:00
Damian Mooyman b653758c80
BUG Fix psr-4 namespace errors due to incorrect case 2018-06-15 10:34:14 +12:00
Andrew Aitken-Fincham 875b37ea63 use a template that iterates results properly 2018-06-08 14:11:33 +01:00
Andrew Aitken-Fincham 7b78a841b0 add default solr contentcontroller extension
piggy-back on default searchform
2018-06-06 17:28:31 +01:00
jovenden 0fbff7ca6a Remove all further references to `getClassNameFromIndex()` 2018-03-09 09:42:33 +13:00
jovenden 9153365313 Use full namespaced core for index and commit actions 2018-03-09 09:33:29 +13:00
jovenden 0764c0ed1e Ensure only Namespaced format is used for Configure 2018-03-08 14:17:33 +13:00
jovenden b6e64a2ec4 Fix issue where schema.xml etc is put in a different dir than the core is instantiated in 2018-03-08 12:56:43 +13:00
Dylan Wagstaff 48f3df725a
Merge pull request #202 from creative-commoners/pulls/3.0/irrelevant-variant-isolation
NEW Add SearchVariant::withCommon to run callbacks on relevant variants rather than all
2018-03-06 13:27:21 +13:00
Dylan Wagstaff 367343c481 FIX permit reindexing on a Windows machine
It appears that when executing in a Microsoft Windows environment the
default shell used in the immediate reindex handler is CMD, which has
some severely different syntax support from that of a POSIX machine (e.g.
GNU bash). This leads to errors to do with double escaping certain
parameters passed in via the CLI - culminating in an Injector error about
an non-extant class e.g. 'SilverStripe\\CMS\\Model\\SiteTree' - two
slashes a namespace separator does not make!
2018-02-23 16:46:44 +13:00
Robbie Averill 6e5b37e728 NEW Add SearchVariant::withCommon to run callbacks on relevant variants rather than all 2018-02-23 16:42:00 +13:00
Robbie Averill de4e2ba889 NEW Use symfony/process to execute immediate system commands for reindexing 2018-02-16 12:05:46 +13:00
Robbie Averill 415a1b9960 Merge branch '2' 2017-12-13 18:07:54 +13:00
Robbie Averill fccac37621 FIX Ensure queued job signature remains under 64 character limit (fixes Postgres error) 2017-12-07 09:12:57 +13:00