Re: Jetty for production?

2006-11-12 Thread Panayiotis Papadopoulos
Personally i have deployed SOLR within a PHP, AJAX framework I just have just deployed Jetty for SOLR and i created a PHP wrapper so that i can send XML docs to SOLR and returns JSON. Besides that i have filtered the traffic to Jetty and only the PHP wrapper can access it. So it is super easy,

Query and UTF8

2006-10-23 Thread Panayiotis Papadopoulos
Hi everyone, i have the following problem... i use UTF-8 and my solr is deployed with the aid of jetty So far i have no problem with UTF-8 in the sense than i can store anything and then it is displayed properly the problem is when i want to retrieve according to a text field which is not encod

Re: Couple of problems

2006-10-11 Thread Panayiotis Papadopoulos
How do you post the documents to solr ? Via php, jsp or smth like that ? Then if u use curl from php or jsp or asp you can see the error that solr returns, in php using curl i found out the error using this... $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$url); curl_setopt($ch, CURLOPT_RETUR

Re: Couple of problems

2006-10-11 Thread Panayiotis Papadopoulos
Check the tomcat logs... most probably there is a conflict with the field definitions in your schema.xml

Re: Solr Newbie question: doubts about how to handle html content

2006-10-05 Thread Panayiotis Papadopoulos
I think is not the best approach you can have... And there is no need to index code since there are no results of any use... Personally i would index the pure text and keep in a database the code plus an id so my db would like let 's say id text text+code so i would send to lucene id + text

index different doc types

2006-10-04 Thread Panayiotis Papadopoulos
So Chris let 's assume i use the bundled example with jetty... I could clean up the index there is the example and start my own ... In that case i just send different doc types and it is done ? Cos if remember well all docs have an field or i can add an extra field like y, y ... So when i ll b

Re: I think i got right...

2006-10-04 Thread Panayiotis Papadopoulos
ok the i will try everything related to Tomcat permission and i would tell you if everything fails then i guess i cna modify the bundled example but in that case how i can index 4 different xml docs, i ll have to run 4 jettys/solr ? anyway i really really want to thank you because u have done

Re: I think i got right...

2006-10-03 Thread Panayiotis Papadopoulos
It is not bundled tomcat. I have downloaded form apache jakarta site, the version i use is 5.5.20 So the excpetions i get are: When i try to visit solr/admin or solr_r/admin or one of the other as i have configured i get: java.io.FileNotFoundException: /usr/lib/apache-tomcat-5.5.20/work/Cat

Re: [Newbie] Solr Setup

2006-10-03 Thread Panayiotis Papadopoulos
besides the admin module that thorws an exception (i ll post it later on) when i try to visit solr or solr_p solr_r (as i have configured in context fragments) i always get 404 http://www.freemail.gr - äùñåÜí õðçñåóßá çëåêôñïí

Re: I think i got right...

2006-10-03 Thread Panayiotis Papadopoulos
According to this example: it seems that it does not matter but i also put it in webapps besides in the wiki it says that when u use fragments it says clearly: " Don't put anything related to solr under the webapps directory. " __

I think i got right...

2006-10-03 Thread Panayiotis Papadopoulos
Hi there again, sorry for bugging you once more... So i executed the bandled example and know i did the following in Tomcat once again: * Tomcat is set correctly and there is not solr/ neither solr.war in webapps * I copied solr.war in /lib/solr.war * As the tutorial says i created $CATALINA_H

Re: [Newbie] Solr Setup

2006-10-03 Thread Panayiotis Papadopoulos
but it plays on Linux so i ll focus on that... So my question now it will be if i can modify the example to server my needs ... As i said i want to index 4 tables so i ll have to run 4 instances of the same example ? Starting 4 Jettys or there is any smarter way ?

Re: [Newbie] Solr Setup

2006-10-03 Thread Panayiotis Papadopoulos
It prompts for HTTP authorization asking for password for Admin Realm http://www.freemail.gr - äùñåÜí õðçñåóßá çëåêôñïíéêïý ôá÷õäñïìåßïõ. http://www.freemail.gr - free email service for the Greek-speaking.

Re: [Newbie] Solr Setup

2006-10-02 Thread Panayiotis Papadopoulos
I ve have alreay followed the instructions for Tomcat installatin from wiki but no success but i have not executed the self contained demo... I try to execute it but is asks from Admin authorization on my win laptop... And i cannot figure why it does so ? Or where should i change the user and p

Re: [Newbie] Solr Setup

2006-10-02 Thread Panayiotis Papadopoulos
I have understood thas solr home is not within the webapp directory but how do i tell tomcat where is it ? As i said i tried java -Dsolr.solr.home=/wherver/solr/could/be but without success? Does anyone know how i can do it usind JNDI or somehting else ? Besides where should i put the schema an

[Newbie] Solr Setup

2006-10-02 Thread Panayiotis Papadopoulos
Hi everyone, i just discovered Solr and tried to setup today but without any success altough i read many of previous posts in the mailing list... I did what i was supposed to do namely: * Install jdk 1.5 (on ubuntu) * Install tomcat * Copied solr.war in webapps where solr directory was copied aft