lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From servus01 <francois.rein...@sportcast.de>
Subject Re: search q via dynamic string depends on date
Date Fri, 01 Jun 2018 11:04:45 GMT
Hey Emir,

yes of course. My problem is more related to dynamic data in the search
string.

I have an xml which is not part of my solr index and has matchday data e.g.:

> (start-date-time="2018-04-01T18:00:00.000+02:00" code-name="MD 28") 
> (start-date-time="2018-04-07T15:00:00.000+02:00" code-name="MD 29") 
> (start-date-time="2018-04-12T18:30:00.000+02:00" code-name="MD 30") 

And i have my solr index which contains data ralated to that "MD ..". I'am
looking for an possibility to do an one click/link query which checks actual
date against the matchday data to get the latest matchday and search with
this on my index.

E.g. today is 01. June, so latest Matchday is MD30:

http://mysolrserver:9777/solr/Test/search?q=Goals*&fq=roundTypeWithIndex%3AMD30&wt=json&indent=true&start=0&rows=50&facet=true

best

Francois






--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Mime
View raw message