You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by rulinma <ru...@gmail.com> on 2014/10/27 07:05:24 UTC

how to query this?

I have a query on course:
1. if course will begin, then sort those by beginTime asc.
2. if couse ended, then sort those by begin desc.

how to query use solr?

thanks.




--
View this message in context: http://lucene.472066.n3.nabble.com/how-to-query-this-tp4165998.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: how to query this?

Posted by rulinma <ru...@gmail.com>.
not solve my question.



--
View this message in context: http://lucene.472066.n3.nabble.com/how-to-query-this-tp4165998p4166007.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: how to query this?

Posted by Mikhail Khludnev <mk...@griddynamics.com>.
check if() and map()
https://cwiki.apache.org/confluence/display/solr/Function+Queries

On Mon, Oct 27, 2014 at 9:05 AM, rulinma <ru...@gmail.com> wrote:

> I have a query on course:
> 1. if course will begin, then sort those by beginTime asc.
> 2. if couse ended, then sort those by begin desc.
>
> how to query use solr?
>
> thanks.
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/how-to-query-this-tp4165998.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Sincerely yours
Mikhail Khludnev
Principal Engineer,
Grid Dynamics

<http://www.griddynamics.com>
<mk...@griddynamics.com>