# Problem when indexing data

**URL:** <https://discuss.elastic.co/t/problem-when-indexing-data/18025>\
**Category:** Elasticsearch\
**Created:** [June 10, 2014, 7:31pm UTC](https://discuss.elastic.co/t/problem-when-indexing-data/18025 "2014-06-10T19:31:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aaliyah](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@Aaliyah](https://discuss.elastic.co/u/Aaliyah)\
**Post date:** [June 10, 2014, 7:31pm UTC](https://discuss.elastic.co/t/problem-when-indexing-data/18025/1 "2014-06-10T19:31:40Z")

</div>

I've already read a lot about installing and setting of elasticsearch. Most  
of them are for non-windosw OS. However, it seems the principle is sort of  
the same thing. So I followed one site  
[http://www.elasticsearchtutorial.com/elasticsearch-in-5-minutes.html#Indexing](http://www.elasticsearchtutorial.com/elasticsearch-in-5-minutes.html#Indexing)

My OS is windows 7. I've downloaded elasticsearch-1.2.1.zip and extracted  
it to C:\elasticsearch. Then ran it bin\elasticsearch and everything worked  
fine.

[https://lh6.googleusercontent.com/-wQsMdVDlveA/U5daKfkt\_jI/AAAAAAAAAFw/2bE0u6XksFY/s1600/1.PNG](https://lh6.googleusercontent.com/-wQsMdVDlveA/U5daKfkt_jI/AAAAAAAAAFw/2bE0u6XksFY/s1600/1.PNG)

But when I started indexing data, then the problem came out.

[image: screenshot 2]  
[https://lh4.googleusercontent.com/-WxchsYQv18g/U5daUyXdypI/AAAAAAAAAF8/aSTIxb1Sxe0/s1600/2.PNG](https://lh4.googleusercontent.com/-WxchsYQv18g/U5daUyXdypI/AAAAAAAAAF8/aSTIxb1Sxe0/s1600/2.PNG)

I googled much about this problem which was often and was answered many  
times. Someone said it might be caused by the single quotation marks. Then  
I tried the other probabilities, but the problem was still there.

[https://lh3.googleusercontent.com/-KfpEvNthGhs/U5dcHzjcK5I/AAAAAAAAAGQ/Qmq3vL63YMk/s1600/3.PNG](https://lh3.googleusercontent.com/-KfpEvNthGhs/U5dcHzjcK5I/AAAAAAAAAGQ/Qmq3vL63YMk/s1600/3.PNG)

[https://lh6.googleusercontent.com/-3RlG5hHaO8A/U5dcXZtZCNI/AAAAAAAAAGc/bJOuEkWbQJA/s1600/4.PNG](https://lh6.googleusercontent.com/-3RlG5hHaO8A/U5dcXZtZCNI/AAAAAAAAAGc/bJOuEkWbQJA/s1600/4.PNG)

Any pointer would be appreciated. Thanks in advance!

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/b3f974af-a53b-4ef9-9f72-368dc10fbaa0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b3f974af-a53b-4ef9-9f72-368dc10fbaa0%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [June 10, 2014, 9:13pm UTC](https://discuss.elastic.co/t/problem-when-indexing-data/18025/2 "2014-06-10T21:13:33Z")

</div>

Just install Cygwin [https://www.cygwin.com/](https://www.cygwin.com/) and leave Windows crappy  
console behind.

Jörg

On Tue, Jun 10, 2014 at 9:31 PM, Aaliyah [zhangqi1221@gmail.com](mailto:zhangqi1221@gmail.com) wrote:

> I've already read a lot about installing and setting of elasticsearch.  
> Most of them are for non-windosw OS. However, it seems the principle is  
> sort of the same thing. So I followed one site  
> [http://www.elasticsearchtutorial.com/elasticsearch-in-5-minutes.html#Indexing](http://www.elasticsearchtutorial.com/elasticsearch-in-5-minutes.html#Indexing)
> 
> My OS is windows 7. I've downloaded elasticsearch-1.2.1.zip and extracted  
> it to C:\elasticsearch. Then ran it bin\elasticsearch and everything worked  
> fine.
> 
> [https://lh6.googleusercontent.com/-wQsMdVDlveA/U5daKfkt\_jI/AAAAAAAAAFw/2bE0u6XksFY/s1600/1.PNG](https://lh6.googleusercontent.com/-wQsMdVDlveA/U5daKfkt_jI/AAAAAAAAAFw/2bE0u6XksFY/s1600/1.PNG)
> 
> But when I started indexing data, then the problem came out.
> 
> [image: screenshot 2]  
> [https://lh4.googleusercontent.com/-WxchsYQv18g/U5daUyXdypI/AAAAAAAAAF8/aSTIxb1Sxe0/s1600/2.PNG](https://lh4.googleusercontent.com/-WxchsYQv18g/U5daUyXdypI/AAAAAAAAAF8/aSTIxb1Sxe0/s1600/2.PNG)
> 
> I googled much about this problem which was often and was answered many  
> times. Someone said it might be caused by the single quotation marks. Then  
> I tried the other probabilities, but the problem was still there.
> 
> [https://lh3.googleusercontent.com/-KfpEvNthGhs/U5dcHzjcK5I/AAAAAAAAAGQ/Qmq3vL63YMk/s1600/3.PNG](https://lh3.googleusercontent.com/-KfpEvNthGhs/U5dcHzjcK5I/AAAAAAAAAGQ/Qmq3vL63YMk/s1600/3.PNG)
> 
> [https://lh6.googleusercontent.com/-3RlG5hHaO8A/U5dcXZtZCNI/AAAAAAAAAGc/bJOuEkWbQJA/s1600/4.PNG](https://lh6.googleusercontent.com/-3RlG5hHaO8A/U5dcXZtZCNI/AAAAAAAAAGc/bJOuEkWbQJA/s1600/4.PNG)
> 
> Any pointer would be appreciated. Thanks in advance!
> 
> --  
> 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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/b3f974af-a53b-4ef9-9f72-368dc10fbaa0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b3f974af-a53b-4ef9-9f72-368dc10fbaa0%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/b3f974af-a53b-4ef9-9f72-368dc10fbaa0%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b3f974af-a53b-4ef9-9f72-368dc10fbaa0%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](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+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHV%2BWHPwLjuczoq14-LxCsF\_Ab4f0BDbcOo\_BbKhKZDSg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHV%2BWHPwLjuczoq14-LxCsF_Ab4f0BDbcOo_BbKhKZDSg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Aaliyah](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@Aaliyah](https://discuss.elastic.co/u/Aaliyah)\
**Post date:** [June 10, 2014, 9:50pm UTC](https://discuss.elastic.co/t/problem-when-indexing-data/18025/3 "2014-06-10T21:50:33Z")

</div>

thanks a lot. Finally it works.

在 2014年6月10日星期二UTC+2下午11时13分41秒，Jörg Prante写道：

> Just install Cygwin [https://www.cygwin.com/](https://www.cygwin.com/) and leave Windows crappy  
> console behind.
> 
> Jörg
> 
> On Tue, Jun 10, 2014 at 9:31 PM, Aaliyah \<[zhang...@gmail.com](mailto:zhang...@gmail.com) \<javascript:\>
> 
> > wrote:
> 
> > I've already read a lot about installing and setting of elasticsearch.  
> > Most of them are for non-windosw OS. However, it seems the principle is  
> > sort of the same thing. So I followed one site  
> > [http://www.elasticsearchtutorial.com/elasticsearch-in-5-minutes.html#Indexing](http://www.elasticsearchtutorial.com/elasticsearch-in-5-minutes.html#Indexing)
> > 
> > My OS is windows 7. I've downloaded elasticsearch-1.2.1.zip and extracted  
> > it to C:\elasticsearch. Then ran it bin\elasticsearch and everything worked  
> > fine.
> > 
> > [https://lh6.googleusercontent.com/-wQsMdVDlveA/U5daKfkt\_jI/AAAAAAAAAFw/2bE0u6XksFY/s1600/1.PNG](https://lh6.googleusercontent.com/-wQsMdVDlveA/U5daKfkt_jI/AAAAAAAAAFw/2bE0u6XksFY/s1600/1.PNG)
> > 
> > But when I started indexing data, then the problem came out.
> > 
> > [image: screenshot 2]  
> > [https://lh4.googleusercontent.com/-WxchsYQv18g/U5daUyXdypI/AAAAAAAAAF8/aSTIxb1Sxe0/s1600/2.PNG](https://lh4.googleusercontent.com/-WxchsYQv18g/U5daUyXdypI/AAAAAAAAAF8/aSTIxb1Sxe0/s1600/2.PNG)
> > 
> > I googled much about this problem which was often and was answered many  
> > times. Someone said it might be caused by the single quotation marks. Then  
> > I tried the other probabilities, but the problem was still there.
> > 
> > [https://lh3.googleusercontent.com/-KfpEvNthGhs/U5dcHzjcK5I/AAAAAAAAAGQ/Qmq3vL63YMk/s1600/3.PNG](https://lh3.googleusercontent.com/-KfpEvNthGhs/U5dcHzjcK5I/AAAAAAAAAGQ/Qmq3vL63YMk/s1600/3.PNG)
> > 
> > [https://lh6.googleusercontent.com/-3RlG5hHaO8A/U5dcXZtZCNI/AAAAAAAAAGc/bJOuEkWbQJA/s1600/4.PNG](https://lh6.googleusercontent.com/-3RlG5hHaO8A/U5dcXZtZCNI/AAAAAAAAAGc/bJOuEkWbQJA/s1600/4.PNG)
> > 
> > Any pointer would be appreciated. Thanks in advance!
> > 
> > --  
> > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/b3f974af-a53b-4ef9-9f72-368dc10fbaa0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b3f974af-a53b-4ef9-9f72-368dc10fbaa0%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/b3f974af-a53b-4ef9-9f72-368dc10fbaa0%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b3f974af-a53b-4ef9-9f72-368dc10fbaa0%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](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+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/9ca0a0ff-8dfb-48d3-88be-2b030292b79d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9ca0a0ff-8dfb-48d3-88be-2b030292b79d%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Aaliyah](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@Aaliyah](https://discuss.elastic.co/u/Aaliyah)\
**Post date:** [June 10, 2014, 9:52pm UTC](https://discuss.elastic.co/t/problem-when-indexing-data/18025/4 "2014-06-10T21:52:32Z")

</div>

thanks a lot. It finally works.

在 2014年6月10日星期二UTC+2下午11时13分41秒，Jörg Prante写道：

> Just install Cygwin [https://www.cygwin.com/](https://www.cygwin.com/) and leave Windows crappy  
> console behind.
> 
> Jörg
> 
> On Tue, Jun 10, 2014 at 9:31 PM, Aaliyah \<[zhang...@gmail.com](mailto:zhang...@gmail.com) \<javascript:\>
> 
> > wrote:
> 
> > I've already read a lot about installing and setting of elasticsearch.  
> > Most of them are for non-windosw OS. However, it seems the principle is  
> > sort of the same thing. So I followed one site  
> > [http://www.elasticsearchtutorial.com/elasticsearch-in-5-minutes.html#Indexing](http://www.elasticsearchtutorial.com/elasticsearch-in-5-minutes.html#Indexing)
> > 
> > My OS is windows 7. I've downloaded elasticsearch-1.2.1.zip and extracted  
> > it to C:\elasticsearch. Then ran it bin\elasticsearch and everything worked  
> > fine.
> > 
> > [https://lh6.googleusercontent.com/-wQsMdVDlveA/U5daKfkt\_jI/AAAAAAAAAFw/2bE0u6XksFY/s1600/1.PNG](https://lh6.googleusercontent.com/-wQsMdVDlveA/U5daKfkt_jI/AAAAAAAAAFw/2bE0u6XksFY/s1600/1.PNG)
> > 
> > But when I started indexing data, then the problem came out.
> > 
> > [image: screenshot 2]  
> > [https://lh4.googleusercontent.com/-WxchsYQv18g/U5daUyXdypI/AAAAAAAAAF8/aSTIxb1Sxe0/s1600/2.PNG](https://lh4.googleusercontent.com/-WxchsYQv18g/U5daUyXdypI/AAAAAAAAAF8/aSTIxb1Sxe0/s1600/2.PNG)
> > 
> > I googled much about this problem which was often and was answered many  
> > times. Someone said it might be caused by the single quotation marks. Then  
> > I tried the other probabilities, but the problem was still there.
> > 
> > [https://lh3.googleusercontent.com/-KfpEvNthGhs/U5dcHzjcK5I/AAAAAAAAAGQ/Qmq3vL63YMk/s1600/3.PNG](https://lh3.googleusercontent.com/-KfpEvNthGhs/U5dcHzjcK5I/AAAAAAAAAGQ/Qmq3vL63YMk/s1600/3.PNG)
> > 
> > [https://lh6.googleusercontent.com/-3RlG5hHaO8A/U5dcXZtZCNI/AAAAAAAAAGc/bJOuEkWbQJA/s1600/4.PNG](https://lh6.googleusercontent.com/-3RlG5hHaO8A/U5dcXZtZCNI/AAAAAAAAAGc/bJOuEkWbQJA/s1600/4.PNG)
> > 
> > Any pointer would be appreciated. Thanks in advance!
> > 
> > --  
> > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/b3f974af-a53b-4ef9-9f72-368dc10fbaa0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b3f974af-a53b-4ef9-9f72-368dc10fbaa0%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/b3f974af-a53b-4ef9-9f72-368dc10fbaa0%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b3f974af-a53b-4ef9-9f72-368dc10fbaa0%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](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+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/886091a5-e667-49fc-bdb7-da653e14d8f2%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/886091a5-e667-49fc-bdb7-da653e14d8f2%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:23am UTC](https://discuss.elastic.co/t/problem-when-indexing-data/18025/5 "2017-07-06T01:23:30Z")

</div>

Closed on July 6, 2017, 1:23am UTC


