What field type is chapterTitle? I'm betting it is an analyzed field with multiple values (tokens/terms) per document. To successfully sort, you'll need to have a single value per document - using copyField can help with this to have both a searchable field and a sortable version.

        Erik



On May 2, 2008, at 6:42 AM, Peter Hickman wrote:

I have some data which I am querying with

?q=aseptic technique&fl=id,score,chapterTitle&sort=chapterTitle asc&rows=200

The results are being reordered (at least they are no longer in score order)
but the order makes no sense:

Communication
Drug administration: cytotoxic drugs
Elimination: bowel care
Elimination: bladder lavage and irrigation
The context of nursing
Observations
Pain management and assessment
Pain management: Entonox administration
Pain management: epidural and intrathecal analgesia
Abdominal paracentesis
Barrier nursing: nursing the infectious or immunosuppressed patient
Perioperative care
Personal hygiene: eye care
Personal hygiene: mouth care
Discharge planning
Positioning
Drug administration: general principles
Haematological procedures
Assessment and the process of care
Cardiopulmonary resuscitation
Scalp cooling
Breast aspiration and seroma drainage
Specimen collection for microbiological analysis
Spinal cord compression management
Elimination: stoma care
Nutritional support
Aseptic technique
Compression therapy in the management of lymphoedema
Gene therapy for the management of cancer
Radioactive source therapy: sealed sources
Transfusion of blood and blood products
The unconscious patient
Radioactive source therapy and diagnostic procedures: unsealed sources
Elimination: continent urinary diversions
Elimination: urinary
Vascular access devices: insertion and management
Venepuncture
Renal replacement therapy: peritoneal dialysis and continuous venovenous
haemodiafiltration
Violence: prevention and management
Tracheostomy care and laryngectomy care (including voice rehabilitation)
Wound management

Can anyone shed a light on this?

--
View this message in context: http://www.nabble.com/Sort-results-on- a-field-not-ordered-tp17013905p17013905.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to