Discussion:
[General] URL matches list as query string
Teijo
2017-03-30 13:03:40 UTC
Permalink
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.

Best regards,

Teijo
Alexander Barkov
2017-04-05 10:58:44 UTC
Permalink
Hi Teijo,
Post by Teijo
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.
Post by Teijo
Best regards,
Teijo
_______________________________________________
General mailing list
http://lists.mnogosearch.org/listinfo/general
Teijo
2017-04-06 22:04:57 UTC
Permalink
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&m=all&wm=beg&ul=document1+document2

I have tried also to pass this (and other variants with different ul
parameter) directly to search.cgi.

Best regards,

Teijo
Post by Alexander Barkov
Hi Teijo,
Post by Teijo
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.
Post by Teijo
Best regards,
Teijo
_______________________________________________
General mailing list
http://lists.mnogosearch.org/listinfo/general
Alexander Barkov
2017-04-07 09:12:27 UTC
Permalink
Hello,
Post by Teijo
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.
?q=test&m=all&wm=beg&ul=document1+document2
Try multiple ul= parameters:

?q=test&m=all&wm=beg&ul=document1&ul=document2
Post by Teijo
I have tried also to pass this (and other variants with different ul
parameter) directly to search.cgi.
Best regards,
Teijo
Post by Alexander Barkov
Hi Teijo,
Post by Teijo
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.
Post by Teijo
Best regards,
Teijo
_______________________________________________
General mailing list
http://lists.mnogosearch.org/listinfo/general
_______________________________________________
General mailing list
http://lists.mnogosearch.org/listinfo/general
Teijo
2017-04-07 10:40:09 UTC
Permalink
Hello,

Multiple ul= parameters resolved the problem. Thank you!

Best regards,

Teijo
Post by Teijo
Hello,
Post by Teijo
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.
?q=test&m=all&wm=beg&ul=document1+document2
?q=test&m=all&wm=beg&ul=document1&ul=document2
Post by Teijo
I have tried also to pass this (and other variants with different ul
parameter) directly to search.cgi.
Best regards,
Teijo
Post by Alexander Barkov
Hi Teijo,
Post by Teijo
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.
Post by Teijo
Best regards,
Teijo
_______________________________________________
General mailing list
http://lists.mnogosearch.org/listinfo/general
_______________________________________________
General mailing list
http://lists.mnogosearch.org/listinfo/general
_______________________________________________
General mailing list
http://lists.mnogosearch.org/listinfo/general
Loading...