gsr
05/12/2024, 3:23 AM<cfif NOT DirectoryExists(ExpandPath("../karatenbsearch"))>
<cfcollection action= "Create" collection="karatenbsearch" path= "#Request.ArchiveFileLocation#">
</cfif>
<cfindex collection="karatenbsearch" action="refresh" key="#Request.ArchiveFileLocation#" type="path" urlpath="#Request.ArchiveFileLocation#" extensions=".cfm,.html">
where the location is:
<cfset Request.ArchiveFileLocation = "C:\ColdFusion2023\cfusion\wwwroot\ting">
then i ran this and checked the administrator and the location it is doing iss:
karatenbsearch4821244211-May-2024 11:37:17 PMC:\ColdFusion2023\cfusion\jetty\multicore\collections\karatenbsearch\data\index
first it is not specifying the location i wanted it to be
2. it throws me on the error on the first line, even if it exists but on a different patch, but i am getting error, how can i fix it,
in these many years this is first time i am exploring cfsearchAdam Cameron
<collection>? I suspect not.
Or <cfindex> for that matter.
Actually read the docs.gsr
05/13/2024, 11:16 AMAdam Cameron