Magnus Bengtsson
ab8e316f5b
Added php 7.2 support
2019-04-15 10:15:09 +12:00
BrewCurious
20e1b1cbc6
Adding extension hooks before and after Solr_Configure and Solr_Reindex tasks to allow (e.g. Translatable) to modify filters consistently across multiple task iterations
2017-11-14 15:50:56 +13:00
Robbie Averill
e6af5be740
Merge branch '2.3' into 2
2017-11-14 15:47:19 +13:00
cpenny
e196de2ac2
Bugfix: Set SearchUpdateCommitJobProcessor::$dirty_indexes prop type to array, not bool
2017-08-18 12:47:30 +12:00
Robbie Averill
06269e8203
FIX Return a non-zero exit code when Solr_Configure has an exception
2017-08-04 11:49:12 +12:00
Mojmir Fendek
16fc54e101
Index now supports multiple relations with the same name.
2017-06-21 13:13:33 +01:00
Mojmir Fendek
2b3357565e
Index now supports multiple relations with the same name.
2017-06-16 17:05:35 +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
Damian Mooyman
bbaf4276af
BUG Fix delete / unpublish
...
Split SearchUpdater classes into separate files
Fixes #134
2017-03-09 12:34:20 +13:00
Daniel Hensby
203f931961
Merge branch '2.2' into 2.3
2016-12-14 13:26:44 +00:00
Daniel Hensby
465c072a99
FIX Regression where pages would be indexed under all subsites
2016-12-09 12:02:11 +00: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
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
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
e5fbdf9d42
BUG fix issues with search variants applying to more than one class
2016-04-26 12:43:31 +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
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
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
f87690ef22
Converted to PSR-2
2015-12-18 07:16:09 +13:00
torleif
84a79995d9
FIX: remove parameters from function calls
2015-12-03 14:49:26 +13:00
helpfulrobot
314feddd48
Converted to PSR-2
2015-11-21 19:19:20 +13:00
Christopher Pitt
3ad9369b0a
3.2 compat
2015-08-28 08:43:03 +12: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
Damian Mooyman
16a6f362e2
API Only allow one scheduled commit job at a time
2015-05-11 16:35:43 +12:00
Damian Mooyman
60b05db1ce
API Separate searchupdate / commit into separate queued-jobs
...
API Enable indexes to deprecate other classes
API Enable indexes to be globally specified in config
2015-05-08 15:22:46 +12:00
Ingo Schommer
9d079724a3
Regression in SearchUpdater_ObjectHandler
...
Stopped indexing of classes which were unrelated to overall variants.
For example, an index with excludeVariantState(array('SearchVariantVersioned' => 'Stage'))
should only set this variant state on types where appliesTo() returns true, namely "Page".
Without the $class parameter it also returned on "File" index requests,
which then lead to all index requests being discarded later on somewhere in SearchUpdater.
Regression introduced in 625d282
.
2015-05-07 21:57:35 +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
Daniel Pickering
6ab5969ac1
Fix many_many fieldData bug
...
This fixes a critical bug meaning that using many_many fields in full text searching would have always failed.
the $singleton->many_many() lookup returns an array() of many-many components, however the line $class = $manyMany[0] is wrong, as the first value of the array is always the $dataClass (parentClass), not the otherClass (childClass).
Changing this to $class = $manyMany[1] fixes this bug.
2014-08-21 16:58:59 +12:00
Damian Mooyman
9efe4baa16
API SearchUpdateQueuedJobProcessor now uses batching
2014-08-21 16:19:51 +12:00
torleif
fa0dcb7078
FIX: will work for postgreSQL
...
subsites will fail with this module if running on PostgrSQL
2014-08-19 10:29:01 +12: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
Damian Mooyman
23a1ba6e1a
BUG Fix subsite document ID generation
2014-05-22 16:48:37 +12:00
Darren Inwood
a2cfbb531b
BUG Fix sold indexing storing against the incorrect class key
2014-05-22 12:18:38 +12:00