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
1
vote
1 answer

Update Score based on interactive feedback for Elasticsearch

I am working on a project, which requires me to build a UI for a search engine. Elasticsearch is my choice. After indexing data and doing search queries, I also implement a function so that, if the user ticks on a result that is not relevant, I will…
1
vote
0 answers

How to measure relevance of address auto suggestion?

I am fairly new to auto-suggestion world. My area of interest is to provide top 'N' address suggestions (output) for partial address (input). Like how google maps does it or uber app does it when you type in a partial address. I have explored few…
JBourne
  • 335
  • 1
  • 3
  • 12
1
vote
1 answer

Full text search: how to sort by relevance?

I am using full text search and on my website it is common for user to search by few word, Author name (1-2 word) and title (1-3 word)... I need to have something like relevance search and already try to use containstable with Rank but result was…
st78
  • 8,028
  • 11
  • 49
  • 68
1
vote
2 answers

SQL Contains table and keword position in string

Have a question about full text search. I have a query that works, but I want to improve it. For example, suppose I'm searching for "best solution". In my result (using FTS,CONTAINSTABLE,NEAR,ISABOUT,*) I have the columns rank, id, string: rank| id…
Katya
  • 13
  • 4
1
vote
0 answers

Custom post type ordering for title relevance - WP_Query

I have been going around in circles for weeks now - I cannot seem to get my custom post type to order by title - I have a custom search with nearby function so want to keep that - my custom post queries display by title relevance on the WP Admin…
1
vote
1 answer

Java API for distance_feature in Elastic Search

I am trying to implement a relevance boost for date and geo-location fields using elastic search distance_feature. What Java API corresponds to distance_feature query? The following query works fine on Kibana: { "query": { "bool": { …
sg_sn
  • 13
  • 2
1
vote
0 answers

Displaying relevancy distribution in Lucene/SOLR

We're using Lucene/SOLR and we want to display a distribution graph of relevancy scores for all results. We're thinking iterating through all the results would be very inefficient, any suggestions how to do this 'on the fly'? The main purpose is to…
JRBTrip
  • 11
  • 1
1
vote
1 answer

ElasticSearch threshold for search results

I have an elasticsearch query that returns me the correct results in sorted order (the highest relevancy is at the top and is accurate). However, the query also returns me a lot of results and beyond the top 4 or 5, the results seem less relevant.…
Ram K
  • 1,746
  • 2
  • 14
  • 23
1
vote
1 answer

How to get better relevance without compromising on performance, scalability and avoid the sharding effect of Elasticsearch

Let's suppose I have a big index, consists 500 million docs and by default, ES creates 5 primary shards for below reasons and I also go with the same setting. Performance:- There will be less time to search in a shard with less no of documents(100…
Amit
  • 30,756
  • 6
  • 57
  • 88
1
vote
0 answers

Improving the relevance of production errors reporting

The support mailbox became unusable : In our mvc application, we catch exceptions thrown at several places (OnException implemented, try/catch in InvokeActionMethod, etc.) and we send a mail for each place (with a log4net appender). This results in…
1
vote
1 answer

How to debug the score value calculated for a document and query string which is displayed on solr admin console?

I have indexed few documents and now while trying to query a string from solr admin console, I am able to retrieve score value for each result retrieved by selecting field as score. But I would need to check the doc score, termfreq and other…
J M
  • 77
  • 12
1
vote
0 answers

Relevance query doesn't seem to select all records with a LIKE selection

With this relevance query i am trying to select/find a tag tags.tag 'computational thinking' by querying a part 'computational' from articles.id 16, however it doesnt seem to find more than one tag. Once i search for 'almere' it does give the…
Darkshifty
  • 343
  • 5
  • 12
1
vote
1 answer

ElasticSearch boosting relevance based on the count of the field value

I'm trying to boost the relevance based on the count of the field value. The less count of the field value, the more relevant. For example, I have 1001 documents. 1000 documents are written by John, and only one is written by Joe. // 1000…
johanzhou
  • 27
  • 1
  • 4
1
vote
0 answers

Elasticsearch 5.6 combining constant score and bool queries

I'm currently working on a search engine for a website which is using a PHP API querying into an Elasticsearch 5.6 index. I have been stuck for a long while on a specific query and that's why I am looking for some help from the community. Let me…
1
vote
0 answers

Slow SQL Query on MATCH sorting by Relevance

I have the following Query SELECT product.AID, product.ART_ID, product.EAN, productdetails.DESCRIPTION_SHORT, MAX( (100000 * (MATCH(productdetails.DESCRIPTION_SHORT) AGAINST ('"psen in1p"' IN BOOLEAN MODE)))+ …