Elliot Sawyer
1728a62af5
WIP: Silverstripe 4 compatibility
...
Thanks to Marco Hermo and Brett Tasker for helping with this
* Bump framework/cms to ^4.0@dev
* WIP Silverstripe 4 compatibility fixes
* more replacements and patches to migrate this module to 4.0
* Update composer.json
* remove php <5.5 from travis.yml
* WIP more SS4 compatibility fixes
* WIP fix solr path to use DIR, avoid hardcoded module name
* WIP respect current include path
* WIP Namespacing and use on SearchIndex class
* Namespacing for tests
* WIP add namespaces to all classes
* Second push of Test changes + namespacing
* WIP split Solr files with multiple classes into single file / single class. Adjust namespaces
* Fix PHP errors in test
* break out search components with multiple classes into individual files and change namespaces
* Update namespacing for Search indexes and variants in tests
* Batch fixes for tests #2
* Update _config.php to use namespace
* Use root namespace in referencing Apache_Solr_Document
* Migrate task names so that the name is not fully qualified
2017-04-25 20:46:35 +12: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
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
Darren Inwood
034171270f
Add an extension hook to allow altering search results
2016-05-09 10:21:07 +12:00
Damian Mooyman
e5fbdf9d42
BUG fix issues with search variants applying to more than one class
2016-04-26 12:43:31 +12:00
helpfulrobot
314feddd48
Converted to PSR-2
2015-11-21 19:19:20 +13:00
Damian Mooyman
1683f776bd
API QueuedJob support for Solr_Reindex
...
API Incremental clear and re-index of records rather than clearing all records from SolrIndex up front
2015-07-28 12:46:23 +12:00
Damian Mooyman
ddb0b2520a
API Additional support for custom copy_fields
...
API Additional textSpellHtml type for html-safe spelling database generation
2015-07-06 17:49:06 +12:00
Damian Mooyman
94b5d7b85d
Enable indexes to upload custom config
...
Robust parsing of collation suggestions
Support spelling suggestions
Include default optional dictionary for _spellcheckText column
2015-07-01 14:32:20 +12:00
Damian Mooyman
f2f16ae863
API Enable boosted fields to be specified on the index
...
API Enable configuration of default field
2015-06-30 15:13:49 +12:00
Ingo Schommer
50f53e7bac
Fix highlight support when querying by fields (or boosting fields)
...
Highlighting will simply be empty otherwise, presumably
because it can't match against the complex query term in the "q" parameter.
2015-05-05 19:44:07 +12:00
Damian Mooyman
620d7861b6
BUG Add missing addStoredFields method
2015-02-17 10:17:58 +13:00
David Craig
201388adb4
Make spelling suggestions more useful
2014-11-14 14:02:50 +13:00
Mateusz Uzdowski
403ed0a9c9
BUG Patch up the information leak of debug information.
2014-06-11 12:07:09 +12:00
Darren Inwood
a2cfbb531b
BUG Fix sold indexing storing against the incorrect class key
2014-05-22 12:18:38 +12:00
Hamish Friedlander
3d18903552
API Add support for Solr 4 and make it the default
...
Solr::configure_server now takes "version" as one of the keys in the
option array, and behaves slightly differently depending on whether
that version is 3 or 4, to provide support for both Solr versions.
The Solr extras and templates have also moved, so that different
versions can be provided for the two different Solr versions.
2013-11-08 15:03:47 +13:00
Andrew Short
3dfbfdb8ef
BUG: Ensure excerpts are returned as HTMLText instances.
...
a7629c8bb2
inadvertently made it so
they were returned as plain strings due to the replace operation.
2013-10-08 18:56:07 +11:00
Sean Harvey
915219b6c4
BUG Fixing fuzzy not being applied to standard keyword searches.
...
At the moment it only applies fuzzy to specific field searches, but not when you haven't specified any fields.
2013-09-27 10:45:22 +12:00
Ingo Schommer
a7629c8bb2
BUG Remove non-displayable chars from Solr highlight results
2013-05-07 18:43:38 +02:00
Sean Harvey
6562ad2f2b
Check for !empty() on includeSubclasses so you don't get an undefined notice
2013-02-18 16:42:32 +13:00
Sean Harvey
224844fd44
Casting the Excerpt field as HTMLText so we can format it in the template
2013-02-13 14:03:50 +13:00
Sean Harvey
3508aadf56
Merge branch 'pull/field-defs-analyzers' of github.com:silverstripe-big-o/silverstripe-fulltextsearch into silverstripe-big-o-pull/field-defs-analyzers
2013-02-13 10:40:08 +13:00
Sean Harvey
cc144aa33e
Merge branch 'pull/highlighting-support' of github.com:silverstripe-big-o/silverstripe-fulltextsearch into silverstripe-big-o-pull/highlighting-support
2013-02-13 10:36:20 +13:00
Sean Harvey
756e307562
Merge branch 'pull/custom-query-params' of github.com:silverstripe-big-o/silverstripe-fulltextsearch into silverstripe-big-o-pull/custom-query-params
2013-02-13 10:29:53 +13:00
Sean Harvey
4f58937636
Logging Solr communication exceptions as warnings
...
Before we didn't catch exceptions, the CMS would break when communication
errors with Solr occurred, this change will log those exceptions as warnings
so that creating new and publishing pages will continue gracefully.
2013-02-13 09:52:06 +13:00
Hamish Friedlander
b10c263784
Merge pull request #13 from silverstripe-big-o/pull/spell-checking
...
ENHANCEMENT Better spell checking default config and docs
2012-11-01 14:32:58 -07:00
Hamish Friedlander
94f271da7f
Merge pull request #12 from silverstripe-big-o/pull/custom-source-paths
...
ENHANCEMENT Configurable source paths for Solr config
2012-11-01 14:31:51 -07:00
Ingo Schommer
874bd32300
ENHANCEMENT Solr->addCopyFields()
2012-10-05 15:16:15 +02:00
Ingo Schommer
0ef78f905c
ENHANCEMENT Per-field analyser support for SolrIndex
2012-10-05 12:40:46 +02:00
Ingo Schommer
b6fd7b7b89
ENHANCEMENT Extra field definition options for SolrIndex
2012-10-05 12:40:43 +02:00
Ingo Schommer
8a6e426676
ENHANCEMENT Better spell checking default config and docs
2012-09-05 22:20:28 +02:00
Ingo Schommer
1b069fe07b
ENHANCEMENT Configurable source paths for Solr config
...
- Made Solr_Configure task output more expressive by exposing the directories involved
- Documented configuration copying process, and how to override it
2012-09-05 22:16:18 +02:00
Ingo Schommer
78c5daa186
ENHANCEMENT Basic highlighting support
2012-09-05 22:14:44 +02:00
Ingo Schommer
65ce258578
ENHANCEMENT Custom query params support in SolrIndex->search()
2012-09-03 23:21:44 +02:00
Ingo Schommer
2c7d6d0ab8
BUG Only index date fields with values
...
Otherwise the values end up being the start of epoch (1970-01-01)
by default, which can throw off search filters. See README additions for details.
2012-08-29 21:00:40 +02:00
Ingo Schommer
989cc36766
NEW Added search-time boost support to SolrIndex
2012-08-23 18:30:46 +02:00
Ingo Schommer
2a3e882d70
BUG Fixed SolrIndex::$sortTypeMap usage
...
Wasn't defined, so broke with a fatal error when
calling addSortField(). Have it fall back to $filterTypeMap.
2012-08-23 18:13:16 +02:00
Ingo Schommer
b6aa87d116
Fix results aggregation in SolrIndex (ArrayAccess broken)
...
Needs to use push() explicitly, native operators don't
seem to work on ArrayList (see http://open.silverstripe.org/ticket/7686 )
2012-07-19 14:35:24 +02:00
Ingo Schommer
c464c826d0
API Moved module paths from /solr to /fulltextsearch
2012-07-19 13:48:12 +12:00
Hamish Friedlander
afaf3071d4
FIX Use ArrayList and PaginatedList instead of DataObjectSet
2012-07-19 13:46:46 +12:00
Hamish Friedlander
9534eeff8a
BUGFIX: Fixed deprecation errors for ClassInfo::is_subclass_of
2012-07-19 13:41:05 +12:00
Hamish Friedlander
17be5a3e63
Import first version of fulltextsearch module
2011-05-02 16:33:05 +12:00