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

MongoDB (mongoose) query to search for game titles and sort based on (real-world/sane) relevance

I'm building an application in node/express, using mongoose and mongodb for data. I have a "games" collection in mongo that has tens of thousands of games. Each game has a "title", and I would like to be able to search for a title (e.g. halo 2) and…
flexage
  • 457
  • 1
  • 9
  • 19
0
votes
0 answers

ElasticSearch: how to reduce the number of results when using ngrams and match query?

I'm using this mapping: settings index: { number_of_shards: 1, number_of_replicas: 1 }, analysis: { analyzer: { custom_analyzer: { type: "custom", tokenizer: "standard", filter: ["lowercase", "asciifolding",…
alex.bour
  • 2,842
  • 9
  • 40
  • 66
0
votes
1 answer

Mysql count matches for each row and show result order by relevance

I want to show result in order that rows have more matches should come on top. Like if i search for keyword 'abc' in title and content, then it count the total matches for 'abc' in title and content for each row. Suppose it found 3 matches in 1st…
manpreet singh
  • 276
  • 4
  • 9
0
votes
1 answer

Does Elasticsearch evaluate relevance scores of documents in parallel for one search request

I have a native script to score documents. I'm wondering for a search request, are the documents scored by one thread (if a threadpool is used for search) or it's configurable to do that in parallel? (I know that docs on different nodes in the…
Rainfield
  • 1,172
  • 2
  • 14
  • 29
0
votes
1 answer

when a solr document is updated, the indexing date is changed?

In Solr the default ordering is ASC if two documents have the same relevancy taking in consideration the index dateTime. But lets say if one of the records is updated, the index dateTime is changed? - taking in consideration that solr when it does…
DanutClapa
  • 592
  • 2
  • 7
  • 23
0
votes
0 answers

Elastic Search Relevance ratio

My Search query works fine (I hope) but sometimes I have too many results with score like 1.5, 0.7, 0.6... or 0.1, 0.001, 0.001... Is it possible to block low relevance results? Fixed value is unsuitable - because it depends of maximum _score (score…
Ilya P
  • 37
  • 1
  • 6
0
votes
0 answers

SQL query search by relevance giving weight to recent items

I have a query for searching most relevant items like this: select *,((case when title like 'mykeyword' then 3 else 0 end)+ (case when body like 'myKeyword' then 3 else 0 end)) as relevance from content order by relevance,id desc However I want…
Ali Sheikhpour
  • 10,475
  • 5
  • 41
  • 82
0
votes
1 answer

Sort results by words occuring in array from grep(Perl)

Any simple solution that Perl supports, which can sort results based on words occurring in array from grep? For example you have a database which gets results from array grep and you want to show results first with the most repeated word which is…
user5240420
0
votes
3 answers

Elastic.co/Elastic search - Relevance feedback with multiple Boosting Queries

I'm trying to implement relevance feedback for Elastic Search (Elastic.co). I'm aware of boosting queries, which allow for the specification of postiive and negative terms, with the idea being to discount the negative terms, while not excluding them…
smck1
  • 1
0
votes
1 answer

How to sort a list of objects based on relevance of text search on its attributes in Java?

For eg., say i have a ArrayList of book items. Book items have attributes book_title, book_author, and book_isbn. I also have a simple string search query "query_str" (say). How can i sort the ArrayList of book objects, based on search relevance of…
Shubham Kanodia
  • 6,036
  • 3
  • 32
  • 46
0
votes
0 answers

Sitefinity, default Lucene relevance of fields

I have to work with Sitefinity, and I'm trying to determine the default relevance boost to the Sitefinity fields. It appears that we are using version 6.2.4910.0 PU according to the generator tag in the html source of one of the pages. For example,…
ps2goat
  • 8,067
  • 1
  • 35
  • 68
0
votes
1 answer

How to apply weighting to fuzzy search results

I'm writing a service which should sensibly suggest UK place names based on user entered text, my data set is just under 2500 entries. So far I'm applying a slightly modified version of the Damerau Levenshtein algorithm which ignores the edit…
ScouseChris
  • 4,377
  • 32
  • 38
0
votes
0 answers

MySQL InnoDB Full-Text Search

I've been trying to workout a method of achieving full-text search without installing a server level piece of software. I've read various posts throughout Stack Overflow which suggest applications such as Sphinx. However, the application I am…
jdawg
  • 508
  • 2
  • 5
  • 18
0
votes
2 answers

Search relevance from XML docs (XQuery?) vs MySQL

I have a website where documents are saved in xml documents, all with the same structure. I need a search engine where I am able to choose documents with the highest relevance according to the key words given by a searching user. I thought it could…
Marius
  • 219
  • 1
  • 3
  • 11
0
votes
1 answer

Solr relevancy using edismax

How to add edismax in solr config to give my title boosting then description then facets and so on... My solr config looks like this edismax text^50 and title^1000 and contentdescription^180 and…