exception with xml file processing

2010-12-26 Thread xu cheng
hi all: I use solr to index my documents, and I put my text in a cdata segment.however, solr always throws an exception complaining about thexml file processing . It seems that I can still index the document successfully!!!(actually , I'm not sure about cos there are pretty too many document!)

Re: about the string type field, will it be analyzed?

2010-11-24 Thread xu cheng
btw I only define an analyzer for the fieldType text,no string 2010/11/25 xu cheng > hi all: > I have a solr app, and there is* a filed named filePath *whose type is * > string* > and the filePath fields in the documents are* unique* (supposed to be > uniqued) > cos filePath

about the string type field, will it be analyzed?

2010-11-24 Thread xu cheng
hi all: I have a solr app, and there is* a filed named filePath *whose type is * string* and the filePath fields in the documents are* unique* (supposed to be uniqued) cos filePath and now I wanna query with this field, it find nothing. I just wonder whether the field defined as a string type will

Re: sort desc and out of memory exception

2010-11-21 Thread xu cheng
thanks for replying but when it's sort with asc, it runs pretty well only if I sort with desc , it has the out o f memory exception 2010/11/17 Peter Karich > You are applying the sort against a (tokenized) text field? > You should better sort against a number or a string. Probably using the >

sort desc and out of memory exception

2010-11-16 Thread xu cheng
hi all: I configure a solr application and there is a field of type text,and some kind like this 123456, that is a string of number and I wanna solr to sort the result on this field however, when I use sort asc , it works perfectly ,and when I sort it with desc, the application became unacceptabll

Re: encoding messy code

2010-11-16 Thread xu cheng
hi: the problem lies in the web server that interact with the solr server. and after some transformation, it works now thanks 2010/11/16 Peter Karich > Am 16.11.2010 07:25, schrieb xu cheng: > > hi all: >> I configure an app with solr to index documents >> and there are

encoding messy code

2010-11-15 Thread xu cheng
hi all: I configure an app with solr to index documents and there are some Chinese content in the documents and I've configure the apache tomcat URIEncoding to be utf-8 and I use the program curl to sent the documents in xml format however , when I query the documents, all the Chinese content becom

Re: How can I delete the entire contents of the index?

2010-09-22 Thread xu cheng
the query that fetch the data you wanna delete I did like this to delete my data best regards 2010/9/23 Igor Chudov > Let's say that I added a number of elements to Solr (I use > Webservice::Solr as the interface to do so). > > Then I change my mind and want to delete them all. > > How can I del