|
a/Allura/allura/model/artifact.py |
|
b/Allura/allura/model/artifact.py |
|
... |
|
... |
437 |
Subclasses should override this, providing a dictionary of solr_field => value.
|
437 |
Subclasses should override this, providing a dictionary of solr_field => value.
|
438 |
These fields & values will be stored by solr. Subclasses should call the
|
438 |
These fields & values will be stored by solr. Subclasses should call the
|
439 |
super() index() and then extend it with more fields. All these fields will be
|
439 |
super() index() and then extend it with more fields. All these fields will be
|
440 |
included in the 'text' field (done by search.solarize())
|
440 |
included in the 'text' field (done by search.solarize())
|
441 |
|
441 |
|
442 |
The _s and _t suffixes, for example, follow solr dynamic field naming pattern.
|
442 |
The _s and _t suffixes, for example, follow solr dynamic field naming
|
|
|
443 |
pattern.
|
|
|
444 |
You probably want to override at least title_s and text to have
|
|
|
445 |
meaningful search results and email senders.
|
443 |
"""
|
446 |
"""
|
444 |
|
447 |
|
445 |
project = self.project
|
448 |
project = self.project
|
446 |
return dict(
|
449 |
return dict(
|
447 |
id=self.index_id(),
|
450 |
id=self.index_id(),
|