CFSearch in Lucee

I am probably one of the few developers who used the old Verity search
engine (pre-CF9). I have since updated my searches to use http to
localhost port 8983 to get the results I need from solr. I’m now starting
to work with Lucee and find that the URL ‘http://localhost:8983/solr/…’
reports the error ‘file or directory Connection Failure not exist’.
(CFSearch works, but the results are incomplete/inadequate.)

What is this error, and how do I go about fixing it?

I could be wrong as I’ve never used cfsearch or Solr with Railo or Lucee
but I don’t think Lucee comes with Solr. So as the error says, it’s failing
to connect because it doesn’t exist. You could simply install Solr
separately I guess using the download link on the Solr site (
http://lucene.apache.org/solr/). Again not having used it before but at a
guess you might need to configure it to be on that particular port during
or after installing it, if that is not the default or standard port on
which it installs.

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.orgOn 17 June 2015 at 19:00, Marilou Landes <@Marilou_Landes> wrote:

I am probably one of the few developers who used the old Verity search
engine (pre-CF9). I have since updated my searches to use http to
localhost port 8983 to get the results I need from solr. I’m now starting
to work with Lucee and find that the URL ‘http://localhost:8983/solr/…’
reports the error ‘file or directory Connection Failure not exist’.
(CFSearch works, but the results are incomplete/inadequate.)

What is this error, and how do I go about fixing it?


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/cc814d9b-9d94-4303-a753-176e6228023b%40googlegroups.com
https://groups.google.com/d/msgid/lucee/cc814d9b-9d94-4303-a753-176e6228023b%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

While I understand that the “direct-to-solr” search won’t work any more, I
would like to use the tag until we get elastic search going.
Here’s what I’ve found…
IF I search using <cfsearch criteria=‘biologist’… I have one record
returned, with “CONTEXT” information.
IF I search using <cfsearch criteria='biologist’*… I have 5 records
returned, with empty “CONTEXT” information.
IF I search using <cfsearch criteria=‘biologist~’… I have 23 records
returned, with empty “CONTEXT” information.

I understand the differences among the 3 searches; I don’t understand why
the CONTEXT information is missing?

Again, thanks for any insight you can provide.On Wednesday, June 17, 2015 at 1:00:27 PM UTC-5, Marilou Landes wrote:

I am probably one of the few developers who used the old Verity search
engine (pre-CF9). I have since updated my searches to use http to
localhost port 8983 to get the results I need from solr. I’m now starting
to work with Lucee and find that the URL ‘http://localhost:8983/solr/…’
reports the error ‘file or directory Connection Failure not exist’.
(CFSearch works, but the results are incomplete/inadequate.)

What is this error, and how do I go about fixing it?

Hi, looking for search engine set up on Lucee.
Could you explain what is needed to create a collection in Lucee admin ?
how to do it.
And what is needed to get a search engine working. ( Lucene (v2.4
IIRC). )

Migrating from Coldfusion (with Verity) , I need an equivalent working with
same CFL coding.

Thanks for any help.
Pierre.Le jeudi 18 juin 2015 00:03:05 UTC+2, Igal a écrit :

nope. you’re not wrong.

Lucee does not come with Solr. it comes with an old version of Lucene
(v2.4 IIRC). Lucene is the Java library that powers Solr and
ElasticSearch, but it works more like the old Verity search.

I strongly recommend using ElasticSearch instead of either of the
alternatives: https://www.elastic.co/

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/
On 6/17/2015 2:49 PM, Andrew Dixon wrote:

I could be wrong as I’ve never used cfsearch or Solr with Railo or Lucee
but I don’t think Lucee comes with Solr. So as the error says, it’s failing
to connect because it doesn’t exist. You could simply install Solr
separately I guess using the download link on the Solr site (
http://lucene.apache.org/solr/). Again not having used it before but at a
guess you might need to configure it to be on that particular port during
or after installing it, if that is not the default or standard port on
which it installs.

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.org

On 17 June 2015 at 19:00, Marilou Landes <marilou...@gmail.com <javascript:>> wrote:

I am probably one of the few developers who used the old Verity search
engine (pre-CF9). I have since updated my searches to use http to
localhost port 8983 to get the results I need from solr. I’m now starting
to work with Lucee and find that the URL ‘http://localhost:8983/solr/…’
reports the error ‘file or directory Connection Failure not exist’.
(CFSearch works, but the results are incomplete/inadequate.)

What is this error, and how do I go about fixing it?


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>
.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/cc814d9b-9d94-4303-a753-176e6228023b%40googlegroups.com
https://groups.google.com/d/msgid/lucee/cc814d9b-9d94-4303-a753-176e6228023b%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/CAG1WijUTGPBsBDFNSNnshpZv4U5Vyz3x%3DMVXLZ4oRxsa7wXU7Q%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG1WijUTGPBsBDFNSNnshpZv4U5Vyz3x%3DMVXLZ4oRxsa7wXU7Q%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.