Some people have said the searching mechanism on ninjastic.space is bad, so I'm looking for ways to improve it.
Today I'm releasing this beta page:
https://search-beta.ninjastic.spaceI'll explore new designs for it and take suggestions (let me know what you think). The plan is for this page to become the new ninjastic.space (at least for the searching part).
- You can search everything with a single query.
- You can use special search tags to better filter your results.
- By default, the search will only consider the content from each post itself (ignoring any user quotes, that is, anything inside quotes that have the "Quoted from: USER" header).
- The content that shows up on the results page is the actual content (no user quotes) and the pagination is now numbered (max of 10k results, so 500 pages).
- Results are ordered by relevance (sorting by date will be added really soon).
This allows more complex searches like this one:
All posts from LoyceV, where he quotes TryNinja or theymos, on topic ID 5255508, made from 2019-01-01 to 2021-01-01, with the exact phrase "easy solution":
author:LoyceV quoted_user:TryNinja|theymos topic_id:5255508 from_date:2019-01-01 to_date:2021-01-01 "easy solution"
P.S: I have messed up separating URLs when indexing the data so that will be fixed in the near future when I reindex everything (takes many hours). Also note that some older posts scraped from Loyce's archive contains no board_id, so they won't be returned on queries where you specify a board_id.
SEARCH TAGS:author, topic_id, board_id, from_date, to_date, title, quotes, quoted_user, url, include_quotes
For
title and
quotes, it will do an exact match search by default. To do keywords, you can use :*
(i.e title:*"title with keywords")For
author,
topic_id,
board_id, and
quoted_user, you can specify multiple options ("OR") by using |
(i.e author:TryNinja|theymos|"John Doe" board_id:25|12)For
title,
quotes, and the
post content, you can negate a keyword using a minus -
(i.e "i like bitcoin" -doge)
SEARCHING EXAMPLES:Search by keywords simply by writing the words on the search field:
- Returning all posts with the words "wasabi", "privacy", "feature", but not the word "fees".
Wasabi privacy feature -fees
Search by exact phrase by writing the phrase between quotes:
- Returning all posts with the EXACT phrase "wasabi privacy feature" from the topic of id 5419000
or 5419001.
topic_id:5419000|5419001 "Wasabi privacy feature"
Include searching inside user quotes (i.e "quoted from: TryNinja") with the tag include_quotes:true
- Returning all posts with the EXACT phrase "wasabi privacy feature",
including the content inside user quotes.
include_quotes:true "Wasabi privacy feature"
Search an exact specific content found ONLY inside user quotes with the tag quotes.
- Returning all posts with the EXACT phrase "They are lying"
AND that have a user quote with the EXACT phrase "privacy matters".
quotes:"privacy matters" "They are lying"
Search a specific
keyword content found ONLY inside user quotes with the tag quotes.
- Returning all posts with the EXACT phrase "They are lying"
AND that have a user quote with the
keywords "privacy", "matters".
quotes:*"privacy matters" "They are lying"
Search a post with a specific URL.
- Returning all posts with the exact phrase "Proof of authentication" and with the URL "twitter.com".
url:"twitter.com" "Proof of authentication"
Search a post with date ranges
- Returning all posts from 2018-06-29 to 2018-06-30 which title has the EXACT phrase "Discussions about Bitcoin".
title:"Discussions about Bitcoin" from_date:2018-06-29 to_date:2018-06-30