We are looking at whether we could use this on a site we are working on. I have a couple of questions, I wonder if anyone has the answers for.
Is it possible to customise the order of the columns when exported? I've added the list of member properties to the ExamineIndex.config in the order I would like them but it seems to still be ordering the columns randomly.
Also would it be possible to filter by a date. We have a renewal date property which our client would like to be able to filter members by, for example find members with whose renewal date is in December. Would we need to custom code this or is there code in place for this kind of filter.
With regard to the property ordering on export, I haven't looked at it in a while, but it's coming from the Examine Lucene index if I remember correctly; and I'm not sure how much control we have over the ordering there. You could modify the source perhaps and do some manual ordering maybe.
For the date filter, you'd need to implement that yourself in the AngularJS code - and you would also need to modify the search code to restrict the results to a date range - i.e., 1st December to 30th December.
In order to do this though, you need to format the dates so they conform to Lucene Range searches, and you need to make sure that the date property on the member type is also indexed in the same format.
Order of Columns and filter by date
We are looking at whether we could use this on a site we are working on. I have a couple of questions, I wonder if anyone has the answers for.
Is it possible to customise the order of the columns when exported? I've added the list of member properties to the ExamineIndex.config in the order I would like them but it seems to still be ordering the columns randomly.
Also would it be possible to filter by a date. We have a renewal date property which our client would like to be able to filter members by, for example find members with whose renewal date is in December. Would we need to custom code this or is there code in place for this kind of filter.
Hi Suzy,
With regard to the property ordering on export, I haven't looked at it in a while, but it's coming from the Examine Lucene index if I remember correctly; and I'm not sure how much control we have over the ordering there. You could modify the source perhaps and do some manual ordering maybe.
For the date filter, you'd need to implement that yourself in the AngularJS code - and you would also need to modify the search code to restrict the results to a date range - i.e., 1st December to 30th December.
In order to do this though, you need to format the dates so they conform to Lucene Range searches, and you need to make sure that the date property on the member type is also indexed in the same format.
Does that help?
Rob
I suspected I'd need to make some modification to the source but thought I'd ask in case I missed something.
Thanks :)
is working on a reply...