Module: Solr::Support::SchemaHelper
- Included in:
- Indexing::Document, Query::Request::Boosting::DictionaryBoostFunction, Query::Request::Boosting::ExistsBoostFunction, Query::Request::Boosting::FieldValueLessThanBoostFunction, Query::Request::Boosting::FieldValueMatchBoostFunction, Query::Request::Boosting::GeodistFunction, Query::Request::Boosting::LnFunctionBoost, Query::Request::Boosting::PhraseProximityBoost, Query::Request::Boosting::RankingFieldBoostFunction, Query::Request::Boosting::RecentFieldValueBoostFunction, Query::Request::Boosting::ScaleFunctionBoost, Query::Request::EdismaxAdapter, Query::Request::Facet, Query::Request::FieldList, Query::Request::Filter, Query::Request::GeoFilter, Query::Request::Sorting::Field, Query::Response::Parser
- Defined in:
- lib/solr/support/schema_helper.rb
Instance Method Summary collapse
Instance Method Details
#solarize_field(field) ⇒ Object
4 5 6 7 8 |
# File 'lib/solr/support/schema_helper.rb', line 4 def solarize_field(field) core = Solr.current_core_config field_config = core.field_by_name(field.to_sym) if core field_config ? field_config.solr_field_name : field.to_s end |