<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Matt Walters - Latest Comments</title><link>http://mattwalters.disqus.com/</link><description></description><atom:link href="https://mattwalters.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 27 Feb 2020 04:18:58 -0000</lastBuildDate><item><title>Re: Hugo and Lunr · Matt Walters</title><link>https://www.mattwalters.net/posts/hugo-and-lunr/#comment-4812178617</link><description>&lt;p&gt;Have you solve your problem ; the best way to solve the same is copy Matt's search.js from github and add another control which Matt implemented in his top search with this&lt;/p&gt;&lt;p&gt;&amp;lt;input id="header-search" name="q" class="form-control mr-sm-2" type="text" placeholder="Search" aria-label="Search"&amp;gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">SantanuMisra</dc:creator><pubDate>Thu, 27 Feb 2020 04:18:58 -0000</pubDate></item><item><title>Re: Hugo and Lunr · Matt Walters</title><link>https://www.mattwalters.net/posts/hugo-and-lunr/#comment-4556753067</link><description>&lt;p&gt;Hi! I getting `$header-search is null` exception in console and nothing works :-(&lt;br&gt;Ups figured that you have extra search box in header, without it it does not works without some tweaking.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mike Klemin</dc:creator><pubDate>Sun, 28 Jul 2019 12:24:20 -0000</pubDate></item><item><title>Re: Hugo and Lunr · Matt Walters</title><link>https://www.mattwalters.net/posts/hugo-and-lunr/#comment-4484844864</link><description>&lt;p&gt;If you take a look at my search page and the JavaScript on it you should be able to get the basic idea.&lt;/p&gt;&lt;p&gt;Essentially, all the search forms in my header use the GET method which means the text typed in the search bar will be passed as a URL parameter. When the search page loads, the code looks to see if the parameter is set and has a value. If so, then it immediately performs a search after the search page has loaded.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt</dc:creator><pubDate>Fri, 31 May 2019 21:55:53 -0000</pubDate></item><item><title>Re: Hugo and Lunr · Matt Walters</title><link>https://www.mattwalters.net/posts/hugo-and-lunr/#comment-4484827928</link><description>&lt;p&gt;This was really helpful! Thank you! I was able to set up search on my hugo site with your examples. I am wondering how you have your site set up with a search form on each page? Right now I just have a link to my search page. I can't figure out how to have a search form that sends results to a different page.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">logansmom</dc:creator><pubDate>Fri, 31 May 2019 21:33:49 -0000</pubDate></item><item><title>Re: Hugo and Lunr · Matt Walters</title><link>https://www.mattwalters.net/posts/hugo-and-lunr/#comment-3999777664</link><description>&lt;p&gt;Hmm. That does sound odd. I believe lunr should only search once a certain number of characters are entered. It’s weird that you’re getting results on one character. You might try looking at the search phrase that is being used to call the search with lunr (e.g. console.log, etc). Make sure it’s being called with the search phrase you expect. It should be a simple string I believe (sorry, on mobile at the moment so can’t check the code specifically). Checking what is fed to lunr would be my first thought though. If that’s correct then I would wonder if you’ve found a bug deeper in lunr.&lt;/p&gt;&lt;p&gt;May also want to examine the search index json to make sure it is being created correctly (has full page/post info, etc).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt</dc:creator><pubDate>Sat, 21 Jul 2018 12:07:58 -0000</pubDate></item><item><title>Re: Hugo and Lunr · Matt Walters</title><link>https://www.mattwalters.net/posts/hugo-and-lunr/#comment-3999426651</link><description>&lt;p&gt;Thanks for your explanations!&lt;/p&gt;&lt;p&gt;One question, when I use Josephs code with Lunr 1.0, and search for a word, I get hits on all letters of a word. When I use this with Lunr 2.3.0 I see following:  first character shows documents, then two more characters show "no result found" and the whole word finds documents again. Any idea where I can start digging into that?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">stoeps</dc:creator><pubDate>Sat, 21 Jul 2018 06:07:07 -0000</pubDate></item><item><title>Re: Matt Walters - Senior Web &amp; PHP Developer in Richmond, VA</title><link>http://mattwalters.net/2012/03/05/what-does-your-desk-look-like.html#comment-457320478</link><description>&lt;p&gt;Thank you for that last note. My first question was why is Sprocket in a cage. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dspagnola</dc:creator><pubDate>Mon, 05 Mar 2012 19:40:43 -0000</pubDate></item><item><title>Re: Matt Walters - Senior Web &amp; PHP Developer in Richmond, VA</title><link>http://mattwalters.net/Updates-to-markd.html#comment-420363799</link><description>&lt;p&gt;Dude. This is an awesome idea. I can't wait to see where it goes. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Weber</dc:creator><pubDate>Wed, 25 Jan 2012 01:35:51 -0000</pubDate></item></channel></rss>