Just to be clear, I have multiple fields per document that Are coming back in the queried XML. Let's say it's name, id, date, description. I want to sort dynamically on fields but for my test case on Description. Are you suggesting that there be one field defined per document, or you can only sort on one field per request? I'm not sure I understand this explanation.

Chris Hostetter wrote:
: having issues with it.  Some fields work some do not and my results seem
: to suggest that it doesn't work when there are any non-alphaNumeric
: values in the fields.  Can someone out there either confirm this or let
: me know what I may be doing wrong?  is it a matter of using a different
: analyzer setting or filter factory than the default setting for text.

Sorting requires that there be a single Term/Token per doc ... most
Analyzers do not have this behavior, so you need to use copyField to
create a String version of the field that you use for sorting.

the example schema in the trunk shows this using the name and nameSort
fields ... in the 1.1 release there is a comment about the manu_exact
field.

I've added this as a FAQ.



-Hoss



Reply via email to