Questions tagged [exact-match]

208 questions
2
votes
2 answers

Match an exact phrase in Solr

I have indexed data in solr. I have many phrases such as 'The Dark Knight' and 'The Dark Knight Rises'. When I query for 'The Dark Knight', I get both the results, I want match this query with only 'The Dark Knight' and not the 'The Dark Knight…
njain
  • 33
  • 1
  • 7
2
votes
0 answers

Using 1 to 1 Coarsened Exact Matching with MatchIt

I am trying to use Coarsened Exact Matching using the package MatchIt. By default, the matching ratio is not 1 to 1, and I was wondering whether it is possible to set it to 1 to 1. In CEM, that is possible using the k2k command. However, I fail to…
Paula R
  • 33
  • 5
2
votes
1 answer

exact word fulltext search postgresql

Postgresql fulltext search match nearby words, but i want to search the exact word in large content table (thousands of words in hundreds of thousands of lines). My search must be very fast (less than a second). Using like or ilike is to slow( with…
Mike.S
  • 47
  • 10
2
votes
1 answer

Grep fixed string is not grepping exact string, string end with extra character '-' is also coming

There is an option in grep to search the exact string "-F" -F, --fixed-strings Its working perfectly fine if there are two words where one is the word to be searched and another is appended with alphaumeric character. However, if the other word…
Learner
  • 1,544
  • 8
  • 29
  • 55
2
votes
1 answer

R: Error when combining "nearest neighborhood" and "exact" matching from MatchIt Package

I'm trying to run a propensity score matching with the nearest neighbor method while I need a exact match on one variable, called "type". My data looks like this: > df # A tibble: 20 × 6 symbol treat type market.cap market.to.book leverage …
jb123
  • 197
  • 2
  • 12
2
votes
1 answer

how to get exact search result on top in solr 1.3?

I am using Solr 1.3.This is the schema.xml of Solr 1.3. (http://pastebin.com/NwEy9Kz6). If i search for 'Hero' (e.g. +movieName:"Hero"), the Top most search document which contain the word "Hero", not the exact matching "Hero" document. e.g. Heroes,…
Shashi
  • 12,487
  • 17
  • 65
  • 111
2
votes
1 answer

ElasticSearch: Partial/Exact Scoring with edge_ngram & fuzziness

In ElasticSearch I am trying to get correct scoring using edge_ngram with fuzziness. I would like exact matches to have the highest score and sub matches have lesser scores. Below is my setup and scoring results. settings: { …
emarel
  • 371
  • 7
  • 30
2
votes
3 answers

Find Exact Matches of SURF in openCV

I am using openCV Surf tracker to find exact points in two images. as you know, Surf returns many Feature points in both images. what i want to do is using these feature parameters to find out which matches are exactly correct (true positive…
Tive
  • 51
  • 1
  • 5
2
votes
2 answers

how to do exact match in elasticsearch?

Here I have given my updated mapping curl -X PUT localhost:9200/testing/listings/_mapping -d '{ "listings" : { "properties" : { "address" : { "properties": { "location": { "type" : "string", …
2
votes
1 answer

xslt output of all pupils not in the sports list

Here are my files: example.xml one two three one two
2
votes
3 answers

jquery What to use for exact match rather than contains

I have a function that scans a table for a variable (keyID) and selects the table cell that contains that variable. The variable is currently defined as: selectedTD = table.find('td:contains("' + keyID + '")'); However if keyID = 10, then…
rlsaj
  • 735
  • 1
  • 12
  • 37
2
votes
2 answers

What are the differences between suffix links and failure links?

I am studying algorithms in this semester and have read about the Aho-Corasick string matching algorithm and Ukkonen's algorithm for building suffix trees. I read both of them for but can't understand the main basic differences of these two, except…
2
votes
1 answer

Matching a string with a dictionary value exactly and retrieving the key - python

I have a dictionary which i fetch from MySql DB, the ID is the key and the value is a string (relative Windows path of files to be exact). I have another list which has windows path as elements. Now, I need to match the list elements with the…
user2474353
  • 25
  • 1
  • 4
2
votes
0 answers

Full Text Search Exact Match with Stop Words

I implement the Full Text Search and have a stop list contains words "is" and "here", when I run the first query, it return the exact same number of results as the second query. I know it will transform the keywords when a stop word is found when I…
2
votes
2 answers

Case Sensitive Database Query

Possible Duplicate: mysql case sensitive query 'm working on an PHP script that checks some values to the ones in the database. So far I thought it worked right, but I found an problem. The query isn't looking for the specific characters. So if I…
Mathlight
  • 6,436
  • 17
  • 62
  • 107
1 2
3
13 14