Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
edavis215 committed Jul 23, 2018
1 parent e24997f commit 5bb2330
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions docs/index.html
Expand Up @@ -150,7 +150,6 @@ <h4 id="activity-parameters">Activity Parameters</h4>
<pre>
https://hnrss.org/show?points=100&comments=25
</pre>


<p>Unfortunately, <code>/newcomments</code> <a href="https://github.com/algolia/hn-search/issues/55#issuecomment-73599729">does not work</a> with a <code>points=N</code>
parameter.</p>
Expand All @@ -164,15 +163,15 @@ <h4 id="search-parameter">Search Parameter</h4>
<p>Here are some examples:</p>

<ul>
<li><a href="https://hnrss.org/newest?q=Wordpress">https://hnrss.org/newest?q=Wordpress</a> &ndash; Search for posts with
&ldquo;Wordpress&rdquo; in the title only.</li>
<li><a href="https://hnrss.org/newest?q=Wordpress&amp;search_attrs=url">https://hnrss.org/newest?q=Wordpress&amp;search_attrs=url</a> &ndash; Search for
posts with &lsquo;Wordpress&rsquo; in the URL only.</li>
<li><a href="https://hnrss.org/newest?q=Wordpress&amp;search_attrs=title,url">https://hnrss.org/newest?q=Wordpress&amp;search_attrs=title,url</a> &ndash; Search
for posts with &lsquo;Wordpress&rsquo; in the title or URL.</li>
<li><a href="https://hnrss.org/newest?q=Wordpress&amp;search_attrs=default">https://hnrss.org/newest?q=Wordpress&amp;search_attrs=default</a> &ndash; Don&rsquo;t
<li><a href="https://hnrss.org/newest?q=WordPress">https://hnrss.org/newest?q=WordPress</a> &ndash; Search for posts with
&ldquo;WordPress&rdquo; in the title only.</li>
<li><a href="https://hnrss.org/newest?q=WordPress&amp;search_attrs=url">https://hnrss.org/newest?q=WordPress&amp;search_attrs=url</a> &ndash; Search for
posts with &lsquo;WordPress&rsquo; in the URL only.</li>
<li><a href="https://hnrss.org/newest?q=WordPress&amp;search_attrs=title,url">https://hnrss.org/newest?q=WordPress&amp;search_attrs=title,url</a> &ndash; Search
for posts with &lsquo;WordPress&rsquo; in the title or URL.</li>
<li><a href="https://hnrss.org/newest?q=WordPress&amp;search_attrs=default">https://hnrss.org/newest?q=WordPress&amp;search_attrs=default</a> &ndash; Don&rsquo;t
restrict search attributes at all. This searches for posts
containing &lsquo;Wordpress&rsquo; in all attributes indexed by Algolia. This
containing &lsquo;WordPress&rsquo; in all attributes indexed by Algolia. This
was the behavior of searches prior to June 3, 2015.</li>
</ul>

Expand Down

0 comments on commit 5bb2330

Please sign in to comment.