I'm trying to sort, but I am not always getting the correct results and I'm not sure where to start tracking down the problem.

You can see the problem here (at least until it's fixed!): http://nines.performantsoftware.com/search/saved?user=paul&name=poem

If you sort by Title/Ascending, you get partially sorted results, but it seems to be using a random word to sort on instead of sorting on the entire title.

Page one starts good with:

(blank)
Adieu
Advertisement
Afterwards
etc....

but by page 6 it starts to break down:

Elizabeth Barrett Browning
Albert and Elweena
Emerson and Bacon
etc...
Errata
Anne Bannerman: Biographical Essay
Aboringines (Estonia)
etc...

I notice in the above list that there is SOME word that is sorted, just not the first one. (In fact, it seems to be the word that appears greatest in the sort order.)

Then at the end, for instance page 336, it sorts some titles with diacritical marks:

Roman à Clef
The Forgotten Reaping-Hook: Sex in My Ántonia
Social (Re)Visioning in the Fields of My Ántonia
etc...

I'm not sure what info would be useful to help debug. In my schema.xml file, I've clipped what seems to be the relevant part:

<fieldtype name="text_lu" class="solr.TextField" positionIncrementGap="100">
  <analyzer>
    <tokenizer class="solr.StandardTokenizerFactory"/>
    <filter class="solr.StandardFilterFactory"/>
    <filter class="solr.LowerCaseFilterFactory"/>
  </analyzer>
</fieldtype>

<field name="title" type="text_lu" indexed="true" stored="true" multiValued="true"/>

Thanks,
Paul

Reply via email to