Sorry Francois but I still don’t get it. Is your problem building a query or retrieving results from Solr? If it is building query, then it seems like your custom logic. You might be able to index more things is Solr and move that logic in Solr, but I really don’t get what is in your Test index, what you try to get from index and what is the problem.
Maybe explaining what this query returns and what you would like it to return would help. Thanks Emir -- Monitoring - Log Management - Alerting - Anomaly Detection Solr & Elasticsearch Consulting Support Training - http://sematext.com/ > On 1 Jun 2018, at 13:04, servus01 <francois.rein...@sportcast.de> wrote: > > 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