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
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
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
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
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
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
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
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'])
: 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
: 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
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
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
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
13 matches
Mail list logo