Are all TrieRange fields sortable?

On Fri, Aug 14, 2009 at 10:50 PM, Yonik Seeley
<yo...@lucidimagination.com>wrote:

> On Fri, Aug 14, 2009 at 1:15 PM, Ninad Raut<hbase.user.ni...@gmail.com>
> wrote:
> > TrieRange ... what are its features? What additional functionality they
> > provide?
>
> - a generally more efficient FieldCache structure (less memory)
> - faster range queries when precisionStep is utilized to index
> multiple tokens per value
>
> -Yonik
> http://www.lucidimagination.com
>
> > On Fri, Aug 14, 2009 at 8:35 PM, Avlesh Singh <avl...@gmail.com> wrote:
> >
> >> >
> >> > I just checked and the default schema.xml for SOLR 1.3
> >> > (solr/conf/schema.xml.original) and i don't see tint, etc listed.So
> >> either
> >> > they''re new in 1.4 and I don't know about them or they were manually
> >> > defined.
> >> >
> >> TrieRange fields are new and will make appearance in Solr 1.4. With 1.3
> you
> >> can use "sint" and "sfloat" for your use cases.
> >>
> >> @Ninad -
> >>
> >>
> http://www.lucidimagination.com/blog/2009/05/13/exploring-lucene-and-solrs-trierange-capabilities/
> >>
> >> Cheers
> >> Avlesh
> >>
> >> On Fri, Aug 14, 2009 at 6:03 PM, Constantijn Visinescu
> >> <baeli...@gmail.com>wrote:
> >>
> >> > I just checked and the default schema.xml for SOLR 1.3
> >> > (solr/conf/schema.xml.original) and i don't see tint, etc listed.
> >> > So either they''re new in 1.4 and I don't know about them or they were
> >> > manually defined.
> >> >
> >> > Can you post your schema.xml entries for tint? (along with any
> comments
> >> it
> >> > might have?)
> >> >
> >> > Constantijn
> >> >
> >> > On Fri, Aug 14, 2009 at 1:39 PM, Ninad Raut <
> hbase.user.ni...@gmail.com
> >> > >wrote:
> >> >
> >> > > Hi Constantijn,
> >> > > What are the t types viz;tint,tfloat etc. for? Is there a special
> use
> >> of
> >> > > these?
> >> > >
> >> > > On Fri, Aug 14, 2009 at 4:37 PM, Constantijn Visinescu
> >> > > <baeli...@gmail.com>wrote:
> >> > >
> >> > > > Accoridng to the documentation in schema.xml.original sint etc can
> be
> >> > > used
> >> > > > for both sorting and range queries?
> >> > > >
> >> > > >    <!-- Numeric field types that manipulate the value into
> >> > > >         a string value that isn't human-readable in its internal
> >> form,
> >> > > >         but with a lexicographic ordering the same as the numeric
> >> > > ordering,
> >> > > >         so that range queries work correctly. -->
> >> > > >    <fieldType name="sint" class="solr.SortableIntField"
> >> > > > sortMissingLast="true" omitNorms="true"/>
> >> > > >
> >> > > >
> >> > > > On Fri, Aug 14, 2009 at 11:08 AM, Ninad Raut <
> >> > hbase.user.ni...@gmail.com
> >> > > > >wrote:
> >> > > >
> >> > > > > Hi,
> >> > > > > I want certain fields of type int,float and date to be sortable
> and
> >> I
> >> > > > > should
> >> > > > > be able to run my range queries as well as facet queries on
> those
> >> > > fields.
> >> > > > > Now as far as I know sint,sfloat fieldtypes  make the fields
> >> sortable
> >> > > and
> >> > > > > tint,tfloat,tdate allow range queries on the fields.
> >> > > > > I want both these features in my fields. How can I make this
> >> happen?
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
> >
>

Reply via email to