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
0
votes
1 answer

Solr - Include a field only if other fields where found

Assuming I have the fields textFieldA textFieldB specialC in my index. Now I want to query these with textFieldA:"searchVal" textFieldB:"searchVal" specialC:"somecode" But I only want to boost matches on specialC if there were also matches on at…
maxdev
  • 2,491
  • 1
  • 25
  • 50
0
votes
1 answer

Solr Increase relevance of search result based on a map of word:value

Let's say we have a structure like this per entry that goes to solr. The document is first amended and than saved. The way it is amended at the moment is that we lose the connection between the number and the score. However, we could change that…
Ev0oD
  • 1,395
  • 16
  • 33
0
votes
1 answer

Boolean full text search order by relevancy doesnt seem to work

OK so I've got two queries that I'm testing and they produce exactly the same results, which goes to say that somehow ordering by relevancy doesnt seem to work here: $query1 = "SELECT * FROM ads WHERE MATCH…
Zannix
  • 1,473
  • 3
  • 16
  • 26
0
votes
1 answer

MySql FULLTEXT search relevance adjustment

Looking through other posts on here I have not been able to find my specific requirement. Here is my example I have some products in a database with the following titles. And this is the order I would like them to appear in if the user searches for…
user1002794
  • 123
  • 1
  • 11
0
votes
1 answer

get sum of aliases created in SQL query

I have a bigger SQL query where I use the Boolean Full-Text Searches to get the relevance values. I get two relevance values: one for tags (scoreTags), multiplied with 3 (higher importance) one for content (scoreContent) Both are assigned to…
Sebsemillia
  • 9,366
  • 2
  • 55
  • 70
0
votes
5 answers

Text size depending on window width in CSS

Is it possible to set the size of the text depending on the width of a browser window? For example when window-width is 1000, than text is 40. And when the window- width is 500 than font size is 20.
0
votes
0 answers

Identifying the most relevant document using lucene

I am trying to solve the following search problem. Say we have 10 different documents d1..d10 Each document contains a type of data say, d1 -> list of movie names, d2 -> list of actor names, d3 -> list of addresses etc. Each document contains list…
Kamal
  • 3,068
  • 5
  • 26
  • 26
0
votes
1 answer

Logical operators relevance in XQuery

what operation is more relevant in XQuery: AND or OR? For example: (a and b or c) is equal to 1 o 2? (a and b) or c a and (b or c) Cheers, Deborah
deb
  • 425
  • 1
  • 9
  • 24
0
votes
1 answer

Solr set more relevance in position of string

How can I make Solr set more relevance in words based on position of the String. For example, if I search "Macbook" the firsts results are like "Case Logic LAPS-113 13.3-Inch Laptop / MacBook Air" and after "Apple MacBook Pro MD101LL/A 13.3-Inch…
0
votes
1 answer

Mysql require relevancy then sort by date

On a classfieds ads site, I have a query that looks like this: SELECT * FROM ads WHERE MATCH (ad_title, ad_description) AGAINST ('VW gearbox') That shows relevant results sorted nicely. But I want to keep relevancy while sorting by ad_date. If I…
adrianTNT
  • 3,671
  • 5
  • 29
  • 35
0
votes
1 answer

mysql - Order by relevance and views

I have seen there are a lot of 'order by relevance' posts on here... I have worked that part out... What I would like to achieve is search results that are first ordered by relevance and then by views. For example if I searched for 'dog' and my…
Mark
  • 5,423
  • 11
  • 47
  • 62
0
votes
2 answers

php - display links to related content

I am looking to implement a 'youtube related videos' style related content system. I have 5 tags/keywords for each of my pages, a title and a description. I would like to display links to the two most similar pages. I am guessing a mysql query based…
Mark
  • 5,423
  • 11
  • 47
  • 62
0
votes
1 answer

Sphinx : mix revelance and age for sorting

In my index I've 2 textfield: title & content, and one attribute date_publish. I want order by title relevance, publication age, content relevance With Sphinx 2.0.2 AND SphinxSE how can do it ? search mode -> expr ? rank_mode -> expr ? I'm…
Moosh
  • 386
  • 1
  • 8
0
votes
3 answers

How to search a string specifically in middle of another string

Searching substring in all columns of the table.Result to be displayed in following order: 1.first results starting with substring. 2.Then results in which substring in middle and not at last. 3.Then results in which substring is at last. The…
roshan
  • 2,410
  • 2
  • 25
  • 37
0
votes
1 answer

How to calculate the relevance of two words or pharse?

I need a algorithm to calculate and measure the relevance of two words or phrase, e.g. "Apple" and "iPad". Can anybody give me some hints or related books on such topics? Thanks.
James Tang
  • 593
  • 6
  • 13