I am having trouble with Fuzzy Queries giving higher relevance to Fuzzy Hit terms than Direct Match on Python Whoosh. Is there any existing options available within the library to score direct matches higher? or I have to separately code it (i.e.do both Direct Query and Fuzzy Query and rank the text one higher...)? Thanks for the advice.
Fuzzy search with Python Whoosh (Rank/Score Direct Hits higher than Fuzzy Hits)
515 Views Asked by James L At
1
There are 1 best solutions below
Related Questions in PYTHON
- How to store a date/time in sqlite (or something similar to a date)
- Instagrapi recently showing HTTPError and UnknownError
- How to Retrieve Data from an MySQL Database and Display it in a GUI?
- How to create a regular expression to partition a string that terminates in either ": 45" or ",", without the ": "
- Python Geopandas unable to convert latitude longitude to points
- Influence of Unused FFN on Model Accuracy in PyTorch
- Seeking Python Libraries for Removing Extraneous Characters and Spaces in Text
- Writes to child subprocess.Popen.stdin don't work from within process group?
- Conda has two different python binarys (python and python3) with the same version for a single environment. Why?
- Problem with add new attribute in table with BOTO3 on python
- Can't install packages in python conda environment
- Setting diagonal of a matrix to zero
- List of numbers converted to list of strings to iterate over it. But receiving TypeError messages
- Basic Python Question: Shortening If Statements
- Python and regex, can't understand why some words are left out of the match
Related Questions in TEXT
- Seeking Python Libraries for Removing Extraneous Characters and Spaces in Text
- How to increase quality of mathjax output?
- How to appropriately handle newlines and the escaping of them?
- How to store data with lots of subdata but keep easy and simple access in python
- Can I make this kind of radio button?
- I am findind it dificult to create a box containing text
- Replacing Text using Javascript
- How to set text inside a div using JavaScript and CSS
- How to get new text input after entering a password in a tab?
- How can I get my hero section to look like this?
- Find text and numbers Formatted: "Case: BE########" and format them, regardless of the number
- Auto style text in flutter
- Text analytics and Insights
- Combine an audio and a text file as one single file
- How to align side text and table horizontally in R-markdown
Related Questions in INFORMATION-RETRIEVAL
- How does Elasticsearch do attribute filtering during knn (vector-based) retrieval?
- Issue with Passing Retrieved Documents to Large Language Model in RetrievalQA Chain
- text-to-SQL LLM that queries multiple data sources/databases,
- How to fetch a specific span tag on a webpage using Chrome console?
- Maximizing Document-Based Responses in OpenAI: Strategies for Comprehensive Information Retrieval
- How to add langchain docs to LCEL chain?
- Discount Function in NDCG
- Set filter in Langchain Self-Query Retriever
- Is Accuracy@k same as Success@k in Information Retrieval?
- langchain vectordb.similarity_search_with_relevance_scores() gives different top results with different value of k
- Extract PDF Content Including Images For RAG
- How do you build a Knowledge Graph Index using a .json file in Llama index?
- Reciprocal rank fusion using PyTorch
- Reciprocal rank fusion in PySpark
- Collecting data from a webform
Related Questions in WHOOSH
- Whoosh library, weird behavior of Sequence query with wildcards
- Replacing Elasticsearch with Whoosh
- Whoosh seems not take into account the maximum difference in position between each word
- Reading an Updated File on Dash Enterprise
- Whoosh library Percentage of matching searcher.search
- Whoosh deletes existing fields when I run writer.update_document
- Reuse file handle in python ThreadPoolExecutor
- Python: Whoosh search for a non-exact query
- Mailman 3 Hyperkitty indexes not being built
- Add multiple filter to search in Whoosh
- highlight search query full result in whoosh
- Python based search engine or Elastic Search
- I need help implementing a keyword search in Flask with Flask-msearch
- nginx + django + haystack = Server Error (500)
- The whoosh can not search the key word successfully
Related Questions in RANKING-FUNCTIONS
- How to set the default pivot on a painless saturation function in Elasticsearch?
- RANK EQ and COUNTIF -1
- Properly implement DENSE_RANK() or similar function
- Populate a Power BI table based on a dynamically ranked list that is from another table
- Give Ranks depending on score AND people wishes
- Increment in Rank on encountering particular column value
- Spotfire/How to sum qty in step order
- Setup Metarank (for recommendation) with its one minute setup tutorial fails with validation error
- EXCEL rank.eq function: rank numbers in a row in relation to other numbers of the same assigned category
- Create a data frame with lagged values as numeric vector using dplyr
- How to rank based on certain column value oracle SQL
- Develop a Ranking based On filtered Data (Static & Dynamic)
- Can SQL dense rank work for count of (non distinct) value changes with respect to time
- Trouble with RANK() function in SQL Server for partitioned sum, what am I doing wrong?
- NDCG-score in top-k recommendations
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
To answer my own question, I found a crude solution via stacking of queries:
However, the scores still remain unchanged.