Highlight does not work when searching on attachment with ES 0.19


(Alexandre Heimburger) #1

Hi,

Everything is in the title.

When I run the script from the gist : https://gist.github.com/1075067

Highlight is not returned.

Any idea ?

--
Regards,

ahb


(David Pilato) #2

Hi Alexandre,

Seems that you hit the same problem as before :
https://groups.google.com/group/elasticsearch/browse_thread/thread/8781e5b9bddd39e0/e9a9a0c509d2b807?#e9a9a0c509d2b807

Do you want me to test again the gist on my side ?
Did you start with a clean fresh new installation of ES ?

David.

On 14 mar, 16:50, Alexandre Heimburger alexheimbur...@gmail.com
wrote:

Hi,

Everything is in the title.

When I run the script from the gist :https://gist.github.com/1075067

Highlight is not returned.

Any idea ?

--
Regards,

ahb


(alheim) #3

It's not really the same ptoblem because I run ES on a debian box, and I
get some result.

Just the highlight is missing.

Is it working on your side ?

On Wed, Mar 14, 2012 at 5:44 PM, David Pilato david@pilato.fr wrote:

Hi Alexandre,

Seems that you hit the same problem as before :

https://groups.google.com/group/elasticsearch/browse_thread/thread/8781e5b9bddd39e0/e9a9a0c509d2b807?#e9a9a0c509d2b807

Do you want me to test again the gist on my side ?
Did you start with a clean fresh new installation of ES ?

David.

On 14 mar, 16:50, Alexandre Heimburger alexheimbur...@gmail.com
wrote:

Hi,

Everything is in the title.

When I run the script from the gist :https://gist.github.com/1075067

Highlight is not returned.

Any idea ?

--
Regards,

ahb

--
Alexandre Heimburger
VP Engineering
blueKiwi Software
tel : +33687880997
email : ahb@bluekiwi-software.com
adress : 93 rue Vieille du Temple, 75003 Paris

blueKiwi is the innovation leader in Enterprise Social Software. Our
solutions enable enterprises worldwide to engage and interact with their
internal and external social networks in multiple business domains.
blueKiwi has been consistently recognized by Gartner Inc. as a visionary
provider since 2007.


(David Pilato) #4

I will try later (@home)

Keep in touch.

Le 14 mars 2012 à 18:20, Alexandre Heimburger ahb@bluekiwi-software.com a
écrit :

because I run ES on a debian box, and I get some result.

Just the highlight is missing.

Is it working on your side ?

On Wed, Mar 14, 2012 at 5:44 PM, David Pilato < david@pilato.fr
mailto:david@pilato.fr > wrote:

Seems that you hit the same problem as before :
https://groups.google.com/group/elasticsearch/browse_thread/thread/8781e5b9bddd39e0/e9a9a0c509d2b807?#e9a9a0c509d2b807
https://groups.google.com/group/elasticsearch/browse_thread/thread/8781e5b9bddd39e0/e9a9a0c509d2b807?#e9a9a0c509d2b807

Do you want me to test again the gist on my side ?
Did you start with a clean fresh new installation of ES ?

David.

On 14 mar, 16:50, Alexandre Heimburger < alexheimbur...@gmail.com
mailto:alexheimbur...@gmail.com >
wrote:

Hi,

Everything is in the title.

When I run the script from the gist : https://gist.github.com/1075067
https://gist.github.com/1075067

Highlight is not returned.

Any idea ?

--
Regards,

ahb

--
Alexandre Heimburger
VP Engineering
blueKiwi Software
tel : +33687880997
email : ahb@bluekiwi-software.com mailto:ahb@bluekiwi-software.com
adress : 93 rue Vieille du Temple, 75003 Paris

blueKiwi is the innovation leader in Enterprise Social Software. Our
solutions enable enterprises worldwide to engage and interact with their
internal and external social networks in multiple business domains.
blueKiwi has been consistently recognized by Gartner Inc. as a visionary
provider since 2007.

--
David Pilato
http://dev.david.pilato.fr/
Twitter : @dadoonet


(David Pilato) #5

Hi Alexandre,

Everything is working fine :

I get this answer from ES :

{"ok":true,"_shards":{"total":1,"successful":1,"failed":0}}{

"hits" : [ {

  "_index" : "test",

  "_type" : "attachment",

  "_id" : "s_C9wgsCQRKteC4i_WbjjQ",

  "_score" : 0.005872132,

  "fields" : {

    "file.title" : "ISL99201"

  },

  "highlight" : {

    "file" : [ "\nMono <em>Amplifier</em>\nThe ISL99201 is a fully integrated high efficiency class-D \nmono <em>amplifier</em>. It is designed" ]

  }

} ]

}

}

I used ES 0.19.0, elasticsearch-mapper-attachments-1.3.0, JDK 1.6.0_25 on Windows 7 32 bits.

HTH

David.

De : elasticsearch@googlegroups.com [mailto:elasticsearch@googlegroups.com] De la part de Alexandre Heimburger
Envoyé : mercredi 14 mars 2012 18:20
À : elasticsearch@googlegroups.com
Objet : Re: Highlight does not work when searching on attachment with ES 0.19

It's not really the same ptoblem because I run ES on a debian box, and I get some result.

Just the highlight is missing.

Is it working on your side ?

On Wed, Mar 14, 2012 at 5:44 PM, David Pilato david@pilato.fr wrote:

Hi Alexandre,

Seems that you hit the same problem as before :
https://groups.google.com/group/elasticsearch/browse_thread/thread/8781e5b9bddd39e0/e9a9a0c509d2b807?#e9a9a0c509d2b807

Do you want me to test again the gist on my side ?
Did you start with a clean fresh new installation of ES ?

David.

On 14 mar, 16:50, Alexandre Heimburger alexheimbur...@gmail.com
wrote:

Hi,

Everything is in the title.

When I run the script from the gist :https://gist.github.com/1075067

Highlight is not returned.

Any idea ?

--
Regards,

ahb

--
Alexandre Heimburger
VP Engineering
blueKiwi Software
tel : +33687880997
email : ahb@bluekiwi-software.com
adress : 93 rue Vieille du Temple, 75003 Paris


blueKiwi is the innovation leader in Enterprise Social Software. Our solutions enable enterprises worldwide to engage and interact with their internal and external social networks in multiple business domains. blueKiwi has been consistently recognized by Gartner Inc. as a visionary provider since 2007.


(alheim) #6

Ok. The thing was related to my default analyzer which was the keyword one.

Using a standard analyzer correct my issue.

Thanks guys

On Wed, Mar 14, 2012 at 10:34 PM, David Pilato david@pilato.fr wrote:

Hi Alexandre,****



Everything is working fine :****

I get this answer from ES :****

{"ok":true,"_shards":{"total":1,"successful":1,"failed":0}}{****

"hits" : [ {****

  "_index" : "test",****

  "_type" : "attachment",****

  "_id" : "s_C9wgsCQRKteC4i_WbjjQ",****

  "_score" : 0.005872132,****

  "fields" : {****

    "file.title" : "ISL99201"****

  },****

  "highlight" : {****

    "file" : [ "\nMono <em>Amplifier</em>\nThe ISL99201 is a fully

integrated high efficiency class-D \nmono amplifier. It is
designed" ]****

  }****

} ]****

}****

}****


I used ES 0.19.0, elasticsearch-mapper-attachments-1.3.0, JDK 1.6.0_25 on
Windows 7 32 bits.****


HTH****

David.****




De : elasticsearch@googlegroups.com [mailto:
elasticsearch@googlegroups.com] De la part de Alexandre Heimburger
Envoyé : mercredi 14 mars 2012 18:20
À : elasticsearch@googlegroups.com
Objet : Re: Highlight does not work when searching on attachment with
ES 0.19****


It's not really the same ptoblem because I run ES on a debian box, and I
get some result.****


Just the highlight is missing.****


Is it working on your side ?****

On Wed, Mar 14, 2012 at 5:44 PM, David Pilato david@pilato.fr wrote:****

Hi Alexandre,

Seems that you hit the same problem as before :

https://groups.google.com/group/elasticsearch/browse_thread/thread/8781e5b9bddd39e0/e9a9a0c509d2b807?#e9a9a0c509d2b807

Do you want me to test again the gist on my side ?
Did you start with a clean fresh new installation of ES ?

David.

On 14 mar, 16:50, Alexandre Heimburger alexheimbur...@gmail.com
wrote:****

Hi,

Everything is in the title.

When I run the script from the gist :https://gist.github.com/1075067

Highlight is not returned.

Any idea ?

--
Regards,

ahb****



--
Alexandre Heimburger
VP Engineering
blueKiwi Software
tel : +33687880997
email : ahb@bluekiwi-software.com
adress : 93 rue Vieille du Temple, 75003 Paris****



blueKiwi is the innovation leader in Enterprise Social Software. Our
solutions enable enterprises worldwide to engage and interact with their
internal and external social networks in multiple business domains.
blueKiwi has been consistently recognized by Gartner Inc. as a visionary
provider since 2007.****


--
Alexandre Heimburger
VP Engineering
blueKiwi Software
tel : +33687880997
email : ahb@bluekiwi-software.com
adress : 93 rue Vieille du Temple, 75003 Paris

blueKiwi is the innovation leader in Enterprise Social Software. Our
solutions enable enterprises worldwide to engage and interact with their
internal and external social networks in multiple business domains.
blueKiwi has been consistently recognized by Gartner Inc. as a visionary
provider since 2007.


(system) #7