Correction, Solr *could*, CF won't.

In short, the CF9 implementation of Solr doesn't tap into all the
goodiness that Solr provides (like defining properly named custom
fields in your collections and much much more).

Solr is awesome. If you have the time for a little learning curve, I'd
highly recommend using Solr directly and wrapping api calls to it in
some component of your making. You'll never look back. Once you're
comfortable creating the custom configurations for collections, you
will have so much more power at your fingertips.

I started writing stuff up but have become swamped since:

http://fusion.dominicwatson.co.uk/2010/12/apache-solr-or-departing-from-confines.html

Hopefully it'll inspire you to take the leap!

D

On 20 July 2011 23:45, Dave Watts <[email protected]> wrote:
>
>> I have a query that I'm using to populate a Solr collection.  This query
>> has about 15 columns in it.  When I call the collection I need to be able
>> to reference these columns individually, just as if I had run the query.
>> But the only way I can figure to do that is to use the "custom" attributes,
>> and the cfindex tag only allows for 4 of those.
>>
>> Is Solr going to be able to do what I want, or am I going to have to try
>> something else?
>
> You're not going to be able to do this, because Solr isn't going to
> preserve the structure of your table. Instead, run your search, then
> fetch the appropriate records from your database using the primary key
> field that you can store within Solr.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> http://training.figleaf.com/
>
> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
> GSA Schedule, and provides the highest caliber vendor-authorized
> instruction at our training centers, online, or onsit
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346309
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to