With the Learning To Rank (or LTR for short) contrib module you can configure and run machine learned ranking models in Solr. The module also supports feature extraction inside Solr. The only thing you need to do outside Solr is train your own ranking model. Learning to Rank Concepts Re-Ranking Re-Ranking allows you to run a simple query for…
Query Re-Ranking – Ultimate Solr Guide
Query Re-Ranking allows you to run a simple query (A) for matching documents and then re-rank the top N documents using the scores from a more complex query (B). Since the more costly ranking from query B is only applied to the top N documents, it will have less impact on performance then just using the complex…
The Extended DisMax (eDismax) Query Parser – Ultimate Solr Guide
The Extended DisMax (eDisMax) query parser is an improved version of the DisMax query parser. In addition to supporting all the DisMax query parser parameters, Extended Dismax: supports Solr’s standard query parser syntax such as (non-exhaustive list): boolean operators such as AND (+, &&), OR (||), NOT (-). optionally treats lowercase “and” and “or” as “AND” and “OR”…
The DisMax Query Parser – Ultimate Solr Guide
The DisMax query parser is designed to process simple phrases (without complex syntax) entered by users and to search for individual terms across several fields using different weighting (boosts) based on the significance of each field. Additional options enable users to influence the score based on rules specific to each use case (independent of user…
The Standard Query Parser – Ultimate Solr Guide
Solr’s default Query Parser is also known as the “lucene” parser. The key advantage of the standard query parser is that it supports a robust and fairly intuitive syntax allowing you to create a variety of structured queries. The largest disadvantage is that it’s very intolerant of syntax errors, as compared with something like the DisMax query…
Indexing and Searching Nested Documents in Solr – Ultimate Solr Guide
Hi All, Today I will be writing about another important aspect of Solr that encapsulates the need of a lot of business applications. Suppose we need to index data of an e-commerce company that wants to host a variety of products on their websites along with associated SKU’s. This data needs to be indexed, updated,…
Language analysis in Solr – Ultimate Solr Guide
Hi All, today I’m presenting another post on solr pertaining to language analysis. In most business applications, there comes a scenario where the business needs to deal with data in multiple languages, the most common scenario being dealing with customers of different geographies. Solr helps to deal with multiple languages in a unique way. This…
All About Indexing and Basic Data Operations – Part 5 – Ultimate Solr Guide
Hello All, Today I’m here with another post to discuss another important aspect with respect to indexing operations in Solr. Invariably we encounter scenarios where we need to index data in a language of a different origin or more so, we need to index data of multiple languages. The dynamics to fulfil this requirement is…
All About Indexing and Basic Data Operations – Part 4 – Ultimate Solr Guide
Hello, Everyone! Today we are here with another post to further our discussion about basic indexing operations in solr. Another basic need one faces in the indexed doc in solr is to change the doc contents. Solr supports three approaches to update a document with varied necessity. Updating Parts of Documents The first is atomic updates….