Questions tagged [relevance]

Search Relevance is the practice of manipulating a search application's behavior to improve the quality of the search results based on the needs of the application's users

Search Relevance is the practice of improving the quality of search results in a search application. In relevance work, you line up a user audiences needs (as expressed in their natural language search string) with the content available in the search application.

For example, a customer typing the search "cancer" into a hospital site's search is likely to have very different expectations than doctors typing that term into a medical research site. In the hospital case, users want a "info desk" search user experience, and are likely interested in the hospital's cancer services. For doctors searching a research site, they're more likely to be interested in the latest cancer research.

With search relevance, you work to understand the user's needs and line up the search application's ranking behavior to match. Relevance work involves technical work to manipulate the ranking behavior of a commercial or open source search engine like Solr, Elasticsearch, Endeca, Algolia, etc. This means manipulating field weightings, query formulations, text analysis, and more complex search engine capabilities. It may also mean leveraging user behavioral data, NLP, statistical, and other machine learning techniques to modify or enrich the behavior of such a search engine.

More Reading

Blog

Books

273 questions
3
votes
1 answer

Elastic Search. _Score is null in aggregations. Why?

I use ES v 1.7. ES returns _score just only in "hits" section, but i'm not interested in "hits", I need data from "aggregations" section of responce with _score. Why ES do like that and How to fix it? Requset: { "size": 1, "query": { …
Ilya P
  • 37
  • 1
  • 6
3
votes
0 answers

Sorting By Relevancy in MongoDB without Exceeding the Memory Buffer

I'm playing with the recent support for full text search in MongoDB but finding it's limitations so severe it's not very usable. Perhaps I am misunderstanding how it works and someone could enlighten me. I want to display this most relevant results…
Eric Anderson
  • 3,692
  • 4
  • 31
  • 34
3
votes
1 answer

Understanding Solr Doc=

I have two indexed documents that I am trying to figure out the relevancy of why one is higher than the other. So I've ran DebugQuery=True in order to get the explain. Below is the relevant difference in the two documents. Two Different Types of…
Adam
  • 388
  • 1
  • 10
3
votes
1 answer

Higher score for first word in ElasticSearch

Right now my search gives me unwanted results when I search, say for "egg". I get following: _score: 2.7645843 _source: django_id: "18003" text: "Bagels, egg" content_auto: "Bagels, egg" django_ct: "web.fooddes" allergies: [] outdated:…
elena
  • 3,740
  • 5
  • 27
  • 38
3
votes
1 answer

Solr Function Query to Sort by phrase slop

For Solr 5.0.0, is there any way to sort the results by their phrase slop. Example: if my search word is laptop table, my current results are like this: laptop dell inspiron table dell laptop table laptop sony table dell inspiron laptop table But…
User123
  • 91
  • 6
3
votes
2 answers

How do I write a Solr FunctionQuery to boost documents with future dates?

Am trying to boost records with a particular date in the future closest to now towards the top of the results, and make those with dates in the past less relevant. I've seen a number of posts about how to boost results which are just closer to now,…
Greg Hinch
  • 807
  • 2
  • 8
  • 23
3
votes
2 answers

How to sort the results with reference to the keyword

I am developing a classifieds site. For searching product or company I am using wildcard (%) in both in front and back. $keyword = "%".$user_keyword."%"; And I am using the following mysql query: $query = "SELECT DISTINCT login.id_user, …
SCC
  • 509
  • 7
  • 13
3
votes
1 answer

Relevancy boosting very slow in Solr

I have a Solr index with about 2.5M items in it and I am trying to use an ExternalFileField to boost relevancy. Unfortunately, it's VERY slow when I try to do this, despite it being a beefy machine and Solr having lots of memory available. In the…
mlissner
  • 17,359
  • 18
  • 106
  • 169
3
votes
1 answer

Freebase scoring with data dumps

If you use Freebase search to get matches for any entity by name, you will get results sorted by relevance score. Try for example Taj Mahal. I'm trying to get similar results using Freebase data dumps, so in my database 'Taj Mahal' related topics…
Maksym Diachenko
  • 552
  • 1
  • 4
  • 11
3
votes
4 answers

java - tf*idf implementation?

I am basically creating a search engine and I want to implement tf*idf to rank my xml documents based on a search query. How do I implement it? How do I start it? Any help appreciated.
Aravind Chinta
  • 71
  • 1
  • 4
  • 9
2
votes
1 answer

freebase api for sorting by city relevance

I have a query where I would like to return all the cities for a given country. That works fine except I would like to also tweak so to sort it by size or any order of significance to avoid the 100 limit. I would like the first 100 cities to have…
ere
  • 1,739
  • 3
  • 19
  • 41
2
votes
4 answers

Function to dampen a value

I have a list of documents each having a relevance score for a search query. I need older documents to have their relevance score dampened, to try to introduce their date in the ranking process. I already tried fiddling with functions such as…
dscer
  • 228
  • 4
  • 11
2
votes
2 answers

Magento Search Engine Relevance Issues

We currently have a Magento website with a large inventory, we are having some issues with relevance of ON SITE search results. We are currently set to 'combine like and fulltext' but the results are aren't what we expected. For example searching…
WOBenji
  • 25
  • 1
  • 6
2
votes
1 answer

Elastic query for relevant data

From the below, candidate Data structure How to write a query for getting records for the query candidate must have java experience > 1 and SQL experience > 2 and good to have angular experience > 1 but not must. Is it possible with the below data…
Ramakrishna Reddy
  • 347
  • 1
  • 2
  • 18
2
votes
2 answers

Solr changes document's score when its random field value altered

I need to navigate forth and back in Solr results set ordered by score viewing documents one by one. To visualise that, first a list of document titles is presented to user, then he or she can click one of the title to see more details and then…
Yuriy
  • 1,964
  • 16
  • 23