Search engine in Lucee

I am looking for search engine set up on Lucee.
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). is that supplied with Lucee ? )

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

This functionnality is a must for migration.

Thanks for any help or information.
Pierre.

Thanks for answer.
I do not have the : Search on the left hand menu
Search option is not present.

Is there something to do at Lucee install ? or Lucee version ? (I have the
last V4)

And is the Lucene search engine installed by default ?

Pierre.Le mardi 31 mai 2016 18:31:41 UTC+2, Denard Springle a écrit :

Hey Pierre,

You can create collections in the admin under Settings -> Search on the
left hand menu. From there you enter the name of the collection, it’s path
on the server and select a language for the search. You could also create
them programatically using cfcollection (http://cfdocs.org/cfcollection)
if you prefer (which is typically what I do for app portability).

From there, all other search function work pretty much the same as they
do in ACF (e.g. http://cfdocs.org/cfsearch,
http://docs.lucee.org/reference/tags/search.html).

Let us know if you have any more questions!

– Denny

Hey Pierre,

You can create collections in the admin under Settings -> Search on the
left hand menu. From there you enter the name of the collection, it’s path
on the server and select a language for the search. You could also create
them programatically using cfcollection (http://cfdocs.org/cfcollection) if
you prefer (which is typically what I do for app portability).

From there, all other search function work pretty much the same as they
do in ACF (e.g. http://cfdocs.org/cfsearch,
http://docs.lucee.org/reference/tags/search.html).

Let us know if you have any more questions!

– Denny

Are you looking in the server or web administrator? Search is per context, therefore in your web admin.

Regards

Mark Drew> On 31 May 2016, at 18:05, Pierre Larde <@Pierre_Larde> wrote:

Thanks for answer.
I do not have the : Search on the left hand menu
Search option is not present.

Is there something to do at Lucee install ? or Lucee version ? (I have the last V4)

And is the Lucene search engine installed by default ?

Pierre.

Le mardi 31 mai 2016 18:31:41 UTC+2, Denard Springle a écrit :
Hey Pierre,

You can create collections in the admin under Settings -> Search on the left hand menu. From there you enter the name of the collection, it’s path on the server and select a language for the search. You could also create them programatically using cfcollection (http://cfdocs.org/cfcollection http://cfdocs.org/cfcollection) if you prefer (which is typically what I do for app portability).

From there, all other search function work pretty much the same as they do in ACF (e.g. http://cfdocs.org/cfsearch http://cfdocs.org/cfsearch, http://docs.lucee.org/reference/tags/search.html http://docs.lucee.org/reference/tags/search.html).

Let us know if you have any more questions!

– Denny


Win a ticket to dev.objective from Lucee via Twitter, see http://bit.ly/1UbTMWj http://bit.ly/1UbTMWj for details, good luck and see you there…

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 mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com mailto:lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/b5f231bf-a027-430a-81f8-e1db839721a9%40googlegroups.com https://groups.google.com/d/msgid/lucee/b5f231bf-a027-430a-81f8-e1db839721a9%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.

A Web-Context is created by the Servlet Container (e.g. Tomcat) for each
Host Context that is defined in Tomcat/conf/server.xml, so you can think
of it as a “each created site”, but technically speaking a Web Context
could host multiple sites so if you want to defined it accurately then
it’s not per-site per-se.

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/On 5/31/2016 12:50 PM, Pierre Larde wrote:

OK, good.
effectivly , i did not look in the web admin. I got it now.
I do not understand well the web context versus the server context.
Is the web context linked for each created site ?
Thanks, I will practice this.
Pierre.

Le mardi 31 mai 2016 19:09:04 UTC+2, Mark Drew a écrit :

Are you looking in the server or web administrator? Search is per
context, therefore in your web admin.

Regards

Mark Drew
On 31 May 2016, at 18:05, Pierre Larde <pie...@pl-arts.com <javascript:>> wrote:

Thanks for answer.
I do not have the : Search on the left hand menu
Search option is not present.

Is there something to do at Lucee install ? or Lucee version ? (I
have the last V4)

And is the Lucene search engine installed by default ?

Pierre.


Le mardi 31 mai 2016 18:31:41 UTC+2, Denard Springle a écrit :

    Hey Pierre,

       You can create collections in the admin under Settings ->
    Search on the left hand menu. From there you enter the name
    of the collection, it's path on the server and select a
    language for the search. You could also create them
    programatically using cfcollection
    (http://cfdocs.org/cfcollection
    <http://cfdocs.org/cfcollection>) if you prefer (which is
    typically what I do for app portability).

       From there, all other search function work pretty much the
    same as they do in ACF (e.g.http://cfdocs.org/cfsearch
    <http://cfdocs.org/cfsearch>,http://docs.lucee.org/reference/tags/search.html
    <http://docs.lucee.org/reference/tags/search.html>).

       Let us know if you have any more questions!

    -- Denny


--
Win a ticket to dev.objective from Lucee via Twitter,
seehttp://bit.ly/1UbTMWjfor details, good luck and see you there...
---
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 tolucee+un...@googlegroups.com <javascript:>.
To post to this group, send email tolu...@googlegroups.com
<javascript:>.
To view this discussion on the web
visithttps://groups.google.com/d/msgid/lucee/b5f231bf-a027-430a-81f8-e1db839721a9%40googlegroups.com
<https://groups.google.com/d/msgid/lucee/b5f231bf-a027-430a-81f8-e1db839721a9%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visithttps://groups.google.com/d/optout
<https://groups.google.com/d/optout>.


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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
mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com
mailto:lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/39ff6e16-aedf-4759-8e9d-2b7ca9537132%40googlegroups.com
https://groups.google.com/d/msgid/lucee/39ff6e16-aedf-4759-8e9d-2b7ca9537132%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.

OK, good.
effectivly , i did not look in the web admin. I got it now.
I do not understand well the web context versus the server context.
Is the web context linked for each created site ?
Thanks, I will practice this.
Pierre.Le mardi 31 mai 2016 19:09:04 UTC+2, Mark Drew a écrit :

Are you looking in the server or web administrator? Search is per context,
therefore in your web admin.

Regards

Mark Drew

On 31 May 2016, at 18:05, Pierre Larde <pie...@pl-arts.com <javascript:>> wrote:

Thanks for answer.
I do not have the : Search on the left hand menu
Search option is not present.

Is there something to do at Lucee install ? or Lucee version ? (I have the
last V4)

And is the Lucene search engine installed by default ?

Pierre.

Le mardi 31 mai 2016 18:31:41 UTC+2, Denard Springle a écrit :

Hey Pierre,

You can create collections in the admin under Settings -> Search on
the left hand menu. From there you enter the name of the collection, it’s
path on the server and select a language for the search. You could also
create them programatically using cfcollection (
http://cfdocs.org/cfcollection) if you prefer (which is typically what I
do for app portability).

From there, all other search function work pretty much the same as
they do in ACF (e.g. http://cfdocs.org/cfsearch,
http://docs.lucee.org/reference/tags/search.html).

Let us know if you have any more questions!

– Denny


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/b5f231bf-a027-430a-81f8-e1db839721a9%40googlegroups.com
https://groups.google.com/d/msgid/lucee/b5f231bf-a027-430a-81f8-e1db839721a9%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

I have created a collection in WEB context, it has been created with same
name : geophiles_site
Any idea in the stacktrace ? it says it is undefined, but it is, I can
search in the admin panel.
(done on an online server)
Thanks for any idea ?
(I did the same collection on local environment, local Lucee, and it does
work)

Collection geophiles_site
Name geophiles_site
Mapped false
Online true
External false
Language french
Last update 2016-06-01 22:43
Path D:\luceePie\collections

And I get this error when trying a purge :

Message collection geophiles_site is undefined
Cause lucee.runtime.search.SearchException
Stacktrace The Error Occurred in
D:\SitesPlarts\C010\www\task\site_col_index_auto.cfm: line 25

23:
24:

Starting Purge …


25:
26:
27:

Starting DataBase indexing …

collection geophiles_site is undefined
at
lucee.runtime.search.SearchEngineSupport.getCollectionByName(SearchEngineSupport.java:98):98
at lucee.runtime.tag.Index.setCollection(Index.java:308):308
at
task.site_col_index_auto_cfm$cf.call(D:\SitesPlarts\C010\www\task\site_col_index_auto.cfm:25):25
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:951):951
at
lucee.runtime.listener.ClassicAppListener._onRequest(ClassicAppListener.java:56):56
at
lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:36):36
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2262):2262
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2225):2225
at
lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:456):456
at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:47):47
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729):729
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291):291
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206):206
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52):52
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239):239
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206):206
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:217):217
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106):106
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502):502
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142):142
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79):79
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88):88
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518):518
at
org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:844):844
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673):673
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500):1500
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456):1456
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142):1142
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617):617
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61):61
at java.lang.Thread.run(Thread.java:745):745Le mardi 31 mai 2016 19:09:04 UTC+2, Mark Drew a écrit :

Are you looking in the server or web administrator? Search is per context,
therefore in your web admin.

Regards

Mark Drew

On 31 May 2016, at 18:05, Pierre Larde <pie...@pl-arts.com <javascript:>> wrote:

Thanks for answer.
I do not have the : Search on the left hand menu
Search option is not present.

Is there something to do at Lucee install ? or Lucee version ? (I have the
last V4)

And is the Lucene search engine installed by default ?

Pierre.

Le mardi 31 mai 2016 18:31:41 UTC+2, Denard Springle a écrit :

Hey Pierre,

You can create collections in the admin under Settings -> Search on
the left hand menu. From there you enter the name of the collection, it’s
path on the server and select a language for the search. You could also
create them programatically using cfcollection (
http://cfdocs.org/cfcollection) if you prefer (which is typically what I
do for app portability).

From there, all other search function work pretty much the same as
they do in ACF (e.g. http://cfdocs.org/cfsearch,
http://docs.lucee.org/reference/tags/search.html).

Let us know if you have any more questions!

– Denny


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/b5f231bf-a027-430a-81f8-e1db839721a9%40googlegroups.com
https://groups.google.com/d/msgid/lucee/b5f231bf-a027-430a-81f8-e1db839721a9%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

I have deleted the collection.
And create a new one with an other name.
I changed the CFM to call the new collection name,
and I have the same error : “collection undefined”.
Wondering, if it is not a directory name problem ?

Collections are created in : D:\luceePie\collections (I created this
directory)

Lucee has been installed Under “luceePie” directory (not lucee)

Thanks for any help.
Pierre.

Error :
collection lesgeophiles_site is undefined
Cause lucee.runtime.search.SearchException
Stacktrace The Error Occurred in
D:\SitesPlarts\C010\www\task\site_col_index_auto.cfm: line 25

23:
24:

Starting Purge …


*25: *Le mercredi 1 juin 2016 23:05:02 UTC+2, Pierre Larde a écrit :

I have created a collection in WEB context, it has been created with same
name : geophiles_site
Any idea in the stacktrace ? it says it is undefined, but it is, I can
search in the admin panel.
(done on an online server)
Thanks for any idea ?
(I did the same collection on local environment, local Lucee, and it does
work)

Collection geophiles_site
Name geophiles_site
Mapped false
Online true
External false
Language french
Last update 2016-06-01 22:43
Path D:\luceePie\collections

And I get this error when trying a purge :

Message collection geophiles_site is undefined
Cause lucee.runtime.search.SearchException
Stacktrace The Error Occurred in
D:\SitesPlarts\C010\www\task\site_col_index_auto.cfm: line 25

23:
24:

Starting Purge …


25:
26:
27:

Starting DataBase indexing …

collection geophiles_site is undefined
at
lucee.runtime.search.SearchEngineSupport.getCollectionByName(SearchEngineSupport.java:98):98
at lucee.runtime.tag.Index.setCollection(Index.java:308):308
at
task.site_col_index_auto_cfm$cf.call(D:\SitesPlarts\C010\www\task\site_col_index_auto.cfm:25):25
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:951):951
at
lucee.runtime.listener.ClassicAppListener._onRequest(ClassicAppListener.java:56):56
at
lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:36):36
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2262):2262
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2225):2225
at
lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:456):456
at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:47):47
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729):729
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291):291
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206):206
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52):52
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239):239
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206):206
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:217):217
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106):106
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502):502
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142):142
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79):79
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88):88
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518):518
at
org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:844):844
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673):673
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500):1500
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456):1456
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142):1142
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617):617
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61):61
at java.lang.Thread.run(Thread.java:745):745

Le mardi 31 mai 2016 19:09:04 UTC+2, Mark Drew a écrit :

Are you looking in the server or web administrator? Search is per
context, therefore in your web admin.

Regards

Mark Drew

On 31 May 2016, at 18:05, Pierre Larde pie...@pl-arts.com wrote:

Thanks for answer.
I do not have the : Search on the left hand menu
Search option is not present.

Is there something to do at Lucee install ? or Lucee version ? (I have
the last V4)

And is the Lucene search engine installed by default ?

Pierre.

Le mardi 31 mai 2016 18:31:41 UTC+2, Denard Springle a écrit :

Hey Pierre,

You can create collections in the admin under Settings -> Search on
the left hand menu. From there you enter the name of the collection, it’s
path on the server and select a language for the search. You could also
create them programatically using cfcollection (
http://cfdocs.org/cfcollection) if you prefer (which is typically what
I do for app portability).

From there, all other search function work pretty much the same as
they do in ACF (e.g. http://cfdocs.org/cfsearch,
http://docs.lucee.org/reference/tags/search.html).

Let us know if you have any more questions!

– Denny


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/b5f231bf-a027-430a-81f8-e1db839721a9%40googlegroups.com
https://groups.google.com/d/msgid/lucee/b5f231bf-a027-430a-81f8-e1db839721a9%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

OK, I understand the dump giving the string :
5ed5aa62b153eb5ed0c8d09aa1aa6e22
This is the general info label of the site web context.

Thanks a lot, great.
Pierre.Le lundi 6 juin 2016 16:32:49 UTC+2, Pierre Larde a écrit :

Excellent, Thanks very much,
I think I do not understand well the “web context”.
I did like you said, and it works.
Then to acces the web context, I must use this adress : (from the domain
name)
http://mydomain.com/lucee/admin/web.cfm

If I use : http://127.0.0.1:8888/lucee/admin/web.cfm (on the server)
It is not attached to any site ?

The code dump(getPageContext().getConfig().label);
gives :
string

5ed5aa62b153eb5ed0c8d09aa1aa6e22
(no meaning for me)

So any Lucee admin is accessible from an external browser.

Thanks a lot, question is solved.
Pierre.

Le lundi 6 juin 2016 14:35:28 UTC+2, Mark Drew a écrit :

I think you have different contexts happening so if you create the search
collection in the lucee admin it is somehow referencing a different context
than your live site.

Are you creating the collection in the right admin?

For example if your domain is http://lucee.org then your code would be:

http://lucee.org/search.cfm (where you call your

and you would setup the collection in the admin:
http://mydomain.com//lucee/admin/web.cfm

Regards

Mark Drew

On 6 Jun 2016, at 13:06, Pierre Larde pie...@pl-arts.com wrote:

Who could help me on that problem ?
On local environment, the collection is found.
On Internet environment, the collection is undefined.

The différences between the 2 environments are :

  • The lucee directory name : “lucee” on local, “luceePie” on internet
  • OS is Windows 7 on local and Windows server 2008 on internet

Any collection created on local works.
Any collection created on Internet (online) does not work (error :
undefined)

It seems the collection is not found by the CFML programs,
in the Lucee admin panel (search) , I can search, it does work,
returns “No Result for your criteria” (normal, as it has never been
populated)

Thanks for any help, suggestion, (I do not see where to look, or what to
do).
Pierre.

Le lundi 30 mai 2016 23:38:02 UTC+2, Pierre Larde a écrit :

I am looking for search engine set up on Lucee.
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). is that supplied with Lucee ? )

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

This functionnality is a must for migration.

Thanks for any help or information.
Pierre.


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/d5479255-9a59-4332-a5fd-e58677c959e3%40googlegroups.com
https://groups.google.com/d/msgid/lucee/d5479255-9a59-4332-a5fd-e58677c959e3%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

Excellent, Thanks very much,
I think I do not understand well the “web context”.
I did like you said, and it works.
Then to acces the web context, I must use this adress : (from the domain
name)
http://mydomain.com/lucee/admin/web.cfm

If I use : http://127.0.0.1:8888/lucee/admin/web.cfm (on the server)
It is not attached to any site ?

The code dump(getPageContext().getConfig().label);
gives :
string

5ed5aa62b153eb5ed0c8d09aa1aa6e22
(no meaning for me)

So any Lucee admin is accessible from an external browser.

Thanks a lot, question is solved.
Pierre.Le lundi 6 juin 2016 14:35:28 UTC+2, Mark Drew a écrit :

I think you have different contexts happening so if you create the search
collection in the lucee admin it is somehow referencing a different context
than your live site.

Are you creating the collection in the right admin?

For example if your domain is http://lucee.org then your code would be:

http://lucee.org/search.cfm (where you call your

and you would setup the collection in the admin:
http://mydomain.com//lucee/admin/web.cfm

Regards

Mark Drew

On 6 Jun 2016, at 13:06, Pierre Larde <pie...@pl-arts.com <javascript:>> wrote:

Who could help me on that problem ?
On local environment, the collection is found.
On Internet environment, the collection is undefined.

The différences between the 2 environments are :

  • The lucee directory name : “lucee” on local, “luceePie” on internet
  • OS is Windows 7 on local and Windows server 2008 on internet

Any collection created on local works.
Any collection created on Internet (online) does not work (error :
undefined)

It seems the collection is not found by the CFML programs,
in the Lucee admin panel (search) , I can search, it does work,
returns “No Result for your criteria” (normal, as it has never been
populated)

Thanks for any help, suggestion, (I do not see where to look, or what to
do).
Pierre.

Le lundi 30 mai 2016 23:38:02 UTC+2, Pierre Larde a écrit :

I am looking for search engine set up on Lucee.
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). is that supplied with Lucee ? )

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

This functionnality is a must for migration.

Thanks for any help or information.
Pierre.


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/d5479255-9a59-4332-a5fd-e58677c959e3%40googlegroups.com
https://groups.google.com/d/msgid/lucee/d5479255-9a59-4332-a5fd-e58677c959e3%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

To double check this, put this in your code:

dump(getPageContext().getConfig().label);

And compare that to what it says in the summary page in the lucee web admin if you click on the Lucee logo.

Regards

Mark Drew> On 6 Jun 2016, at 13:06, Pierre Larde <@Pierre_Larde> wrote:

Who could help me on that problem ?
On local environment, the collection is found.
On Internet environment, the collection is undefined.

The différences between the 2 environments are :

  • The lucee directory name : “lucee” on local, “luceePie” on internet
  • OS is Windows 7 on local and Windows server 2008 on internet

Any collection created on local works.
Any collection created on Internet (online) does not work (error : undefined)

It seems the collection is not found by the CFML programs,
in the Lucee admin panel (search) , I can search, it does work, returns “No Result for your criteria” (normal, as it has never been populated)

Thanks for any help, suggestion, (I do not see where to look, or what to do).
Pierre.

Le lundi 30 mai 2016 23:38:02 UTC+2, Pierre Larde a écrit :
I am looking for search engine set up on Lucee.
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). is that supplied with Lucee ? )

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

This functionnality is a must for migration.

Thanks for any help or information.
Pierre.


Win a ticket to dev.objective from Lucee via Twitter, see http://bit.ly/1UbTMWj http://bit.ly/1UbTMWj for details, good luck and see you there…

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 mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com mailto:lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/d5479255-9a59-4332-a5fd-e58677c959e3%40googlegroups.com https://groups.google.com/d/msgid/lucee/d5479255-9a59-4332-a5fd-e58677c959e3%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.

I think you have different contexts happening so if you create the search collection in the lucee admin it is somehow referencing a different context than your live site.

Are you creating the collection in the right admin?

For example if your domain is http://lucee.org http://lucee.org/ then your code would be:

http://lucee.org/search.cfm http://lucee.org/search.cfm (where you call your

and you would setup the collection in the admin:
http://lucee.org//lucee/admin/web.cfm?action=services.search http://lucee.org//lucee/admin/web.cfm?action=services.search

Regards

Mark Drew> On 6 Jun 2016, at 13:06, Pierre Larde <@Pierre_Larde> wrote:

Who could help me on that problem ?
On local environment, the collection is found.
On Internet environment, the collection is undefined.

The différences between the 2 environments are :

  • The lucee directory name : “lucee” on local, “luceePie” on internet
  • OS is Windows 7 on local and Windows server 2008 on internet

Any collection created on local works.
Any collection created on Internet (online) does not work (error : undefined)

It seems the collection is not found by the CFML programs,
in the Lucee admin panel (search) , I can search, it does work, returns “No Result for your criteria” (normal, as it has never been populated)

Thanks for any help, suggestion, (I do not see where to look, or what to do).
Pierre.

Le lundi 30 mai 2016 23:38:02 UTC+2, Pierre Larde a écrit :
I am looking for search engine set up on Lucee.
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). is that supplied with Lucee ? )

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

This functionnality is a must for migration.

Thanks for any help or information.
Pierre.


Win a ticket to dev.objective from Lucee via Twitter, see http://bit.ly/1UbTMWj http://bit.ly/1UbTMWj for details, good luck and see you there…

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 mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com mailto:lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/d5479255-9a59-4332-a5fd-e58677c959e3%40googlegroups.com https://groups.google.com/d/msgid/lucee/d5479255-9a59-4332-a5fd-e58677c959e3%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.

Awesome! :slight_smile:

Glad it helped!

There should be a page somewhere that describes contexts, as it is a common problem

MD> On 6 Jun 2016, at 15:41, Pierre Larde <@Pierre_Larde> wrote:

OK, I understand the dump giving the string : 5ed5aa62b153eb5ed0c8d09aa1aa6e22
This is the general info label of the site web context.

Thanks a lot, great.
Pierre.

Le lundi 6 juin 2016 16:32:49 UTC+2, Pierre Larde a écrit :
Excellent, Thanks very much,
I think I do not understand well the “web context”.
I did like you said, and it works.
Then to acces the web context, I must use this adress : (from the domain name)
http://mydomain.com/lucee/admin/web.cfm http://mydomain.com/lucee/admin/web.cfm

If I use : http://127.0.0.1:8888/lucee/admin/web.cfm http://127.0.0.1:8888/lucee/admin/web.cfm (on the server)
It is not attached to any site ?

The code dump(getPageContext().getConfig().label);
gives :
string
5ed5aa62b153eb5ed0c8d09aa1aa6e22

(no meaning for me)

So any Lucee admin is accessible from an external browser.

Thanks a lot, question is solved.
Pierre.

Le lundi 6 juin 2016 14:35:28 UTC+2, Mark Drew a écrit :
I think you have different contexts happening so if you create the search collection in the lucee admin it is somehow referencing a different context than your live site.

Are you creating the collection in the right admin?

For example if your domain is http://lucee.org http://lucee.org/ then your code would be:

http://lucee.org/search.cfm http://lucee.org/search.cfm (where you call your

and you would setup the collection in the admin:
http://mydomain.com//lucee/admin/web.cfm http://mydomain.com//lucee/admin/web.cfm

Regards

Mark Drew

On 6 Jun 2016, at 13:06, Pierre Larde <pie...@pl-arts.com <>> wrote:

Who could help me on that problem ?
On local environment, the collection is found.
On Internet environment, the collection is undefined.

The différences between the 2 environments are :

  • The lucee directory name : “lucee” on local, “luceePie” on internet
  • OS is Windows 7 on local and Windows server 2008 on internet

Any collection created on local works.
Any collection created on Internet (online) does not work (error : undefined)

It seems the collection is not found by the CFML programs,
in the Lucee admin panel (search) , I can search, it does work, returns “No Result for your criteria” (normal, as it has never been populated)

Thanks for any help, suggestion, (I do not see where to look, or what to do).
Pierre.

Le lundi 30 mai 2016 23:38:02 UTC+2, Pierre Larde a écrit :
I am looking for search engine set up on Lucee.
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). is that supplied with Lucee ? )

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

This functionnality is a must for migration.

Thanks for any help or information.
Pierre.


Win a ticket to dev.objective from Lucee via Twitter, see http://bit.ly/1UbTMWj http://bit.ly/1UbTMWj for details, good luck and see you there…

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 <>.
To post to this group, send email to lu...@googlegroups.com <>.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/d5479255-9a59-4332-a5fd-e58677c959e3%40googlegroups.com https://groups.google.com/d/msgid/lucee/d5479255-9a59-4332-a5fd-e58677c959e3%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.


Win a ticket to dev.objective from Lucee via Twitter, see http://bit.ly/1UbTMWj http://bit.ly/1UbTMWj for details, good luck and see you there…

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 mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com mailto:lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/fb681e1c-835c-4135-963d-132ddd1bd601%40googlegroups.com https://groups.google.com/d/msgid/lucee/fb681e1c-835c-4135-963d-132ddd1bd601%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.

Who could help me on that problem ?
On local environment, the collection is found.
On Internet environment, the collection is undefined.

The différences between the 2 environments are :

  • The lucee directory name : “lucee” on local, “luceePie” on internet
  • OS is Windows 7 on local and Windows server 2008 on internet

Any collection created on local works.
Any collection created on Internet (online) does not work (error :
undefined)

It seems the collection is not found by the CFML programs,
in the Lucee admin panel (search) , I can search, it does work, returns “No
Result for your criteria” (normal, as it has never been populated)

Thanks for any help, suggestion, (I do not see where to look, or what to
do).
Pierre.Le lundi 30 mai 2016 23:38:02 UTC+2, Pierre Larde a écrit :

I am looking for search engine set up on Lucee.
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). is that supplied with Lucee ? )

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

This functionnality is a must for migration.

Thanks for any help or information.
Pierre.