On 4/18/07, solruser <[EMAIL PROTECTED]> wrote:
The root of the problem is that your "integer" field did not have an
integer in it.
Did you change the type of the schema after you indexed the data? If
so, start over.
The other possibility is that when you added the data, you put in a
non
t is the fieldType of field pk_i? Could you post the field
> definition of *_i and it's corresponding fieldType?
>
> You could also verify the problem with the following direct query (and
> look for a correct value of pk_i):
> http://localhost:8983/solr/select?q=(amit) AND
> type_t:Post&wt=ruby&fl=pk_i&indent=on
>
> -Yonik
>
>
--
View this message in context:
http://www.nabble.com/Error-when-try-to-find_by_solr-tf3602498.html#a10066458
Sent from the Solr - User mailing list archive at Nabble.com.
On 4/18/07, solruser <[EMAIL PROTECTED]> wrote:
Below is the error the I received when I tried to query the solr using
find_by_solr. below bold shows where I output the response header from the
solr server
>> Post.find_by_solr("amit")
query "(amit) AND type_t:Post"
response
"{'responseHeader'=>{
ess_query'
from
./script/../config/../config/../vendor/plugins/acts_as_solr/lib/class_methods.rb:38:in
`find_by_solr'
from (irb):6On Apr 12, 5:00 pm, "amit" <[EMAIL PROTECTED]> wrote:
Can someone help me why is this an issue.
TIA
amit
--
View this message in context:
http://www.nabble.com/Error-when-try-to-find_by_solr-tf3602498.html#a10063747
Sent from the Solr - User mailing list archive at Nabble.com.