Post
Topic
Board Meta
Merits 98 from 20 users
Topic OP
[BETA] NEW ninjastic.space search
by
TryNinja
on 20/07/2024, 12:37:25 UTC
⭐ Merited by NeuroticFish (15) ,LoyceV (12) ,suchmoon (10) ,ABCbits (8) ,hosseinimr93 (8) ,dkbit98 (8) ,nutildah (6) ,vapourminer (5) ,mole0815 (5) ,PowerGlove (5) ,Xal0lex (5) ,ibminer (2) ,joker_josue (2) ,morvillz7z (1) ,mu_enrico (1) ,Cyrus (1) ,Lafu (1) ,Pumared (1) ,DirtyKeyboard (1) ,DdmrDdmr (1)
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.space

I'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).

The main difference between this beta and the ninjastic.space search page is that now you can search everything with a single query. You can use special search tags to filter better your results. By default, the search will also only consider the content from each post itself (ignoring any user quotes, that is, anything inside quotes that have the "Quoted from: USER" title). 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, on topic ID 1935098, made from 2017-01-01 to 2019-01-01, with the exact phrase "signing address":
Code:
author:LoyceV quoted_user:TryNinja topic_id:1935098 from_date:2017-01-01 to_date:2019-01-01 "signing address"

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).



SEARCH TAGS:

Code:
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)



SEARCHING EXAMPLES:

Quote
Search by keywords simply by writing the words on the search field:

- Returning all posts with the words "wasabi", "privacy", "feature".
Code:
Wasabi privacy feature

Quote
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.
Code:
topic_id:5419000|5419001 "Wasabi privacy feature"

Quote
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.
Code:
include_quotes:true "Wasabi privacy feature"

Quote
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".
Code:
quotes:"privacy matters" "They are lying"

Quote
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".
Code:
quotes:*"privacy matters" "They are lying"

Quote
Search a post with a specific URL.

- Returning all posts with the exact phrase "Proof of authentication" and with the URL "twitter.com".
Code:
url:"twitter.com" "Proof of authentication"

Quote
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".
Code:
title:"Discussions about Bitcoin" from_date:2018-06-29 to_date:2018-06-30