Sean Harvey
2d3467359f
Merge pull request #60 from ss23/fix_solr_4
...
Fix compatibility with solr 4
2014-11-25 12:15:17 +13:00
Sean Harvey
9fe8699afa
Merge pull request #59 from ss23/3.0-compat
...
Use SolrIndex->getIndexName() consistently
2014-11-25 12:13:33 +13:00
Stephen Shkardoon
31a2defbbd
Fix compatibility with solr 4
...
Remove waitFlush parameter. Fixes #34 .
Also fixes a minor bug where the wrong service was being returned.
2014-11-25 02:48:10 +13:00
Stephen Shkardoon
0cf8d7e6a8
Use SolrIndex->getIndexName() consistently
...
That's important in case we need to disambiguate the index, e.g. when multiple copies of the same codebase run on the same environment and server.
Example implementation:
function getIndexName() {
return preg_replace('/[^\w]/i', '-', __FILE__);
}
2014-11-25 02:28:47 +13:00
Ingo Schommer
9e841b83c7
Add phockito dependency
2013-09-27 10:06:21 +02:00
Ingo Schommer
f887ddc475
More specific constraint for 3.0
...
See https://groups.google.com/forum/#!topic/silverstripe-dev/kCHSHLZp2Yg
2013-09-27 10:02:22 +02:00
Sean Harvey
8e93425950
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 11:36:05 +12:00
Ingo Schommer
0073428e88
Travis support
2013-03-29 10:10:08 +01: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
Hamish Friedlander
5036f9e93c
Merge pull request #14 from silverstripe-big-o/pull/instance-of-sslist
...
BUG Check for instanceof SS_List rather than deprecated DataObjectSet
2012-11-01 14:33:28 -07: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
Hamish Friedlander
83badd9215
Merge pull request #8 from silverstripe-big-o/pull/docs-types
...
Docs about custom types
2012-11-01 14:29:15 -07:00
Hamish Friedlander
9ce4545bb9
Merge pull request #6 from silverstripe-big-o/ignore-empty-fields
...
Ignore empty fields
2012-11-01 14:27:31 -07:00
Hamish Friedlander
e98b9e229f
Merge pull request #5 from silverstripe-big-o/excludevariantstate
...
NEW SearchIndex->excludeVariantState()
2012-11-01 14:23:59 -07:00
Hamish Friedlander
53af22d3bb
Merge pull request #4 from silverstripe-big-o/boost
...
NEW Added search-time boost support to SolrIndex
2012-11-01 14:22:59 -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
0f557915e1
BUG Check for instanceof SS_List rather than deprecated DataObjectSet
2012-09-05 22:08:06 +02:00
Ingo Schommer
65ce258578
ENHANCEMENT Custom query params support in SolrIndex->search()
2012-09-03 23:21:44 +02:00
Ingo Schommer
6f3d3ca8be
Docs about custom types
2012-09-03 23:19:48 +02:00
Ingo Schommer
29b17a860a
Documentation
2012-08-29 21:57:45 +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
50304e4b0c
NEW SearchIndex->excludeVariantState()
2012-08-28 23:34:51 +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
bcff30d9ca
Allow limiting of classes on Solr_Reindex task
2012-08-23 18:13:10 +02:00