Re: Error in indexing JSON with space in value

2018-03-22 Thread Zheng Lin Edwin Yeo
Thanks for the input. I have got this to work by using cygwin. Regards, Edwin On 23 March 2018 at 07:04, Chris Hostetter wrote: > : > : Ah, there's the extra bit of context: > : > PS C:\curl> .\curl ' > : > : You're using Windows perhaps? If so, it's probably a shell issue > : getting all of

Re: Error in indexing JSON with space in value

2018-03-22 Thread Zheng Lin Edwin Yeo
Yes, I'm running this on Windows, using Windows Powershell "curl" command. Will try out other tools like cygwin. Thanks you. Regards, Edwin On 23 March 2018 at 06:52, Yonik Seeley wrote: > Ah, there's the extra bit of context: > > PS C:\curl> .\curl ' > > You're using Windows perhaps? If so

Re: Error in indexing JSON with space in value

2018-03-22 Thread Chris Hostetter
: : Ah, there's the extra bit of context: : > PS C:\curl> .\curl ' : : You're using Windows perhaps? If so, it's probably a shell issue : getting all of the data to the "curl" command. Yep.. and you cna even see in the trace output that curl thinks the entire JSON payload you want to send is 2

Re: Error in indexing JSON with space in value

2018-03-22 Thread Yonik Seeley
Ah, there's the extra bit of context: > PS C:\curl> .\curl ' You're using Windows perhaps? If so, it's probably a shell issue getting all of the data to the "curl" command. Something like cygwin or WSL (Windows Subsystem for Linux) may make your life easier. -Yonik On Thu, Mar 22, 2018 at 6:45

Re: Error in indexing JSON with space in value

2018-03-22 Thread Zheng Lin Edwin Yeo
Thanks for your reply. This is the curl command that I run, with the "--trace -" output. PS C:\curl> .\curl 'http://localhost:8983/solr/collection1/update/json/docs? split=/|/orgs ' -H 'Content-type:application/j son' -d ' {

Re: Error in indexing JSON with space in value

2018-03-22 Thread Zheng Lin Edwin Yeo
Thanks for your reply. PS C:\curl> .\curl ' http://localhost:8983/edm/emails6/update/json/docs?split=/|/orgs' -H 'Content-type:application/j son' -d ' { "id":"1", "name_s": "Joe Smith", "phone_s": 876876687, "orgs": [ { "name1_s": "Microsoft", "city_s": "Seattle",

Re: Error in indexing JSON with space in value

2018-03-22 Thread Yonik Seeley
It looks like a curl globbing issue from the curl error message you included: "curl: (3) [globbing] bad range specification in column 39" You can try turning off curl globbing with the -g param. That may not be the only issue though, as the command shown shouldn't have triggered curl globbing. Pe

Re: Error in indexing JSON with space in value

2018-03-22 Thread Shawn Heisey
On 3/22/2018 9:48 AM, Zheng Lin Edwin Yeo wrote: > I am trying to index the following JSON, in which there is a space in the > name "Joe Smith". > > .\curl 'http://localhost:8983/solr/collection/update/json/docs?split=/|/orgs > ' > -H 'Content-type:application/json' -d ' > { > "id":"1", > "

Re: Error in indexing JSON with space in value

2018-03-22 Thread Chris Hostetter
ache.solr.common.SolrException", "root-error-class","org.apache.solr.common.SolrException"], "msg":"Raw data can be stored only if split=/", "code":400}} Are you *certain* it was a plain old space character, and that yo

Error in indexing JSON with space in value

2018-03-22 Thread Zheng Lin Edwin Yeo
Hi, I am trying to index the following JSON, in which there is a space in the name "Joe Smith". .\curl 'http://localhost:8983/solr/collection/update/json/docs?split=/|/orgs ' -H 'Content-type:application/json' -d ' { "id":"1", "name_s": "Joe Smith", "phone_s": 876876687, "orgs": [

Re: error in indexing

2012-02-03 Thread Chris Hostetter
: Subject: Re: error in indexing FWIW: it's really crucial to state which version of Solr you are using when you have bugs with error stack traces like this -- going back through the versions i'm *guessing* that you are using Solr 1.4.1 (or possibly older), correct? Based on that

Re: error in indexing

2012-02-03 Thread Erick Erickson
M, leonardo2 wrote: > Someone can help me? > > Leonardo > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/error-in-indexing-tp3709686p3712495.html > Sent from the Solr - User mailing list archive at Nabble.com.

Re: error in indexing

2012-02-03 Thread leonardo2
Someone can help me? Leonardo -- View this message in context: http://lucene.472066.n3.nabble.com/error-in-indexing-tp3709686p3712495.html Sent from the Solr - User mailing list archive at Nabble.com.

error in indexing

2012-02-02 Thread leonardo2
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) Leonardo -- View this message in context: http://lucene.472066.n3.nabble.com/error-in-indexing-tp3709686p3709686.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Error in indexing timestamp format.

2008-11-19 Thread con
Hi Noble Thanks for your update. Sorry, that's a typo that I put same name for both soure and dest. Actually i failed to removed it at some stage of trial and error. I removed the copyfield as it is not fully necessary at this stage. My scenario is like: I have various date fields in my databa

Re: Error in indexing timestamp format.

2008-11-19 Thread con
ion.java:94) >>>>at >>>> org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) >>>>at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) >>>>at >>>> org.jboss.mx.interceptor.ModelMB

Re: Error in indexing timestamp format.

2008-11-18 Thread con
odelMBeanOperationInterceptor.java:142) >>at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) >>at >> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) >>at >> org.jboss.mx.server.MBeanServerImpl.invoke(M

Re: Error in indexing timestamp format.

2008-11-18 Thread con
; > >>>> > >>>> > On Tue, Nov 18, 2008 at 3:53 PM, con <[EMAIL PROTECTED]> wrote: >>>> >> >>>> >> Hi Guys >>>> >> I have timestamp fields in my database in the

Re: Error in indexing timestamp format.

2008-11-18 Thread Noble Paul നോബിള്‍ नोब्ळ्
>> >> But I think the since the solr date format is different, i am unable >>> to >>> >> index the document with the solr.DateField. >>> >> So is there any option by which I can give my timestamp format

Re: Error in indexing timestamp format.

2008-11-18 Thread con
> i have already setup solr and is working fine for other datatypes. >> >> So is it possible to set this new date format in some config files. >> >> >> >> Expecting suggestions/advices >> >> Thanks in advance >> >> con >> >> -- &

Re: Error in indexing timestamp format.

2008-11-18 Thread Shalin Shekhar Mangar
y timestamp format to solr > >> and > >> index and search data based on that. > >> i have already setup solr and is working fine for other datatypes. > >> So is it possible to set this new date format in some config files. > >> > >> Expecting suggest

Re: Error in indexing timestamp format.

2008-11-18 Thread con
solr >> and >> index and search data based on that. >> i have already setup solr and is working fine for other datatypes. >> So is it possible to set this new date format in some config files. >> >> Expecting suggestions/advices >> Thanks in ad

Re: Error in indexing timestamp format.

2008-11-18 Thread Noble Paul നോബിള്‍ नोब्ळ्
> So is it possible to set this new date format in some config files. > > Expecting suggestions/advices > Thanks in advance > con > -- > View this message in context: > http://www.nabble.com/Error-in-indexing-timestamp-format.-tp20556862p20556862.html > Sent from the Sol

Error in indexing timestamp format.

2008-11-18 Thread con
/Error-in-indexing-timestamp-format.-tp20556862p20556862.html Sent from the Solr - User mailing list archive at Nabble.com.