How to search them all together?

It is newbie here.
When I use YaCy to search something in the web it looks like YaCy is giving me everything about each word I gave it. For example, if I place “big purple dog“ in the search field then YaCy gives me links to the pages with “big”, with “purple” and with “dog”.
How can I make it search pages which have all the words together ?

1 Like

You want stronger search that obeys your query. I also am disappointed that many pages come up in the search results containing only one of the keywords entered. However, there is a way to achieve more compliant results, if you are willing to craft a query in the URL itself.

Example: Today, I want to learn about…

the law signed by Barack Obama in 2011 that authorizes the detainment of American citizens by the US military without a trial or due process, called the National Defense Authorization Act (NDAA).

I will choose two keywords:

Obama
NDAA

Those keywords should be on the same page, not only one or the other, but both. Here is the search I used:

http://141.98.154.239:8090/solr/select?q=text_t:obama%20AND%20text_t:NDAA&rows=10&wt=json

The result: I found pages that included both keywords. A solr query is more powerful than using the default search web page.

You can append the solr query to your peer’s IP address, or to another peer. The search is local only and does not use the global search. So, your results depend on the quality of the single peer’s crawl data.

You could try appending this query to your desired peer IP address:

/solr/select?q=text_t:KeywordOne%20AND%20text_t:KeywordTwo&rows=10&wt=json

I do see this as well. The idea of entering multiple terms, is to take them al into consideration when the search is done.

what I miss is using a operators (AND, OR, NOT, NEAR…) in the search field. they are discarded as stopwords and not used as operators. see also issue #342

1 Like