I am looking for input on the feasibility of using SOLR with CF8.
I have not done this on CF8 and am looking for possible problems.

Thanks ...
LVL 25
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

James RodgersWeb Applications DeveloperCommented:
Since there is no native processes for Solr and CF8, Solr was introduced in CF9, so form a coding stand point there is quite a bit of coding you would need to do to integrate the two systems.
create cfc's/functions to manage search input and conversion to solr Lucene syntax
create cfc's/functions to manage the returns from solr

balance that code need with the testing, integration time, and code revisions against updating to CF10/11 and the update would be cheaper and, in my opinion, more stable

Can it be done, yes but the amount of time spent in doing it could easily be offset with the purchase of updated software

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dgrafxAuthor Commented:
Thanks for the post!
Can you provide a link or two that discus the native processes (SOLR & CF9) that you refer to so I can research.
Also something that points to your other 2 points so I can educate myself as well.
1. create cfc's/functions to manage search input and conversion to solr Lucene syntax
2. create cfc's/functions to manage the returns from solr
I am not familiar with the conversion that takes place.

James RodgersWeb Applications DeveloperCommented:
some resources

cf still uses the cfindex and cfsearch tags as normal when interacting with the cf version of solr, solr is installed with cf as of 9.01(?) to replace verity

if you use cf8 you would need to code the interactions between cf and solr, as of the solr inclusion in cf, the system takes care of about 90% of those interactions with the remaining parts being custom code/search changes.

you can use the cfsearch tag or do it like this

Open in new window

the cftags make it much easier, particularly when you move on to paging, search within and highlighting.

            collection = "collectioncrawlpublic" 
            name = "SEARCH_DOCS_MEMBERS" 
            contextHighlightBegin = '<span style="background-color:yellow">' 
            contextHighlightEnd = "</span>"
            contextPassages = "4" 
            criteria = "#session.sSearchCriteria#" 
            status = "structSearchPublic" 
            suggestions = "10" 

Open in new window

HTML5 and CSS3 Fundamentals

Build a website from the ground up by first learning the fundamentals of HTML5 and CSS3, the two popular programming languages used to present content online. HTML deals with fonts, colors, graphics, and hyperlinks, while CSS describes how HTML elements are to be displayed.

dgrafxAuthor Commented:
Thanks - let me review those links ...
dgrafxAuthor Commented:
Thanks for the help!
James RodgersWeb Applications DeveloperCommented:
are you going with an upgrade or integration of solr into cf8?
dgrafxAuthor Commented:
I'm actually just researching this.
The company has plans for CF 10 having nothing to do with this issue.
James RodgersWeb Applications DeveloperCommented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ColdFusion Language

From novice to tech pro — start learning today.