Is there no way that the existing field can be used?
On Fri, Oct 30, 2015 at 1:42 PM, Ray Niu <newry1...@gmail.com> wrote: > you should use string type instead of text if you want to sort > alphabetically > > 2015-10-30 11:12 GMT-07:00 Brian Narsi <bnars...@gmail.com>: > > > I have a fieldtype setup as > > > > <fieldType name="txt_edgngrm" class="solr.TextField" > positionIncrementGap= > > "100"> <analyzer type="index"> <tokenizer class= > > "solr.StandardTokenizerFactory"/> <filter class= > > "solr.LowerCaseFilterFactory"/> <filter > class="solr.EdgeNGramFilterFactory" > > minGramSize="3" maxGramSize="25"/> </analyzer> <analyzer type="query"> < > > tokenizer class="solr.StandardTokenizerFactory"/> <filter class= > > "solr.LowerCaseFilterFactory"/> </analyzer> </fieldType> > > > > > > When I sort on this field type in ascending order I am not getting > results > > sorted alphabetically as expected. > > > > Why is that? > > > > What should I do to get the sort on? > > > > Thanks > > >