If it does not download file then every curl request for searching data it hit on wiki server then it will give result to user? Is I am right?
On Fri, Dec 20, 2013 at 3:39 PM, David Pilato <[email protected]> wrote: > Sorry. Not sure I understand your questions. > Elasticsearch is streaming wikipedia content. So it does not really > "download" the file somewhere. > > Was that your question? > > -- > *David Pilato* | *Technical Advocate* | *Elasticsearch.com* > @dadoonet <https://twitter.com/dadoonet> | > @elasticsearchfr<https://twitter.com/elasticsearchfr> > > > Le 20 décembre 2013 at 10:47:18, swapnil joshi ( > [email protected] <//[email protected]>) a écrit: > > Q . If I index on wiki dump then Is it take some same? > Q . is elasticsearch are extract file or not? > > Thank You > > > On Fri, Dec 20, 2013 at 3:08 PM, David Pilato <[email protected]> wrote: > >> Could you try to move your file on a local disk? >> I mean that this is the first time I see it used with file:// URL and >> spaces in pathname. >> >> Yes elasticsearch index bz2 file. >> >> By default, if you create the river without parameters: >> >> curl -XPUT localhost:9200/_river/my_river/_meta -d '{ "type" : "wikipedia" }' >> >> >> We index >> http://download.wikimedia.org/enwiki/latest/enwiki-latest-pages-articles.xml.bz2 >> which >> is a bz2 file. >> >> -- >> *David Pilato* | *Technical Advocate* | *Elasticsearch.com* >> @dadoonet <https://twitter.com/dadoonet> | >> @elasticsearchfr<https://twitter.com/elasticsearchfr> >> >> >> Le 20 décembre 2013 at 10:32:05, swapnil joshi ( >> [email protected] <//[email protected]>) a écrit: >> >> Hi David, >> >> My file is still exist at same location file:///media/Seagate Backup Plus >> Drive/enwiki-20131202-pages-articles.xml.bz2 >> >> Can elasticsearch indexed on *.bz2 file? >> >> this enwiki-20131202-pages-articles.xml.bz2 file approx 9GB in size. >> >> >> >> >> On Fri, Dec 20, 2013 at 2:28 PM, David Pilato <[email protected]> wrote: >> >>> So no other document in the cluster. It sounds like it did not work. >>> May be your URL is incorrect here? >>> >>> -- >>> *David Pilato* | *Technical Advocate* | *Elasticsearch.com* >>> @dadoonet <https://twitter.com/dadoonet> | >>> @elasticsearchfr<https://twitter.com/elasticsearchfr> >>> >>> >>> Le 20 décembre 2013 at 09:37:22, swapnil joshi ( >>> [email protected] <//[email protected]>) a écrit: >>> >>> I got following response: >>> >>> How I know total index count? >>> >>> $ curl http://192.168.1.13:9200/_search?q=* >>> {"took":88,"timed_out":false,"_shards":{"total":2,"successful":2,"failed":0},"hits":{"total":2,"max_score":1.0,"hits":[{"_index":"_river","_type":"my_wikipedia","_id":"_meta","_score":1.0, >>> "_source" : >>> { >>> "type" : "wikipedia", >>> "wikipedia" : { >>> "url" : "file:///media/Seagate Backup Plus >>> Drive/enwiki-20131202-pages-articles.xml.bz2" >>> } >>> } >>> },{"_index":"_river","_type":"my_wikipedia","_id":"_status","_score":1.0, >>> "_source" : >>> {"ok":true,"node":{"id":"drlilI2KQHO123LWXwsqEQ","name":"Spitfire","transport_address":"inet[/ >>> 192.168.1.13:9300]"}}}]}} >>> >>> >>> On Fri, Dec 20, 2013 at 1:04 PM, David Pilato <[email protected]> wrote: >>> >>>> You could run a query? >>>> >>>> curl http://localhost:9200/_search?q=* >>>> >>>> And see if you docs? >>>> >>>> -- >>>> *David Pilato* | *Technical Advocate* | *Elasticsearch.com* >>>> @dadoonet <https://twitter.com/dadoonet> | >>>> @elasticsearchfr<https://twitter.com/elasticsearchfr> >>>> >>>> >>>> Le 20 décembre 2013 at 08:10:32, Sigehere >>>> ([email protected]<//[email protected]>) >>>> a écrit: >>>> >>>> Hi Friends, >>>> >>>> I have installed elasticsearch and elasticsearch wikipedia river plagin >>>> >>>> then i have run following curl request and i got this response >>>> >>>> $ curl -XPUT 192.168.1.13:9200/_river/my_wikipedia/_meta -d ' >>>> { >>>> "type" : "wikipedia", >>>> "wikipedia" : { >>>> "url" : "file:///media/Seagate Backup Plus >>>> Drive/enwiki-20131202-pages-articles.xml.bz2" >>>> } >>>> } >>>> ' >>>> >>>> {"ok":true,"_index":"_river","_type":"my_wikipedia","_id":"_meta","_version":3} >>>> >>>> What is the meaning of this message? >>>> >>>> this response got me with in 2 sec. >>>> >>>> How can I identify is it indexed successful or not? >>>> >>>> >>>> >>>> -- >>>> 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 [email protected]. >>>> >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/elasticsearch/d28eca4c-2cbc-4e68-b9c4-bab8d015d861%40googlegroups.com >>>> . >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>>> -- >>>> You received this message because you are subscribed to a topic in the >>>> Google Groups "elasticsearch" group. >>>> To unsubscribe from this topic, visit >>>> https://groups.google.com/d/topic/elasticsearch/xwKKS_ltv_0/unsubscribe >>>> . >>>> To unsubscribe from this group and all its topics, send an email to >>>> [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/elasticsearch/etPan.52b3f316.3006c83e.111%40MacBook-Air-de-David.local. >>>> >>>> >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>> >>> >>> >>> -- >>> Regards, >>> Swapnil K. Joshi >>> -- >>> 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 [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/elasticsearch/CAFBccRAWWDHoribYRsMKd%2Bgc5C7KqkYUBbku7WAiXs_xREmPwQ%40mail.gmail.com. >>> >>> >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "elasticsearch" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/elasticsearch/xwKKS_ltv_0/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/elasticsearch/etPan.52b406d0.7724c67e.111%40MacBook-Air-de-David.local. >>> >>> >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> >> >> -- >> Regards, >> Swapnil K. Joshi >> -- >> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elasticsearch/CAFBccRB4Zwnx19hYUB7prKUCjzuwcDioOCwc-w9ZB0-o8EYnaQ%40mail.gmail.com. >> >> >> For more options, visit https://groups.google.com/groups/opt_out. >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "elasticsearch" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/elasticsearch/xwKKS_ltv_0/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elasticsearch/etPan.52b4100d.7a6d8d3c.111%40MacBook-Air-de-David.local. >> >> >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > Regards, > Swapnil K. Joshi > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/CAFBccRAbZLCv2-gPn9Q5m-HWWbX5%2BHB6ahE5jaQhGieMjp%2B3Cw%40mail.gmail.com > . > > For more options, visit https://groups.google.com/groups/opt_out. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "elasticsearch" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/elasticsearch/xwKKS_ltv_0/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/etPan.52b41746.32fff902.111%40MacBook-Air-de-David.local > . > > For more options, visit https://groups.google.com/groups/opt_out. > -- Regards, Swapnil K. Joshi -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAFBccRBoOr7mVq6NN4TBroKmwL2PJn81XU%2BNBUZa0LUVFsjiBQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
