How to search on attachment file names

There is a _name attribute for attachments. Is there any way to query on it
?

Thanks.

If your attachment field is : my_attachment
Then, you should be able to query on my_attachment._name

HTH
David.

Le 15 mars 2012 à 12:03, Alexandre Heimburger ahb@bluekiwi-software.com a
écrit :

attachments. Is there any way to query on it ?

Thanks.

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

Hi David,

After looking at the code, _name is just used for posting an attachment.
It is not stored in the index.

I'm gonna prepare a pull request to add a field for the file name

On Thu, Mar 15, 2012 at 1:30 PM, david@pilato.fr david@pilato.fr wrote:

**

If your attachment field is : my_attachment

Then, you should be able to query on my_attachment._name

HTH
David.

Le 15 mars 2012 à 12:03, Alexandre Heimburger ahb@bluekiwi-software.com
a écrit :

There is a _name attribute for attachments. Is there any way to query on
it ?

Thanks.

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

--
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.

Yes, the name is only used to allow to more easily predict (by Tika) the
type of the content based on it. But its not indexed..., will have a look
at the pull request.

On Thu, Mar 15, 2012 at 3:36 PM, Alexandre Heimburger <
ahb@bluekiwi-software.com> wrote:

Hi David,

After looking at the code, _name is just used for posting an attachment.
It is not stored in the index.

I'm gonna prepare a pull request to add a field for the file name

On Thu, Mar 15, 2012 at 1:30 PM, david@pilato.fr david@pilato.fr wrote:

**

If your attachment field is : my_attachment

Then, you should be able to query on my_attachment._name

HTH
David.

Le 15 mars 2012 à 12:03, Alexandre Heimburger ahb@bluekiwi-software.com
a écrit :

There is a _name attribute for attachments. Is there any way to query
on it ?

Thanks.

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

--
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.

Thanks Alexandre.

I thought it was working. Good to know.
I understood know why we added a filename (not _name) field in our document
type as we could not search on it.

:wink:
Cheers
David.

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

After looking at the code, _name is just used for posting an attachment.
It is not stored in the index.

I'm gonna prepare a pull request to add a field for the file name

On Thu, Mar 15, 2012 at 1:30 PM, david@pilato.fr mailto:david@pilato.fr
< david@pilato.fr mailto:david@pilato.fr > wrote:

If your attachment field is : my_attachment
Then, you should be able to query on my_attachment._name

HTH
David.

Le 15 mars 2012 à 12:03, Alexandre Heimburger < ahb@bluekiwi-software.com
mailto:ahb@bluekiwi-software.com > a écrit :

attachments. Is there any way to query on it ?

Thanks.

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

--
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

A patch for the attachment mapper has been pushed this week end.

A "name" field has been added and set with _name attribute value.

On Mon, Mar 19, 2012 at 9:07 AM, david@pilato.fr david@pilato.fr wrote:

**

Thanks Alexandre.

I thought it was working. Good to know.

I understood know why we added a filename (not _name) field in our
document type as we could not search on it.

:wink:

Cheers

David.

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

Hi David,

After looking at the code, _name is just used for posting an attachment.
It is not stored in the index.

I'm gonna prepare a pull request to add a field for the file name

On Thu, Mar 15, 2012 at 1:30 PM, david@pilato.fr < david@pilato.fr > wrote:

If your attachment field is : my_attachment

Then, you should be able to query on my_attachment._name

HTH
David.

Le 15 mars 2012 à 12:03, Alexandre Heimburger < ahb@bluekiwi-software.com> a écrit :

There is a _name attribute for attachments. Is there any way to query on
it ?

Thanks.

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

--
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
http://dev.david.pilato.fr/
Twitter : @dadoonet

--
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.