Re: Keep having error on "unknown field"

2007-06-14 Thread Tiong Jeffrey
arh! i spent 6-7 hours on this error and didnt see this! thanks! On 6/15/07, Yonik Seeley <[EMAIL PROTECTED]> wrote: On 6/14/07, Tiong Jeffrey <[EMAIL PROTECTED]> wrote: > The error is - > "SEVERE: org.apache.solr.core.SolrException: ERROR:unknown field 'name&#

Keep having error on "unknown field"

2007-06-14 Thread Tiong Jeffrey
Hi, When I tried to use jetty to index my xml, i kept getting the following error even though I have defined properly in the schema.xml. The error is - "SEVERE: org.apache.solr.core.SolrException: ERROR:unknown field 'name'..." In my schema, it was defined like this - " " The only differe

Re: To make sure XML is UTF-8

2007-06-12 Thread Tiong Jeffrey
is to make sure that mysql doesn't convert it to latin1 while storing the data and the client setting is to ensure that the data is not converted while accessing - going in or coming out from the server. Ajanta. Tiong Jeffrey wrote: > Ya you are right! After I change it to UTF-8 the erro

Re: To make sure XML is UTF-8

2007-06-09 Thread Tiong Jeffrey
Ya you are right! After I change it to UTF-8 the error still there... I looked at the log, this is what it appears, 127.0.0.1 - - [10/06/2007:03:52:06 +] "POST /solr/update HTTP/1.1" 500 4022 I tried to search but couldn't understand what error is this, anybody has any idea on this? Thank

Re: How to use SolrQuery PHP

2007-06-09 Thread Tiong Jeffrey
'); so that it points to your solr server? (Which is most likely define('SOLR_META_QUERY', 'localhost:8983'); -Nick On 6/10/07, Tiong Jeffrey <[EMAIL PROTECTED]> wrote: > Hi all, > > I am trying to send a query to Solr from my PHP script and retrieve the >

How to use SolrQuery PHP

2007-06-09 Thread Tiong Jeffrey
Hi all, I am trying to send a query to Solr from my PHP script and retrieve the results. I found this script on the wiki http://wiki.apache.org/solr/SolPHP I tried to use it but I guess I didn't use it correctly, there wasn't any result appear (blank). Below is my simple code to use the Solrquer

Re: To make sure XML is UTF-8

2007-06-09 Thread Tiong Jeffrey
This is how the whole process looks like - 1. I have a web page that I want to index. So I first copy that web page, breaking it down to different section, and store it in mysql into different column 2. I then wrote a small PHP script that draw all the value from all the fields from mysql and the

To make sure XML is UTF-8

2007-06-08 Thread Tiong Jeffrey
Hi, Thought this is not directly related to Solr, but I have a XML output from mysql database, but during indexing the XML output is not working. And the problem is part of the XML output is not in UTF-8 encoding, how can I convert it to UTF-8 and how do I know what kind of coding it uses in the

Cannot index '&' this character using post.jar

2007-06-08 Thread Tiong Jeffrey
Hi all, I tried to index a document that has '&' using post.jar. But during the indexing it causes error and it wont finish the indexing. Can I know why is this and how to prevent this? Thanks! Jeffrey