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)
513 Views Asked by James L At
1
There are 1 best solutions below
Related Questions in PYTHON
- new thread blocks main thread
- Extracting viewCount & SubscriberCount from YouTube API V3 for a given channel, where channelID does not equal userID
- Display images on Django Template Site
- Difference between list() and dict() with generators
- How can I serialize a numpy array while preserving matrix dimensions?
- Protractor did not run properly when using browser.wait, msg: "Wait timed out after XXXms"
- Why is my program adding int as string (4+7 = 47)?
- store numpy array in mysql
- how to omit the less frequent words from a dictionary in python?
- Update a text file with ( new words+ \n ) after the words is appended into a list
- python how to write list of lists to file
- Removing URL features from tokens in NLTK
- Optimizing for Social Leaderboards
- Python : Get size of string in bytes
- What is the code of the sorted function?
Related Questions in TEXT
- Delete the extra space after special character in all the lines of text file
- Apply gaussian filter on text
- text show and hide with button php/js
- Get text from a section of a pdf page with IcePdf
- load word file (.docx) in richtextbox
- Display a specific line in a text file - android/java
- how to change text direction to the right slide of switch in android?
- C language - Read specific data from text file
- Read text file from specific position and store in two arrays
- How to animate text
- Detect repetition in text string / copied text
- Use MATLAB's webread to login to website and extract text
- LWJGL Drawing colored text to the screen issue
- Hide part of text temporarily, show after user clicks certain element
- Reading text file in java using scanner
Related Questions in INFORMATION-RETRIEVAL
- Questions about CACM collection
- metric learning for information retrieval in semi-structured text?
- unhandled exception in thread started by <function indexing at >
- Data retrieval / search in text
- How to retrieve Install Statistics from the Google Developer's Console?
- elasticsearch: script access to single-metric sub-aggregations in significant_terms aggregation?
- Beautiful Soup with wikipedia
- wikipedia extraction with Beautiful Soup
- How do we filter all tokens belonging to a certain language using SOLR?
- Unable to read the output file in python
- What is the correct version of Average precision?
- How to assign more weight to bigram and trigram?
- How to extract information (e.g. types and subtypes) from Wikipedia?
- Wiki-distance: distance between Wiki topics and categories?
- Retrieve top ranked documents in Elastic Search
Related Questions in WHOOSH
- How to create an index using Whoosh
- Flask-WhooshAlchemy returning empty
- Whoosh fuzzy matching of the queried word list
- Where does Whoosh (Python) physically store the indexed content?
- In PY whoosh full text search engineer, how to create a query to find a value in a range?
- Whoosh - Slop Operator Behaviour
- why use django haystack slice queryset too slow?
- How to filter results using django-haystack SearchQuerySet?
- Rebuild_index and update_index killed
- Making a GUi for search engine
- no result are found - haystack django whoosh
- Sharing Whoosh index
- How to get tf-idf score and bm25f score of a term in a document using whoosh?
- Haystack SearchQuerySet won't filter on a CharField with one character (Whoosh / django-haystack)
- Wildcard support in search in haystack with whoosh
Related Questions in RANKING-FUNCTIONS
- Ranking algorithm with missing values and bias
- How to use rank to get rid of duplicate id?
- Python Pandas qcut behavior with # of observations not divisible by # of bins
- Pull out the a spefic "rank" from an HashMap not yet sorted which also contains different values but same key or better same count;
- Sql Server - Counting partitions with Ranking functions
- Assigning rank to a variable based on 2 other variables in stata
- Give Ranks depending on score AND people wishes
- Significance test on the difference of Spearman's correlation coefficient
- SQL Ranking Functions for Sorting and Aggregating Data for Conversation Data
- Ranking the Resulting Values of Measures in Power BI
- Fuzzy search with Python Whoosh (Rank/Score Direct Hits higher than Fuzzy Hits)
- How to add this Rank Over Partition By in C#?
- Rank every x rows per group
- SQL over clause - dividing partition into numbered sub-partitions
- Congnos Ranking lowest as Rank 1
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 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.