You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by "Gajjar, Jigar" <ga...@oclc.org> on 2023/03/23 13:04:43 UTC
Terms handler in reverse order
Hi All,
I have requirement of using terms query to get all terms from the index field.
Below query works for me but is there a way to get terms in descending order also?
http://localhost:8983/solr/wc_bib/terms?terms.name=ti&terms.sort=index
Thanks,
Jigar Gajjar
Re: [External] Re: Terms handler in reverse order
Posted by Mikhail Khludnev <mk...@apache.org>.
Well. Start from copying TermsComponent, copy and extend some tests, don't
forget about distributed mode and then raise a jira and contribute the
patch.
On Fri, Mar 24, 2023 at 12:29 AM Gajjar, Jigar <ga...@oclc.org> wrote:
> Is it possible to create custom component and we can fetch terms in
> reverse order?
>
> Thanks,
> Jigar Gajjar
>
> From: Mikhail Khludnev <mk...@apache.org>
> Date: Thursday, March 23, 2023 at 9:30 AM
> To: users@solr.apache.org <us...@solr.apache.org>
> Subject: [External] Re: Terms handler in reverse order
> Hello,
> I think, there's nothing like sort order implemented in terms component
> now.
>
> On Thu, Mar 23, 2023 at 4:05 PM Gajjar, Jigar <ga...@oclc.org> wrote:
>
> > Hi All,
> >
> > I have requirement of using terms query to get all terms from the index
> > field.
> > Below query works for me but is there a way to get terms in descending
> > order also?
> > http://localhost:8983/solr/wc_bib/terms?terms.name=ti&terms.sort=index
> >
> > Thanks,
> > Jigar Gajjar
> >
>
>
> --
> Sincerely yours
> Mikhail Khludnev
> https://t.me/MUST_SEARCH<https://t.me/MUST_SEARCH>
> A caveat: Cyrillic!
>
--
Sincerely yours
Mikhail Khludnev
https://t.me/MUST_SEARCH
A caveat: Cyrillic!
Re: [External] Re: Terms handler in reverse order
Posted by "Gajjar, Jigar" <ga...@oclc.org>.
Is it possible to create custom component and we can fetch terms in reverse order?
Thanks,
Jigar Gajjar
From: Mikhail Khludnev <mk...@apache.org>
Date: Thursday, March 23, 2023 at 9:30 AM
To: users@solr.apache.org <us...@solr.apache.org>
Subject: [External] Re: Terms handler in reverse order
Hello,
I think, there's nothing like sort order implemented in terms component now.
On Thu, Mar 23, 2023 at 4:05 PM Gajjar, Jigar <ga...@oclc.org> wrote:
> Hi All,
>
> I have requirement of using terms query to get all terms from the index
> field.
> Below query works for me but is there a way to get terms in descending
> order also?
> http://localhost:8983/solr/wc_bib/terms?terms.name=ti&terms.sort=index
>
> Thanks,
> Jigar Gajjar
>
--
Sincerely yours
Mikhail Khludnev
https://t.me/MUST_SEARCH<https://t.me/MUST_SEARCH>
A caveat: Cyrillic!
Re: Terms handler in reverse order
Posted by Mikhail Khludnev <mk...@apache.org>.
Hello,
I think, there's nothing like sort order implemented in terms component now.
On Thu, Mar 23, 2023 at 4:05 PM Gajjar, Jigar <ga...@oclc.org> wrote:
> Hi All,
>
> I have requirement of using terms query to get all terms from the index
> field.
> Below query works for me but is there a way to get terms in descending
> order also?
> http://localhost:8983/solr/wc_bib/terms?terms.name=ti&terms.sort=index
>
> Thanks,
> Jigar Gajjar
>
--
Sincerely yours
Mikhail Khludnev
https://t.me/MUST_SEARCH
A caveat: Cyrillic!