Hi,

I think you will have to preprocess documents on your side first and then
push into ES individually (you can push in batch).

As a side note, I would say json-ld is quite low level serialization od RDF
data IMO not optimal for ES indexing. May be better would be to find some
RDF-OOM tool and have your RDF documents mapped to Java POJOs and serialize
POJOs into JSONs instead (you can use Jackson library for that for
example). This will give you better control over whole RDF -> JSON
conversion process.

Regards,
Lukas

On Thu, Sep 25, 2014 at 7:21 PM, abo <a...@datavolution.com> wrote:

> Hello,
>
> I'm new to Elasticsearch, so forgive me if this is a basic question or if
> it's in some documentation that I haven't read...
>
> I am trying to load a json-ld file into ES. The json-ld file was generated
> from an RDF file, using Jena. The structure starts with:
>
> {
>   "@graph" :
>
> followed by the individual "documents", each with:
>
> {
>     "@id" :
>
> and a variable number of parameters in each.
>
> My question is how do I load this into ES and ensure that documents are
> individually referenced (as opposed to the entire json-ld file)?
>
> Do I need to doctor this json-ld file further in order to load it?
>
> Thanks for your help.
>
> -- abo
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/ec26bbe7-5bb1-4c50-96c4-8f586e1e0807%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/ec26bbe7-5bb1-4c50-96c4-8f586e1e0807%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAO9cvUYiqGoP5%3DpYkkhLzP17pLXAPN9sQVY9Oxn7AH4EY10xGA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to