Is it possible to use allintitle and allintext in the same search?

by Trivum
3 replies
I've never been able to do this, and so I thought it was impossible, but I just thought I'd throw it out there to see if anyone had a solution.

I'd like to search Google News (not regular search) and only return articles where "Word1" is in the title, but then "Word2" must be in the body of the text somewhere.

If it were simple, you should be able to use the following search operators together:

allintitle: word1 allintext: word2

But this doesn't work. Is there another way?

Thanks.
#allintext #allintitle #search
  • Profile picture of the author Michael Shook
    Originally Posted by Trivum View Post

    I've never been able to do this, and so I thought it was impossible, but I just thought I'd throw it out there to see if anyone had a solution.

    I'd like to search Google News (not regular search) and only return articles where "Word1" is in the title, but then "Word2" must be in the body of the text somewhere.

    If it were simple, you should be able to use the following search operators together:

    allintitle: word1 allintext: word2

    But this doesn't work. Is there another way?

    Thanks.
    Maybe there is some other way to get this done without using all in operators.

    Here is a reference to this from:

    Using Google Search Operators - Google Guide

    4.1. Search Operators that Can't Be Combined

    There are about a dozen search operators that can't be combined with any other. If you do, Google probably won't return any matching documents. Search operators that shouldn't be mixed include:
    • All the search operators whose names begin with "allin," e.g., allinanchor:, allintext:, allintitle:, and allinurl:.
    • Syntaxes that request special information, e.g., define: or phonebook.
    • Page-specific search operators, e.g., cache:, info:, related:.
    Signature


    {{ DiscussionBoard.errors[3564012].message }}
    • Profile picture of the author Trivum
      Originally Posted by JMichaelZ View Post

      Here is a reference to this from:

      Using Google Search Operators - Google Guide

      Excellent! Thanks. This had the answer:

      Focus your search by using several search operators. For example, [ intext:e-mail intitle:security -site:microsoft.com ] finds pages whose titles contain the word "security," with the word "e-mail" on the text of the page and not on the site microsoft.com.

      I didn't even know "intitle" and "intext" existed. I guess "allintitle" and "allintext" mean "all of these words."
      {{ DiscussionBoard.errors[3564142].message }}
      • Profile picture of the author KenJ
        This is what you need

        intitle:"keyword" inanchor:"keyword"

        There is a space between the 2 queries

        Do not make too many calls in one session. I freaks google out.

        Kenj
        {{ DiscussionBoard.errors[3564152].message }}

Trending Topics