Re: [General] URL matches list as query string
Hello, Multiple ul= parameters resolved the problem. Thank you! Best regards, Teijo 7.4.2017, 12:12, Alexander Barkov kirjoitti: Hello, On 04/07/2017 02:04 AM, Teijo wrote: Hello, I have URL (server) I have indexed; for example: www.example.com/files containing several documents. I would like to restrict search results only to documents which names are document1 and document2. If ul parameter in query string contains only document1 or document2, but not both, search results are restricted to the corresponding document. But I have not found a way to get ul parameter in query string to be such one that restriction would contain both documents. I get no matches when trying to put both documents to query string although both documents contain word I'm searching for. This is an example query string which does not work: ?q=test=all=beg=document1+document2 Try multiple ul= parameters: ?q=test=all=beg=document1=document2 I have tried also to pass this (and other variants with different ul parameter) directly to search.cgi. Best regards, Teijo 5.4.2017, 13:58, Alexander Barkov kirjoitti: Hi Teijo, On 03/30/2017 05:03 PM, Teijo wrote: Hello, I have tried with multi selection list box and text edit field. In both cases only one item is accepted. If I try with more than one, the rest are omitted (multi selection) or your search did not match any documents message is shown (when entered in the text edit field. I do not know what to try next. Can you clarify please what exactly you're doing. How does the relevant HTML code look like, and how does the URL look like after you submit. Thanks. Best regards, Teijo ___ General mailing list General@mnogosearch.org http://lists.mnogosearch.org/listinfo/general ___ General mailing list General@mnogosearch.org http://lists.mnogosearch.org/listinfo/general ___ General mailing list General@mnogosearch.org http://lists.mnogosearch.org/listinfo/general ___ General mailing list General@mnogosearch.org http://lists.mnogosearch.org/listinfo/general
Re: [General] URL matches list as query string
Hello, On 04/07/2017 02:04 AM, Teijo wrote: > Hello, > > I have URL (server) I have indexed; for example: www.example.com/files > containing several documents. I would like to restrict search results > only to documents which names are document1 and document2. > > If ul parameter in query string contains only document1 or document2, > but not both, search results are restricted to the corresponding > document. But I have not found a way to get ul parameter in query string > to be such one that restriction would contain both documents. I get no > matches when trying to put both documents to query string although both > documents contain word I'm searching for. > > This is an example query string which does not work: > > ?q=test=all=beg=document1+document2 Try multiple ul= parameters: ?q=test=all=beg=document1=document2 > > I have tried also to pass this (and other variants with different ul > parameter) directly to search.cgi. > > Best regards, > > Teijo > > 5.4.2017, 13:58, Alexander Barkov kirjoitti: > >> Hi Teijo, >> >> On 03/30/2017 05:03 PM, Teijo wrote: >>> Hello, >>> >>> I have tried with multi selection list box and text edit field. In both >>> cases only one item is accepted. If I try with more than one, the rest >>> are omitted (multi selection) or your search did not match any documents >>> message is shown (when entered in the text edit field. >>> >>> I do not know what to try next. >> >> Can you clarify please what exactly you're doing. >> >> How does the relevant HTML code look like, >> and how does the URL look like after you submit. >> >> Thanks. >> >>> >>> Best regards, >>> >>> Teijo >>> ___ >>> General mailing list >>> General@mnogosearch.org >>> http://lists.mnogosearch.org/listinfo/general > ___ > General mailing list > General@mnogosearch.org > http://lists.mnogosearch.org/listinfo/general ___ General mailing list General@mnogosearch.org http://lists.mnogosearch.org/listinfo/general
Re: [General] URL matches list as query string
Hello, I have URL (server) I have indexed; for example: www.example.com/files containing several documents. I would like to restrict search results only to documents which names are document1 and document2. If ul parameter in query string contains only document1 or document2, but not both, search results are restricted to the corresponding document. But I have not found a way to get ul parameter in query string to be such one that restriction would contain both documents. I get no matches when trying to put both documents to query string although both documents contain word I'm searching for. This is an example query string which does not work: ?q=test=all=beg=document1+document2 I have tried also to pass this (and other variants with different ul parameter) directly to search.cgi. Best regards, Teijo 5.4.2017, 13:58, Alexander Barkov kirjoitti: Hi Teijo, On 03/30/2017 05:03 PM, Teijo wrote: Hello, I have tried with multi selection list box and text edit field. In both cases only one item is accepted. If I try with more than one, the rest are omitted (multi selection) or your search did not match any documents message is shown (when entered in the text edit field. I do not know what to try next. Can you clarify please what exactly you're doing. How does the relevant HTML code look like, and how does the URL look like after you submit. Thanks. Best regards, Teijo ___ General mailing list General@mnogosearch.org http://lists.mnogosearch.org/listinfo/general ___ General mailing list General@mnogosearch.org http://lists.mnogosearch.org/listinfo/general
Re: [General] URL matches list as query string
Hi Teijo, On 03/30/2017 05:03 PM, Teijo wrote: > Hello, > > I have tried with multi selection list box and text edit field. In both > cases only one item is accepted. If I try with more than one, the rest > are omitted (multi selection) or your search did not match any documents > message is shown (when entered in the text edit field. > > I do not know what to try next. Can you clarify please what exactly you're doing. How does the relevant HTML code look like, and how does the URL look like after you submit. Thanks. > > Best regards, > > Teijo > ___ > General mailing list > General@mnogosearch.org > http://lists.mnogosearch.org/listinfo/general ___ General mailing list General@mnogosearch.org http://lists.mnogosearch.org/listinfo/general