Commit Graph

85 Commits

Author SHA1 Message Date
Marco Hermo
da0a217aa0 Use root namespace in referencing Apache_Solr_Document 2017-04-21 16:32:47 +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
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
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
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
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
Daniel Hensby
a94ddbce76 FIX Indexes with custom index names that dont match the classname were breaking 2016-02-23 02:05:00 +00: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
Damian Mooyman
1608d8384d Merge pull request #63 from chillu/pulls/fix-highlight-support
Fix highlight support when querying by fields (or boosting fields)
2015-06-03 10:11:31 +12:00
Ingo Schommer
1fc1a8f68c Fix class limit on delete query in SolrIndex 2015-05-07 20:44:21 +12:00
Damian Mooyman
625d282df2 API Solr_Reindex uses configured SearchUpdater instead of always doing a direct write
Emit errors on Solr_Reindex if verbose=1
2015-05-07 11:58:39 +12:00
Ingo Schommer
66a2353d33 Newline after class index log 2015-05-05 23:41:59 +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
Ingo Schommer
79eb663638 Merge pull request #58 from silverstripe-iterators/pulls/spelling-suggestions
Make spelling suggestions more useful
2015-01-06 16:47:14 +13:00
☃ Stephen Shkardoon ☃
cb1770864d Merge pull request #49 from tractorcow/pulls/solr-4-compat
BUG Fix Solr 4.0 compatibility issue
2014-11-17 16:50:12 +13:00
David Craig
201388adb4 Make spelling suggestions more useful 2014-11-14 14:02:50 +13:00
Stephen Shkardoon
064468a28a Add a no-op query to prevent database timeouts during a long reindex 2014-10-22 19:01:34 +13:00
Damian Mooyman
892562c2ba BUG Fix Solr 4.0 compatibility issue 2014-06-17 17:56:46 +12: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
Will Rossiter
aac63d4067 Pass verbose through to nested call.
Correct ID output
2014-03-19 12:14:56 +13:00
Will Rossiter
995a8a1d01 Remove config output 2014-01-17 09:28:50 +13:00
Will Rossiter
51876f30d3 Export options to configure view to make it easier to determine final configuration. 2014-01-15 12:45:14 +13:00
Will Rossiter
06a7941613 FIX: Use index name as Solr reference rather than class name.
As otherwise SS_SOLR_INDEXNAME_SUFFIX is ignored when adding documents
2014-01-15 12:44:33 +13: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
Hamish Friedlander
b6fe2ff17d Make how Solr_Configure uploads config replaceable
Solr_Configure takes the `indexstore.mode` configuration variable to set how
to upload new configuration to the Solr server. However the various modes
were within Solr_Configure and you couldnt add more without altering the module

This changes Solr_Configure to make the configuration upload portion
contained with a seperate class thats selected via `indexstore.mode`
to fix that.
2013-09-11 14:37:36 +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