Indexing the same data multiple times


(Paweł Młynarczyk) #1

Hello

I have an index (products) consisting of some indexed fields (properties)
and an attachment field (I am using attachment plugin). I was wandering if
it is (or it will be) possible to index an attachment just once (and store
it in it's own index maybe) and then just 'attach' it to other documents.
By 'attach' I mean a process resulting in the possibility of searching
products by an attachment, without having to index the attachment again and
again (in my case, many products include the same attachment).
I was thinking about copying the tokens from the already indexed doc to the
other ones, but as far as I am concerned, this can not be done.
I would appriciate any suggestions on how to avoid indexing the same data
again and again within the different products.
Thanks in advance.

Paweł Młynarczyk

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/add5c7d7-6e3a-4946-95fa-b827c13719a7%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #2