# Search string URL

**URL:** https://meta.discourse.org/t/search-string-url/66500
**Category:** Support
**Created:** [2017年七月20日 10:31 UTC](https://meta.discourse.org/t/search-string-url/66500 "2017-07-20T10:31:42Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Vimala\_Ayya](https://avatars.discourse-cdn.com/v4/letter/v/e47c2d/32.png) [@Vimala\_Ayya](https://meta.discourse.org/u/Vimala_Ayya)
#### Post date: [2017年七月20日 10:31 UTC](https://meta.discourse.org/t/search-string-url/66500/1 "2017-07-20T10:31:42Z")

</div>

This is probably a very silly question but I need to link to the forum from another website with a search query but any search queries I run come up with the wrong answers.

For instance, if I want to search for DN1 via `../search?q=DN1` , it also comes up with DN10, DN11,DN101, etc. If I try something like `../search?q=DN1%20` it just strips the whitespace and comes up with the same result. I tried various other ways but cannot find the correct search query to run. So what is the correct way?

Thanks!

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2017年七月20日 12:30 UTC](https://meta.discourse.org/t/search-string-url/66500/2 "2017-07-20T12:30:36Z")

</div>

I had a similar problem recently trying to search here for “app”; I tried searching for "app ", but that didn’t seem to work either.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2017年七月20日 23:04 UTC](https://meta.discourse.org/t/search-string-url/66500/3 "2017-07-20T23:04:54Z")

</div>

Seems fine to me.. it is a slow search since there are a billion hits for a word so generic though

 ![](https://global.discourse-cdn.com/meta/original/3X/b/d/bd4176d500b4b6a64c2230babf5af5290abcde38.png)

---

<div class="post-metadata">

### Author: ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)
#### Post date: [2017年七月20日 23:57 UTC](https://meta.discourse.org/t/search-string-url/66500/4 "2017-07-20T23:57:19Z")

</div>

I think the issue is searching for “app” without the “approve” results in second slot. If a stem is less common than a complete word, finding just the stem is difficult. The request is for a way to not get those longer results.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2017年七月22日 13:13 UTC](https://meta.discourse.org/t/search-string-url/66500/5 "2017-07-22T13:13:46Z")

</div>

I was looking for a quote from you saying something like "the JavaScript app is the documentation ", but it was also matching every word that starts with “app” so I gave up. As the OP says, there seems to be no way to search for “app” without also matching “approve”, “apple”, and so on.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2017年七月22日 16:39 UTC](https://meta.discourse.org/t/search-string-url/66500/6 "2017-07-22T16:39:41Z")

</div>

Why didn’t you search for “JavaScript app” with the quotes? Try it.

---

<div class="post-metadata">

### Author: ![Vimala\_Ayya](https://avatars.discourse-cdn.com/v4/letter/v/e47c2d/32.png) [@Vimala\_Ayya](https://meta.discourse.org/u/Vimala_Ayya)
#### Post date: [2017年七月23日 10:01 UTC](https://meta.discourse.org/t/search-string-url/66500/7 "2017-07-23T10:01:19Z")

</div>

The problem here is simply solved by looking for _"app "_ (with a space behind it and in quotation marks"). This gives you the following url: `/search?q="app%20"`

But for some reason on our forum that does not work; it now gives me all the results for where the search-string as well as quotation marks appear and not just the search-string itself.  
Note also the double quotation marks in **`16 results found for ""dn1 ""`** , which it does not do in Meta.  
We are still running a slightly older version: v1.9.0.beta2 +27 but could that explain the difference?

 ![](https://global.discourse-cdn.com/meta/original/3X/1/d/1d84a988faa0445f9c1e80dfcce078b7d9e952e9.png)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2017年七月24日 16:02 UTC](https://meta.discourse.org/t/search-string-url/66500/8 "2017-07-24T16:02:58Z")

</div>

Are you running latest?

---

<div class="post-metadata">

### Author: ![Vimala\_Ayya](https://avatars.discourse-cdn.com/v4/letter/v/e47c2d/32.png) [@Vimala\_Ayya](https://meta.discourse.org/u/Vimala_Ayya)
#### Post date: [2017年七月31日 08:03 UTC](https://meta.discourse.org/t/search-string-url/66500/9 "2017-07-31T08:03:04Z")

</div>

Sorry to get back to you so late. I was waiting for our main developer to come back from holiday but it seems he has disappeared so I went ahead and upgraded myself. Indeed, this has solved the problem!  
Thanks!!!

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2017年七月31日 08:18 UTC](https://meta.discourse.org/t/search-string-url/66500/10 "2017-07-31T08:18:04Z")

</div>


