Re: [fossil-users] Technotes and Search results

2016-12-14 Thread Chris Rydalch
I've been trying to get add technotes to search, but I'm not very familiar
with sqlite3, and only semi-familiar with C in general, so I'm learning as
I go.

Here's where I'm at so far:

db_multi_exec(
"INSERT INTO x(label,url,score,id,date,snip)"
" SELECT printf('Tech-note %%s (%%s)',title('event',objid,NULL),"
"datetime(mtime)),"
" printf('/technote/%%.20s',objid),"
" search_score(),"
" 'event'||objid,"
" datetime(mtime),"
" search_snippet()"
" FROM event"
" WHERE
search_match(title('event',objid,NULL),body('event',objid,NULL));"
);

That builds fine, an I'm not getting any errors when I search, but I don't
get any technote results either. Would anyone be kind enough to provide a
helpful nudge, and help me see what I'm missing?

Thanks

On Fri, Dec 9, 2016 at 8:26 PM, Chris Rydalch  wrote:

> As I've been getting my feet wet with Fossil, I noticed the Search doesn't
> seem to return any matches in Technotes.
>
> Is there some hidden way to configure the search to include Technotes?
> Martijn on Stackoverflow pointed out that the source code doesn't look at
> technotes, but should they be included in the wiki category? Or are they
> omitted for a specific reason?
>
> Thanks in advance!
>
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Technotes and Search results

2016-12-09 Thread Chris Rydalch
As I've been getting my feet wet with Fossil, I noticed the Search doesn't seem 
to return any matches in Technotes.
Is there some hidden way to configure the search to include Technotes? Martijn 
on Stackoverflow pointed out that the source code doesn't look at technotes, 
but should they be included in the wiki category? Or are they omitted for a 
specific reason? 
Thanks in advance!___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users