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
3 answers

Apache Lucene: Is Relevance Score Always Between 0 and 1?

Greetings, I have the following Apache Lucene snippet that's giving me some nice results: int numHits=100; int resultsPerPage=100; IndexSearcher searcher=new IndexSearcher(reader); TopScoreDocCollector…
Eamorr
  • 9,872
  • 34
  • 125
  • 209
1
vote
1 answer

ElasticSearch score for "best fields" query does not work as expected

Trying to understand how the ranking works. My index is defined with "english" analyzers on all the fields. This is my query: GET test_index_1/study/_search/ { "query": { "multi_match" : { "query": "stupid question", "type":…
Max
  • 643
  • 11
  • 27
1
vote
1 answer

Mysql search 2 columns and order by more relevant

I am building a website with articles section, I am looking for a search functionality that will search the article title and the article content for results that contain all search term, and then will return article result that contains the search…
Belal Almassri
  • 119
  • 1
  • 8
1
vote
1 answer

Relevance by type on same field in elasticsearch

Is there any way to boost search results on same field depending on type? My basic boosting is something like: GET _search { "query": { "simple_query_string": { "query": "mangan", "fields":["_all", "title^6"] } …
PeterM
  • 1,478
  • 1
  • 22
  • 28
1
vote
1 answer

NSArray of NSStrings. Sort by relevance. Best practice

I have a NSArray of NSStrings. For example: @"Good item", @"Very good item", @"The best of the best item" Upon searching on UITextField, the user types @"Very good item". I need to sort the source array by relevance and would like to see result…
Igor Jorin
  • 141
  • 10
1
vote
0 answers

Elastic Search Relavance Scores are different for Direct Query and hasChild query

We have some data with parent child relationship. But as we search through two scenarios the scores are different. For this case we have only one record and only one child record in the index. a) Search with Direct Query on the child…
1
vote
2 answers

Determine importance based on popularity and distance

I am working on a problem of ranking of items involving two variables: popularity and location. The goal I have is to come up with a way of deciding the best trade-off between popularity and distance away for items in my set. That is, from a set of…
Tim Petri
  • 95
  • 2
  • 6
1
vote
1 answer

Getting Solr Elevated Results on top of Sorted by field Results

We are using Solr 5. We are able to apply sorting on display order field in to Solr query and it works fine. We have certain results which are elevated and will always want them first. If we remove the sorting, the elevation works fine. However, we…
Krunal
  • 2,967
  • 8
  • 45
  • 101
1
vote
1 answer

Solr: research in fields with relevance

I'm using Solr 5.4.1 and all documents have the following XML structure: US, Qatar Extend Talks OverFormer Taliban Detainees - Wall Street Journal
glorfindel
  • 199
  • 3
  • 11
1
vote
1 answer

Solr boost query by field value and inside newest date

We have the following setup in our schema.xml: ...
Marian Lux
  • 53
  • 8
1
vote
1 answer

Sorting by relevance: How to sort a list to have matching values first?

How to sort objects with lodash by filtered values? // this is coming from select var filtered_values = [99, "female"]; // this is my data var data = [ { name: "John Doe", age: 24, gender: "male" }, { name: "Jona Yap", age: 27, gender:…
MeetMahPuppy
  • 305
  • 1
  • 3
  • 13
1
vote
1 answer

Filtering Results from ElasticSearch by Relevancy

I am attempting to figure out the best way to solve this problem. Lets say I have a user who is typing in a short sentence, and I want to match this sentence (a query essentially) to a small set of documents that are assigned to the user. The issue…
mrquintopolous
  • 157
  • 3
  • 9
1
vote
1 answer

Elastic search - change the relevance according to an external factor

My use-case is a bit complicated so I'm simplifying it by using products and purchases: The application has a big database with varies tables, among them - products and purchases (many to many: user_id:product_id). Elastic has an index for the…
David
  • 2,528
  • 1
  • 23
  • 29
1
vote
1 answer

Is the elasticsearch relevance score an ordinal or interval value?

In other words, is the difference between scores of 0.7 and 0.8 the same as the difference between scores of 0.5 and 0.6? Or is the 0.1 difference meaningless, not a measure of anything?
Ollie Glass
  • 19,455
  • 21
  • 76
  • 107
1
vote
0 answers

Using Minimum-Redundancy Maximum-Relevancy (mrmr) Method with large Matrix return errors. Matlab

I am working with a feature selection method called mrmr. I found the mrmr code here When I am running mrmr_mid_d(d,f,K) with d=62x2000, f=62x1 and K=25 I got the following error: Error using estpab Requested 12962x19852 (1.9GB) array exceeds …