Field properties values


(lyes zaiko) #1

Hi everyone! A little noob question for you

By reading the guide, I saw that when defining a mapping for an index,
we can set for a field different properties such as type, index, etc.

But I didn't find anywhere the exhaustive list of all the properties
that can be set for a field, an for each property the possible values
it can take.

So, where can I find a such list please?

Thanks.


(lyes zaiko) #2

Okay! It seems that my question is not so clear.

Id we consider this simple example of mapping definition:

{

"type1": {

"properties" :

{

"field1" : { ... }

}

}

}

what are the different properties that can be set in the JSON corresponding
to "field1"?

By readng the guide and the examples, I know that there is : type,
term_vector, index, analyzer. What are the other properties

Thanks

On Thu, Nov 10, 2011 at 4:25 PM, lyes zaiko lyesjob@gmail.com wrote:

Hi everyone! A little noob question for you

By reading the guide, I saw that when defining a mapping for an index,
we can set for a field different properties such as type, index, etc.

But I didn't find anywhere the exhaustive list of all the properties
that can be set for a field, an for each property the possible values
it can take.

So, where can I find a such list please?

Thanks.


(lyes zaiko) #3

Finally I git my reply by well reading the guide (I missed mapping chapter).

On Fri, Nov 11, 2011 at 10:40 AM, Lyes zaiko lyesjob@gmail.com wrote:

Okay! It seems that my question is not so clear.

Id we consider this simple example of mapping definition:

{

"type1": {

"properties" :

{

"field1" : { ... }

}

}

}

what are the different properties that can be set in the JSON
corresponding to "field1"?

By readng the guide and the examples, I know that there is : type,
term_vector, index, analyzer. What are the other properties

Thanks

On Thu, Nov 10, 2011 at 4:25 PM, lyes zaiko lyesjob@gmail.com wrote:

Hi everyone! A little noob question for you

By reading the guide, I saw that when defining a mapping for an index,
we can set for a field different properties such as type, index, etc.

But I didn't find anywhere the exhaustive list of all the properties
that can be set for a field, an for each property the possible values
it can take.

So, where can I find a such list please?

Thanks.


(system) #4