Umbraco 8 Examine Sorting Issues with possible Lucene keywords
Hi Guys,
I had a strange error today that my sorting wasn't working for one specific record. I was sorting staff profiles by firstname.
All was working ok except for one staff name.
Staff Name: Will
If I added any letter I figure out the sorting works again. I made a stab in the dark and wondered if 'will' was a lucene keyword. I am guessing it is since I tried changing the staff name to 'Or' or 'And' and this has the same effect. The sorting did nothing on this record and simply added it to the top of the results.
I was wondering if anyone else has experienced this issue and have a work around.
I think I am going to try.
Adding a new sortable field in IndexProviderTransformingIndexValues
I am going to make this field up of the firstname + "x"
Then use this to do the sorting on.
I guess this will work because there will no longer we and names for exactly match a possible keyword.
Umbraco 8 Examine Sorting Issues with possible Lucene keywords
Hi Guys,
I had a strange error today that my sorting wasn't working for one specific record. I was sorting staff profiles by firstname.
All was working ok except for one staff name.
Staff Name: Will
If I added any letter I figure out the sorting works again. I made a stab in the dark and wondered if 'will' was a lucene keyword. I am guessing it is since I tried changing the staff name to 'Or' or 'And' and this has the same effect. The sorting did nothing on this record and simply added it to the top of the results.
I was wondering if anyone else has experienced this issue and have a work around.
I think I am going to try.
Adding a new sortable field in IndexProviderTransformingIndexValues
I am going to make this field up of the firstname + "x"
Then use this to do the sorting on.
I guess this will work because there will no longer we and names for exactly match a possible keyword.
Regards
David
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.