Hi

I am new acts_as_solr plug in and exploring the plug in potential.
I tried to experiment the plug in with existing table having primary
key as string. Earlier it failed to get me correct results and
complain for primary not to be integer. Thereafter I modified model
solr_configuration

Model.solr_configuration  =  { :type_field =>
"type_t", :primary_key_field => "pk_s" }.

Now, I can now query the index and get the results for find_id_by_solr
gets me the desired results.

Meanwhile running the same query with find_by_solr  always returns
duplicated model record across the array. I am not sure what am I
missing to get such kind of results.
-dev

Reply via email to