On Jul 23, 2009, at 11:03 AM, Jörg Agatz wrote:
Hallo...
I have a problem...
i want to sort a field
at the Moment the field type is "text", but i have test it with
"string" or
"date"
the content of the field looks like "22.07.09" it is a Date.
when i sort, i get :
failed to open stream: HTTP request failed! HTTP/1.1 500
there_are_more_terms_than_documents_in_field_ERP_ERP_FILE_CONTENT_DATUM_but_its_impossible_to_sort_on_tokenized_f
in */var/www/search.php* on line *23
What happen?
You have to sort on a field that only has a single indexed term per
document. A "string" with indexed=true is one option. Use copyField
to copy your text field to a string version if it is as simple as that
for your sorting needs.
Erik