?
Solved

SOLR on CF8

Posted on 2014-11-04
8
Medium Priority
?
135 Views
Last Modified: 2014-11-06
Hello
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.
Insight?

Thanks ...
0
Comment
Question by:dgrafx
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 25

Accepted Solution

by:
James Rodgers earned 2000 total points
ID: 40423745
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
0
 
LVL 25

Author Comment

by:dgrafx
ID: 40424202
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.

Thanks
0
 
LVL 25

Expert Comment

by:James Rodgers
ID: 40424671
some resources
https://wiki.apache.org/solr/SolrQuerySyntax
http://wiki.apache.org/solr/CommonQueryParameters
http://lucene.apache.org/core/2_9_4/queryparsersyntax.html
http://www.solrtutorial.com/solr-query-syntax.html

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
http://localhost:8985/solr/collectioncrawlpublic/select?q=#session.sSearchCriteria#&fl=*,score&wt=csv&rows=250

Open in new window


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

<cfsearch  
            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

0
How to Create Failover DNS Record Sets in Route 53

Route 53 has the ability to easily configure DNS record sets specifically for failover scenarios. These failover record sets can be configured to failover to full-blown deployments in other regions or to a static HTML page that informs your customers of the issue.

 
LVL 25

Author Comment

by:dgrafx
ID: 40424715
Thanks - let me review those links ...
0
 
LVL 25

Author Closing Comment

by:dgrafx
ID: 40425433
Thanks for the help!
0
 
LVL 25

Expert Comment

by:James Rodgers
ID: 40425922
are you going with an upgrade or integration of solr into cf8?
0
 
LVL 25

Author Comment

by:dgrafx
ID: 40426406
I'm actually just researching this.
The company has plans for CF 10 having nothing to do with this issue.
Thanks
0
 
LVL 25

Expert Comment

by:James Rodgers
ID: 40426664
Perfect!
0

Featured Post

What is a Denial of Service (DoS)?

A DoS is a malicious attempt to prevent the normal operation of a computer system. You may frequently see the terms 'DDoS' (Distributed Denial of Service) and 'DoS' used interchangeably, but there are some subtle differences.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

PROBLEM: How to add your own buttons to the bottom toolbar with paging info ( result count ). While creating a cfgrid, I ran into an issue where I wanted to embed my own custom buttons where the default ones ( insert / delete / etc… ) are for aes…
Today, I was working on some optimization and spam-stopping techniques when I encountered Ben Nadel's post to reduce spam feature using Math (http://www.bennadel.com/blog/197-How-I-Stop-Spammers-On-My-ColdFusion-Blog.htm). While this method is not o…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses
Course of the Month12 days, 19 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question