Module: Ansr::Blacklight::SolrProjectionMethods

Included in:
Relation
Defined in:
lib/ansr_blacklight/relation/solr_projection_methods.rb

Instance Method Summary collapse

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_unscopingObject



21
22
# File 'lib/ansr_blacklight/relation/solr_projection_methods.rb', line 21

def defType_unscoping
end

#defType_valueObject



3
4
5
# File 'lib/ansr_blacklight/relation/solr_projection_methods.rb', line 3

def defType_value
  @values[:defType]
end

#defType_value=(value) ⇒ Object

Raises:

  • (ImmutableRelation)


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_unscopingObject



42
43
# File 'lib/ansr_blacklight/relation/solr_projection_methods.rb', line 42

def wt_unscoping
end

#wt_valueObject



24
25
26
# File 'lib/ansr_blacklight/relation/solr_projection_methods.rb', line 24

def wt_value
  @values[:wt]
end

#wt_value=(value) ⇒ Object

Raises:

  • (ImmutableRelation)


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