tracker issue : CF-4090624

select a category, or use search below
(searches all categories and all time range)
Title:

[ANeff] ER for: cfcollection path="" default when action="create"

| View in Tracker

Status/Resolution/Reason: Needs Review//

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 11/23/2015

Components: Text Search, Solr

Versions: 11.0

Failure Type: Enhancement Request

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Win All

Vote Count: 0

Currently, cfcollection's path="" attribute is required when action="create". It should default to collection's name. Example:

cfcollection(action="create", collection="mycollection")

That should create the collection at {SolrHome}/mycollection

(where {SolrHome} is the location specified in the "Solr Home" field in CF Admin)

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4090624

External Customer Info:
External Company:  
External Customer Name: Aaron Neff
External Customer Email:

Attachments:

Comments:

This is going to be the behavior with the new library upgrade to Solr5.x with Raijin. Now "path" attribute in cfcollection tag will be ignored and the collections will be created in the dir: <Solr_home>/collections.
Comment by Piyush K.
5243 | December 04, 2015 08:40:04 AM GMT
Hi Piyush, Awesome! Thanks very much! -Aaron
Comment by External U.
5244 | December 05, 2015 02:54:45 AM GMT
Hmm.. what about existing code that uses path="" attribute to specify a custom location? Thanks!, -Aaron
Comment by External U.
5245 | December 05, 2015 02:56:37 AM GMT