Commit Graph

40 Commits

Author SHA1 Message Date
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
elliot sawyer
abdfe1947f WIP add namespaces to all classes 2017-04-21 12:27:01 +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
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
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
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
Stephen Shkardoon
064468a28a Add a no-op query to prevent database timeouts during a long reindex 2014-10-22 19:01:34 +13: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
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
Sean Harvey
428b8f3db5 fixing broken Solr_configure 2013-02-13 10:21:42 +13:00
Sean Harvey
75938c19a9 Ensure all cores are initialised on configure 2013-02-13 10:15:14 +13:00
Sean Harvey
deddbe5f15 Better checking for permissions when running Solr_configure 2013-02-13 09:59:14 +13:00
Sean Harvey
a6fd64eacd If no remote dir set for WebDAV, just use the index name by itself 2013-02-13 09:56:07 +13: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
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
50304e4b0c NEW SearchIndex->excludeVariantState() 2012-08-28 23:34:51 +02:00
Ingo Schommer
bcff30d9ca Allow limiting of classes on Solr_Reindex task 2012-08-23 18:13:10 +02:00
Ingo Schommer
fefd704582 Better feedback in Solr_Configure task 2012-08-23 18:10:29 +02:00
Ingo Schommer
566791655c Better feedback in Solr_Configure task 2012-07-19 17:16:50 +02:00
Ingo Schommer
d7546a4020 Show executed cmd on Solr_Reindex with verbose=1
Makes actual operation a bit clearer, easier to kickstart debugging
2012-07-19 16:35:26 +02:00
Ingo Schommer
be507824d0 Setting include_path *before* requiring paths relying on it 2012-07-19 13:48:58 +12:00
Ingo Schommer
c464c826d0 API Moved module paths from /solr to /fulltextsearch 2012-07-19 13:48:12 +12:00
Hamish Friedlander
3cc660484c FIX Use DataList intead of DataObject->get() 2012-07-19 13:41:05 +12:00
Russell Michell
c77da7d42c ENHANCEMENT: Made the search ofr cli-script.php a little more flexible in light of sapphire dirname change 2012-07-19 13:41:05 +12:00
Hamish Friedlander
cc36237c94 BUGFIX: Converted reindex queries to use DataList/DataQuery instead of deprecated buoldSQL() on DataObject 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