Can anyone tell me the format of the search.xml? The schedule.xml inside the lucee/scheduler directory is created correctly, but the search.xml never ever does. If I can populate this file I can just replace it every time I need to restart lucee instead of deleting it and dealing with whatever is happening here incorrectly on every restart.
I have sometimes the problem, the file is created with 0 bytes and lucee throws an error (still lucee 4.5). Here is the search.xml:
<?xml version="1.0"?>
<search>
<collection created="{ts '2018-11-25 21:21:01'}" language="german"
lastUpdate="{ts '2018-11-25 21:22:33'}" name="name_of_my_search_collection" path="/path/to/project">
<index category="" categoryTree="" custom1="foobar"
custom2="foo bar test"
extensions="htm,html,cfm,cfml,dbm,dbml" id="custom"
key="a_primary_id" query="objQuery" type="custom"/>
<index category="" categoryTree="" custom1="downloads"
custom2="Downloads" extensions="pdf"
id="path-b20f7c3b8d5f083f427d947f08eceff9"
key="/path/to/project/upload" type="path" urlpath="/upload"/>
</collection>
</search>
What lucee version do you use?
1 Like
Lucee 5.2.9.31. But it was happening on my earlier 5.x.x installs as well. Hurray! I can restart my server now and not have my client tell me “hey, search broke again” ;).