Re: search q via dynamic string depends on date

2018-06-02 Thread servus01
Yeah shawn, you're right. But what i hoped to get was a hint howto build this a easy way. Maybe something like a double query with a check between. check fq = highest match will be last matchday = query with last matchday i will google for some php script that can do this if you got a hint,

Re: search q via dynamic string depends on date

2018-06-01 Thread Shawn Heisey
On 5/31/2018 7:19 AM, servus01 wrote: what i've got: xml file with a date/description fields which are not part of the index: (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")

Re: search q via dynamic string depends on date

2018-06-01 Thread Emir Arnautović
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

Re: search q via dynamic string depends on date

2018-06-01 Thread servus01
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"

Re: search q via dynamic string depends on date

2018-06-01 Thread Emir Arnautović
Hi Francois, I am not sure I follow your case: “which are NOT part of the index”. You have to convert your XML doc to Solr input doc and index it in order to be able to search. Alternatively, you can threat entire doc as a single field and search it using phrase search, but that solution is

search q via dynamic string depends on date

2018-05-31 Thread servus01
Hey, digging the web for a while now to find a solution due to a complex search string. what i've got: xml file with a date/description fields which are not part of the index: (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"