Commit Graph

98 Commits

Author SHA1 Message Date
Hamish Friedlander 799c8760af API Move local solr to own repo
The local solr server was very out of date (because changing it would be an API change)
and took up lots of space in the repository.

This commit removes it, and references a newly created package,
silverstripe/fulltextsearch-localsolr

Not only does this save on storage space when the example server
isnt needed (you shouldnt really be using it for production), it
also disconnects the server version from the module version, so
you can easily change one without changing the other
2013-11-08 16:28:51 +13:00
Will Rossiter 15daed3edc Merge pull request #32 from ajshort/pull-1
BUG: Ensure excerpts are returned as HTMLText instances.
2013-10-08 01:29:01 -07: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
Stig Lindqvist 7dd8d888cf Merge pull request #30 from hafriedlander/fix/subsitesvariant
FIX subsites not activating after recent subsite session changes
2013-09-16 20:33:42 -07:00
Hamish Friedlander b75e243276 FIX subsites not activating after recent subsite session changes 2013-09-17 14:59:48 +12:00
Mateusz U 7afe5594f7 Merge pull request #28 from hafriedlander/api/injectableconfigstores
Make how Solr_Configure uploads config replaceable
2013-09-10 20:09:07 -07:00
Mateusz U d8ed515fc7 Merge pull request #29 from hafriedlander/fix/tests
Make tests run
2013-09-10 20:06:48 -07: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
Hamish Friedlander 03a206109a Make tests run 2013-09-11 14:35:01 +12:00
Ingo Schommer a31dd5c0cc Create LICENSE 2013-09-02 11:42:29 +02:00
Ingo Schommer 21a963d398 Fixed composer constraint to allow for RC releases (composer fixed its tilde behaviour now) 2013-08-14 11:58:35 +02:00
Hamish Friedlander dbd68dc300 API Move SearchUpdate queue handling to DIed processor, add QueuedJob support 2013-07-25 14:28:10 +12:00
Hamish Friedlander d6cf16c391 FIX Phockito-based tests to pass 2013-07-25 13:27:15 +12:00
Ingo Schommer bb2e5624f3 Merge pull request #19 from cam-findlay/patch-2
Solr doc typos
2013-05-08 06:16:53 -07:00
Sam Minnee d54f994193 FIX: Trying to get dependencies working properly. 2013-05-08 16:45:38 +12:00
Ingo Schommer b2f2f6b63b Cross-reference textextraction module in docs 2013-05-07 20:15:46 +02:00
Ingo Schommer 2aeab22214 Add subsites and cms modules to dev requirements (for tests) 2013-05-07 19:13:05 +02:00
Ingo Schommer 4b47eb349d No longer test against 3.0 2013-05-07 18:52:42 +02:00
Ingo Schommer 7b13730c01 Adding Phockito dependency 2013-05-07 18:44:25 +02:00
Ingo Schommer a7629c8bb2 BUG Remove non-displayable chars from Solr highlight results 2013-05-07 18:43:38 +02:00
Ingo Schommer 919716a0ce Note about installing 'text extraction' feature 2013-05-07 18:43:38 +02:00
Ingo Schommer 5ab34b5c19 Fixed composer constraints 2013-05-07 13:45:53 +03:00
Sean Harvey 3ab71f70b0 Merge pull request #21 from silverstripe-rebelalliance/fix/not_indexing_tableless_classes
FIX Throw error if trying to add a table-less DataObject class to index
2013-05-02 14:45:48 -07:00
Hamish Friedlander b2098a3ebf FIX Throw error if trying to add a table-less DataObject class to index
Its impossible for SearchUpdater#handle_manipulation to figure out the difference
between writing to a table-less class (like Page if theres no $db set) and the
table-having parent (like SiteTree) because it only examines the DB manipulation

This meant if you tried to index Page without setting $db fields, only subclasses
that did have $db fields would be indexed

We cant fix, but we can throw an error if you try to do that
2013-05-03 09:23:21 +12:00
Sean Harvey f9998a2266 Use the correct class name instead of $databaseConfig['type'] 2013-04-12 16:31:10 +12:00
Sean Harvey 2cd8582c4b Merge pull request #20 from halkyon/3.1-fixes
Fixing SS 3.1 support. Changing minimum requirement to 3.1.
2013-04-02 20:25:49 -07:00
Sean Harvey 801aa48d07 Fixing SS 3.1 support. Changing minimum requirement to 3.1 as a result. 2013-04-03 15:43:08 +13:00
Ingo Schommer 0073428e88 Travis support 2013-03-29 10:10:08 +01:00
cam-findlay feef2602e8 Solr doc typos 2013-03-29 17:19:24 +13: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 e335a14fc5 updating location to docs in main README.md 2013-02-13 11:02:04 +13:00
Sean Harvey 9440267d51 Moving docs into docs/en to fit with docsviewer 2013-02-13 10:45:48 +13:00
Sean Harvey 1b096fea94 Removing repeated parts of docs in docs folder (it's in root README.md instead) 2013-02-13 10:44:52 +13:00
Sean Harvey 7a9a698c2d Merge branch 'docs' of github.com:silverstripe-big-o/silverstripe-fulltextsearch into silverstripe-big-o-docs 2013-02-13 10:43:05 +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 428b8f3db5 fixing broken Solr_configure 2013-02-13 10:21:42 +13:00
Sean Harvey 7f2e9a4e72 NEW Add variant for regular subsite module. 2013-02-13 10:16:39 +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 871f2065c4 WebDAV::exists() should add a trailing slash for checking dirs
Without it, some WebDAV servers will thrown an error.
2013-02-13 09:57:13 +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
Sean Harvey e89a89a009 Additional docs on specifying search fields and boosting 2013-02-13 09:54:01 +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
Sean Harvey be2b45123f removing experimental notes in docs 2013-02-13 09:48:26 +13:00
Sean Harvey 2a73a21bd9 Fixing missing backtick to indicate code formatting 2013-02-13 09:46:22 +13:00
Sam Minnee 6287085f8b Add composer file 2012-11-03 12:31:41 +13:00