dgrafx
asked on
SOLR on CF8
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 ...
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 ...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
the cftags make it much easier, particularly when you move on to paging, search within and highlighting.
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
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"
>
ASKER
Thanks - let me review those links ...
ASKER
Thanks for the help!
are you going with an upgrade or integration of solr into cf8?
ASKER
I'm actually just researching this.
The company has plans for CF 10 having nothing to do with this issue.
Thanks
The company has plans for CF 10 having nothing to do with this issue.
Thanks
Perfect!
ASKER
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