# Searching Google Books

**URL:** <https://discuss.elastic.co/t/searching-google-books/173074>\
**Category:** Elasticsearch\
**Created:** [March 20, 2019, 5:13am UTC](https://discuss.elastic.co/t/searching-google-books/173074 "2019-03-20T05:13:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Laurie\_Stearn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/laurie_stearn/32/42386_2.png) [@Laurie\_Stearn](https://discuss.elastic.co/u/Laurie_Stearn)\
**Post date:** [March 20, 2019, 5:13am UTC](https://discuss.elastic.co/t/searching-google-books/173074/1 "2019-03-20T05:13:39Z")

</div>

Hi there,  
Can ElasticSearch be used to search through Google Books?  
There are some issues with how search results are organised- they are best explained over at [Stack Exchange](https://softwareengineering.stackexchange.com/questions/380543/google-search-results-ordered-by-relational-position-in-texts)- where they didn't initially appear to be clear enough.  
Suppose we search for a near contiguous set of terms known to be associated with a sentence or phrase, but the OCR technology barfs some of the characters in the text of books which may contain them. Let's take "Hello My Elastic World". To reduce the chance of this happening, we then try for "Hello" "My" "Elastic" "World", which is great, because if the "r" in "world" turns out to be "?", courtesy of OCR, Google will still return results for "Hello" "My" "Elastic".  
But, unfortunately, in the search results, there is no rhyme or reason as to how close together those terms might be. I have discovered situations where "Elastic" might be 30 pages after "My" in a search result. Or it might even be before it.  
Yet, go to page 100 of the search results, and _find a result where "Hello" "My" "Elastic" are on the same text page, and are close together_.

In the context of above, has anyone here any idea of how Google order their results they way they do?  
Thanks for reading!

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 20, 2019, 5:15am UTC](https://discuss.elastic.co/t/searching-google-books/173074/2 "2019-03-20T05:15:06Z")

</div>

> [@Laurie\_Stearn](#):
>
> In the context of above, has anyone here any idea of how Google order their results they way they do?

The way google approaches search is entirely different to the way Elasticsearch works. I am not sure how much anyone would know and/or be able and willing to share about what they do .

---

<div class="post-metadata">

**Author:** ![Laurie\_Stearn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/laurie_stearn/32/42386_2.png) [@Laurie\_Stearn](https://discuss.elastic.co/u/Laurie_Stearn)\
**Post date:** [March 20, 2019, 5:19am UTC](https://discuss.elastic.co/t/searching-google-books/173074/3 "2019-03-20T05:19:25Z")

</div>

Thanks. Best probably asked at the Google forums, but, do you know if there been any interest from 3rd parties as to promote negotiations in further developing Google Book search?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 20, 2019, 5:26am UTC](https://discuss.elastic.co/t/searching-google-books/173074/4 "2019-03-20T05:26:58Z")

</div>

No idea sorry.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 20, 2019, 7:54am UTC](https://discuss.elastic.co/t/searching-google-books/173074/5 "2019-03-20T07:54:15Z")

</div>

I wonder if you could run something like a phrase match query with a fuzziness factor? That's sadly something you can't do directly but as proposed in [Combine Phrases search AND fuzzy matching](https://discuss.elastic.co/t/combine-phrases-search-and-fuzzy-matching/76535) you can may be use span queries?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 17, 2019, 8:08am UTC](https://discuss.elastic.co/t/searching-google-books/173074/6 "2019-04-17T08:08:25Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
