Exact match for fields with default mapping


(Deepak Chezhian) #1

Hi,

I want to do an analysed search(like if any of the words in the field
matches) using match query with fuzziness and use facets of the search
result to filter the documents(i want to do an exact match in this case).

Is there anyway do the analysed(for any term match) and not analysed(for
exact match) search on the same field?

Regards,
Deepak

--


(Ivan Brusic) #2

Deepak,

Multi field is exactly what you are looking for:

http://www.elasticsearch.org/guide/reference/mapping/multi-field-type.html

--
Ivan

On Wed, Sep 26, 2012 at 5:49 AM, Deepak Chezhian cdeepakcse@gmail.com wrote:

Hi,

I want to do an analysed search(like if any of the words in the field
matches) using match query with fuzziness and use facets of the search
result to filter the documents(i want to do an exact match in this case).

Is there anyway do the analysed(for any term match) and not analysed(for
exact match) search on the same field?

Regards,
Deepak

--

--


(system) #3