I just pushed up another update to Seeker. I've begun to clean things up a bit. If you download the bits now you will actually see folders for the custom tags, docs, and demos. I've begun the docs, but right now it's just an intro paragraph. But the important thing is that the application is getting a bit more organized.
Functionality wise though the only change was a submission by AJ Mercer (with help from Mark Mandel, Mr. Transfer as I call em) to support searching multiple fields.
Coming up next are pushes in three main areas:
- CFAdmin tool - this is the tool you will use in the Administrator to help manage your Lucene indexes
- Indexing updates - being able to get information about indexes, and the ability to update/delete individual records in the index
- Docs
Once this is done I'll consider it truly "1.0" and will start looking at testing performance, etc.
Archived Comments
Thanks for the update. I started using this in one of my projects recently and found the need to search multiple fields, but in a different way. For example:
search field1 for "jedi" and search field2 for "1" and search field3 for a date range.
Unfortunately I couldn't find a way to do it so I just used the parser to parse my hand-made query. Here is an example:
<cfif attributes.startdate neq "" and attributes.EndDate neq "">
<cfset NewStartDate = DateFormat(Attributes.StartDate,'yyyy-mm-dd')>
<cfset NewEndDate = DateFormat(Attributes.EndDate,'yyyy-mm-dd')>
<cfset QueryEdit = " AND field2:[#NewStartDate# TO #NewEndDate#]">
</cfif>
<cfif attributes.field3 neq "">
<cfset QueryEdit = QueryEdit & " AND field3:#attributes.field3#">
</cfif>
<cfset query = parser.parse(attributes.term & QueryEdit)>
By the way, there is a java tool called Luke which is helpful for managing your index.
Yep, Luke helped me quite a bit.