[#4321] Change solr type of 'labels' field

Change to white-space-tokenized string field instead of text
field to get exact whole-word matching without stemming.

Copyfield added to solr schema to create new _ws on the fly
during reindexing, while still allowing the existing code
to work with the existing _t field.

After reindexing is complete, do a global
s/labels_t/labels_ws/ on the project (already tested).

Signed-off-by: Tim Van Steenburgh tvansteenburgh@gmail.com

Tim Van Steenburgh Tim Van Steenburgh 2013-05-02

Cory Johns Cory Johns 2013-05-10

added Allura/allura/tests/unit/test_artifact.py
changed Allura/allura/model/artifact.py
changed ForgeTracker/forgetracker/widgets/ticket_search.py
changed ForgeTracker/forgetracker/tracker_main.py
changed solr_config/schema.xml
changed vagrant/start_allura
Allura/allura/tests/unit/test_artifact.py Diff Switch to side-by-side view
Loading...
Allura/allura/model/artifact.py Diff Switch to side-by-side view
Loading...
ForgeTracker/forgetracker/widgets/ticket_search.py Diff Switch to side-by-side view
Loading...
ForgeTracker/forgetracker/tracker_main.py Diff Switch to side-by-side view
Loading...
solr_config/schema.xml Diff Switch to side-by-side view
Loading...
vagrant/start_allura Diff Switch to side-by-side view
Loading...