Re: Multi-language indexing and searching

2007-06-09 Thread Henrib
Hi Daniel, Trying to recap: you are indexing documents that can be in different language. On the query side, users will only search in one language at a time & get results in that language. Setting aside the webapp deployment problem, the alternative is thus: option1: 1 schema will all fields of

Re: How can I use dates to boost my results?

2007-06-09 Thread Nick Jenkin
Hi Daniel You can use a boosting function, In the dismax request handler insert the following: recip(rord(created),1,1000,1000) Obviously you will need to modify the values a bit, more info here: http://wiki.apache.org/solr/FunctionQuery -Nick On 6/9/07, Daniel Alheiros <[EMAIL PROTE

Re: Wildcards / Binary searches

2007-06-09 Thread Frédéric Glorieux
Hi Chris, The skills on this list are really very stimulating. I'm sad but I will probably not be able to contribute. Solr may not be the choosen technology of the project I'm working on, because of server administration issues (java). I know that there is no performances arguments (lucene is

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

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 Ken Krugler
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

Re: How to use SolrQuery PHP

2007-06-09 Thread Nick Jenkin
Hi Tiong My suggestion would be to write your own using the SolrQuery script as a guide. But did you change define('SOLR_META_QUERY', '127.0.0.1:8080'); 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 <[EMA

Re: To make sure XML is UTF-8

2007-06-09 Thread Nick Jenkin
2. I then wrote a small PHP script that draw all the value from all the fields from mysql and then write it into an xml file You might find the utf8_encode & utf8_decode php functions useful, http://nz2.php.net/utf8_encode http://nz2.php.net/utf8_decode $utf8string = utf8_encode($row['column'])

Re: To make sure XML is UTF-8

2007-06-09 Thread Chris Hostetter
: way during indexing is - "FATAL: Connection error (is Solr running at : http://localhost/solr/update : ?): java.io.IOException: Server returned HTTP Response code: 500 for URL: : http://local/solr/update"; : 4.Although the error code doesnt specify is XML utf-8 code error, but I did : a bit resea

Re: Wildcards / Binary searches

2007-06-09 Thread Chris Hostetter
: It could be a useful request handler ? Giving a field, with a perhaps, but as i said -- i think it requires more then just a special request handler, you want a special index as well. FYI: there is an ongoing thread on this general topic on the java-user list, i didn't have the time/energy to

Re: How to use SolrQuery PHP

2007-06-09 Thread Tiong Jeffrey
Yes I did that. Ya, maybe I should study the code in detailed! Thanks! On 6/10/07, Nick Jenkin <[EMAIL PROTECTED]> wrote: Hi Tiong My suggestion would be to write your own using the SolrQuery script as a guide. But did you change define('SOLR_META_QUERY', '127.0.0.1:8080'); so that it points t

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: Wildcards / Binary searches

2007-06-09 Thread Frédéric Glorieux
Chris Hostetter a écrit : : It could be a useful request handler ? Giving a field, with a perhaps, but as i said -- i think it requires more then just a special request handler, you want a special index as well. FYI: there is an ongoing thread on this general topic on the java-user list, i didn