Skip to content

Commit

Permalink
Text changes
Browse files Browse the repository at this point in the history
  • Loading branch information
clintongormley committed Nov 1, 2012
1 parent 842af39 commit 340ab22
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lib/Elastic/Manual/Attributes.pod
Expand Up @@ -774,7 +774,7 @@ if an unknown field is included).
=head2 path =head2 path


The C<path> keyword controls how the attribute names of an object are flattened The C<path> keyword controls how the attribute names of an object are flattened
into field names in elasticsearch. It can be set to C<full> (the default) or into field names in Elasticsearch. It can be set to C<full> (the default) or
C<just_path>. C<just_path>.


For instance, given the following example: For instance, given the following example:
Expand Down
2 changes: 1 addition & 1 deletion lib/Elastic/Manual/Terminology.pod
Expand Up @@ -208,7 +208,7 @@ See also L</Text> and L</Term> and L</Query>.


=head2 Term =head2 Term


A term is an exact value that is indexed in elasticsearch. The terms A term is an exact value that is indexed in Elasticsearch. The terms
C<foo>, C<Foo>, C<FOO> are NOT equivalent. Terms (ie exact values) can be C<foo>, C<Foo>, C<FOO> are NOT equivalent. Terms (ie exact values) can be
searched for using "term" queries. searched for using "term" queries.


Expand Down
4 changes: 2 additions & 2 deletions lib/Elastic/Model/Meta/Class/Model.pm
Expand Up @@ -133,7 +133,7 @@ sub analysis_for_mappings {
for my $name ( _required_analyzers( $mappings->{$type} ) ) { for my $name ( _required_analyzers( $mappings->{$type} ) ) {
next next
if exists $analyzers{$name} if exists $analyzers{$name}
|| $self->is_default( 'analyzer', $name ); || $self->is_default( 'analyzer', $name );
$analyzers{$name} = $self->analyzer($name) $analyzers{$name} = $self->analyzer($name)
or die "Unknown analyzer ($name) required by type ($type)"; or die "Unknown analyzer ($name) required by type ($type)";
} }
Expand All @@ -148,7 +148,7 @@ sub analysis_for_mappings {
for my $name ( ref $vals ? @$vals : $vals ) { for my $name ( ref $vals ? @$vals : $vals ) {
next next
if exists $defn{$name} if exists $defn{$name}
|| $self->is_default( $type, $name ); || $self->is_default( $type, $name );
$defn{$name} = $self->$type($name) $defn{$name} = $self->$type($name)
or die or die
"Unknown $type ($name) required by analyzer '$analyzer_name'"; "Unknown $type ($name) required by analyzer '$analyzer_name'";
Expand Down
2 changes: 1 addition & 1 deletion lib/Elastic/Model/Role/Model.pm
Expand Up @@ -810,7 +810,7 @@ Passes C<%args> through to L<Elastic::Model::Store/"search()">
); );
Creates an instance of a partial doc (ie an object which contains only some of Creates an instance of a partial doc (ie an object which contains only some of
the values stored in elasticsearch). These partial docs are useful when the values stored in Elasticsearch). These partial docs are useful when
your objects are large, and you need to display search results which your objects are large, and you need to display search results which
require only a few attributes, instead of the whole object. require only a few attributes, instead of the whole object.
Expand Down
3 changes: 0 additions & 3 deletions lib/Elastic/Model/View.pm
Expand Up @@ -974,6 +974,3 @@ Should a delete be done synchronously (ie waits until all nodes within
the replcation group have run the delete) or asynchronously (returns the replcation group have run the delete) or asynchronously (returns
immediately, and performs the delete in the background). immediately, and performs the delete in the background).
=head1 TODO
Possibly support L<partial fields|https://github.com/elasticsearch/elasticsearch/issues/1570>

0 comments on commit 340ab22

Please sign in to comment.