|
Free-form search query support
|
|
12-05-2015, 12:52
Post: #1
|
|||
|
|||
|
Free-form search query support
Hello; we are trying to perform UPnP search on minimserver, but when using more complicated queries, we see some really strange behavior; e.g. for queries like
Code: dc:title contains "A" or dc:title contains "B"and like Code: dc:title contains "B" or dc:title contains "A"the result set is not the same. Also, for another search criteria, which are legitimate according to UPnP specs, we are getting "Unsupported or invalid search criteria" error, e.g.: Code: dc:title contains "A" and dc:title contains "B"In forums, we found a post saying that free-form search queries are (or at least, were) not supported; what subset of search queries is currently supported in minimserver? What are the cases when a search query would be processed without an error, but yield invalid results? |
|||
|
12-05-2015, 18:21
Post: #2
|
|||
|
|||
RE: Free-form search query support
(12-05-2015 12:52)streamunlimited Wrote: Hello; we are trying to perform UPnP search on minimserver, but when using more complicated queries, we see some really strange behavior; e.g. for queries like I am currently away from home and I will investigate this when I return home. It would be helpful if you could say which of these queries (if any) is producing a correct result and which is producing an incorrect result. Quote:Also, for another search criteria, which are legitimate according to UPnP specs, we are getting "Unsupported or invalid search criteria" error, e.g.: As I understand it, there is no server that fully supports the free-form query syntax in the UPnP specification. My intention with MinimServer is to support the query forms that UPnP control points are sending. Which control point are you using to generate the queries that aren't supported? If MinimServer accepts a query as supported, the results should never be incorrect. If this is happening, it is a bug and I will fix it. |
|||
|
12-05-2015, 18:40
Post: #3
|
|||
|
|||
|
RE: Free-form search query support
We are developing our own application, which communicates with MinimServer; thus, we would like to know what forms of queries can be safely used. I'm currently out of the office, but most remarkable problem I've seen is:
dc:title contains "Something" or dc:title contains "Else" returning a list of songs containing Something (I'm not sure about 'Else' now), but dc:title contains "Else" or dc:title contains "Something" returning an empty search result. We will try to generate a setup, in which this issue can be easily reproduced. |
|||
|
12-05-2015, 21:19
Post: #4
|
|||
|
|||
RE: Free-form search query support
(12-05-2015 18:40)streamunlimited Wrote: We are developing our own application, which communicates with MinimServer; thus, we would like to know what forms of queries can be safely used. I'm currently out of the office, but most remarkable problem I've seen is: Thanks for the quick reply. This sounds like a bug and it should (I hope) be fairly simple to fix. The bug might be related to the repetition of 'dc:title contains' within the same 'or' expression. I will let you know when I have more information. I will contact you via PM to continue the discussion about what subset of the query language is (or should be) supported by MinimServer. |
|||
|
01-10-2015, 22:23
Post: #5
|
|||
|
|||
RE: Free-form search query support
(12-05-2015 21:19)simoncn Wrote: Thanks for the quick reply. This sounds like a bug and it should (I hope) be fairly simple to fix. The bug might be related to the repetition of 'dc:title contains' within the same 'or' expression. I will let you know when I have more information. This bug is now fixed in MinimServer update 67. |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread:

Search
Member List
Calendar
Help



