Module: Ansr::Blacklight::SolrProjectionMethods
- Included in:
- Relation
- Defined in:
- lib/ansr_blacklight/relation/solr_projection_methods.rb
Instance Method Summary collapse
- #defType(value) ⇒ Object
- #defType!(value) ⇒ Object
- #defType_unscoping ⇒ Object
- #defType_value ⇒ Object
- #defType_value=(value) ⇒ Object
- #wt(value) ⇒ Object
- #wt!(value) ⇒ Object
- #wt_unscoping ⇒ Object
- #wt_value ⇒ Object
- #wt_value=(value) ⇒ Object
Instance Method Details
#defType(value) ⇒ Object
12 13 14 |
# File 'lib/ansr_blacklight/relation/solr_projection_methods.rb', line 12 def defType(value) spawn.defType!(value) end |
#defType!(value) ⇒ Object
16 17 18 19 |
# File 'lib/ansr_blacklight/relation/solr_projection_methods.rb', line 16 def defType!(value) self.defType_value= value self end |
#defType_unscoping ⇒ Object
21 22 |
# File 'lib/ansr_blacklight/relation/solr_projection_methods.rb', line 21 def defType_unscoping end |
#defType_value ⇒ Object
3 4 5 |
# File 'lib/ansr_blacklight/relation/solr_projection_methods.rb', line 3 def defType_value @values[:defType] end |
#defType_value=(value) ⇒ Object
7 8 9 10 |
# File 'lib/ansr_blacklight/relation/solr_projection_methods.rb', line 7 def defType_value=(value) raise ImmutableRelation if @loaded @values[:defType] = value end |
#wt(value) ⇒ Object
33 34 35 |
# File 'lib/ansr_blacklight/relation/solr_projection_methods.rb', line 33 def wt(value) spawn.wt!(value) end |
#wt!(value) ⇒ Object
37 38 39 40 |
# File 'lib/ansr_blacklight/relation/solr_projection_methods.rb', line 37 def wt!(value) self.wt_value= (value) self end |
#wt_unscoping ⇒ Object
42 43 |
# File 'lib/ansr_blacklight/relation/solr_projection_methods.rb', line 42 def wt_unscoping end |
#wt_value ⇒ Object
24 25 26 |
# File 'lib/ansr_blacklight/relation/solr_projection_methods.rb', line 24 def wt_value @values[:wt] end |
#wt_value=(value) ⇒ Object
28 29 30 31 |
# File 'lib/ansr_blacklight/relation/solr_projection_methods.rb', line 28 def wt_value=(value) raise ImmutableRelation if @loaded @values[:wt] = value end |