Erickson
> > Cc: java-user
> > Subject: Re: Lucene 5.0.0 - StringField and Sorting
> >
> > Hi Erick,
> >
> > i guess you've muddled the lists - this is lucenes one, not solr. I know
> > how to define it in solr but that wasn't the question as i am
hi.de
> -Original Message-
> From: Torsten Krah [mailto:krah...@gmail.com]
> Sent: Monday, April 25, 2016 6:25 PM
> To: Erick Erickson
> Cc: java-user
> Subject: Re: Lucene 5.0.0 - StringField and Sorting
>
> Hi Erick,
>
> i guess you've muddled the lists -
Thanks for going to fix the stale docs.
Torsten
Am Montag, den 25.04.2016, 11:09 -0400 schrieb Michael McCandless:
> The Lucene level javadocs are definitely stale ... I'll fix.
>
>
> You should separately add a SortedDocValuesField if you also need to
> sort on this field.
>
> Mike McCandless
Hi Erick,
i guess you've muddled the lists - this is lucenes one, not solr. I know
how to define it in solr but that wasn't the question as i am using pure
lucene and it did not work as expected from the javadocs there.
Cheers
Torsten
--
Yep.. adding a SortedDocValuesField did work for me! thanks..
On Mon, Apr 25, 2016 at 8:39 PM, Michael McCandless <
luc...@mikemccandless.com> wrote:
> The Lucene level javadocs are definitely stale ... I'll fix.
>
> You should separately add a SortedDocValuesField if you also need to sort
> on t
The Lucene level javadocs are definitely stale ... I'll fix.
You should separately add a SortedDocValuesField if you also need to sort
on this field.
Mike McCandless
http://blog.mikemccandless.com
On Fri, Mar 6, 2015 at 5:04 AM, Torsten Krah wrote:
> Hi,
>
> looking at the JavaDoc of StringFi
This works fine for me in a current Solr (5x). What version are you using?
Note that _any_ field you use for sorting _must_ be indexed="true" or, in
recent Solrs, docValues="true", just like any other field. You can't
sort on a field that
only has stored='"true" which is the only bit of the field
Hi,
unfortunately i did not and no one did answered to this yet - although
javadoc states it should work it does not.
In the meantime i've used my own custom field but still i am interested
on a solution to this.
Lucene 6 still does have the same javadoc:
https://lucene.apache.org/core/6_0_0/cor
Hi Torsten,
Did you find a solution for this? I am having the same issue.. I am
planning to create a custom Field with DocValueType.SORTED. Is there any
other way to do that without creating a custom Field?
On Fri, Mar 6, 2015 at 3:34 PM, Torsten Krah wrote:
> Hi,
>
> looking at the JavaDoc of
Hi,
looking at the JavaDoc of StringField it says:
/** A field that is indexed but not tokenized: the entire
* String value is indexed as a single token. For example
* this might be used for a 'country' field or an 'id'
* field, or any field that you intend to use for sorting
* or access
Hi,
looking at the JavaDoc of StringField it says:
/** A field that is indexed but not tokenized: the entire
* String value is indexed as a single token. For example
* this might be used for a 'country' field or an 'id'
* field, or any field that you intend to use for sorting
* or access
11 matches
Mail list logo