Re: Deleting on exact match

2020-06-21 Thread Shawn Heisey
On 6/21/2020 1:04 PM, Scott Q. wrote: The task at hand is to remove all documents indexed the old way, but how can I do that ? user is of the form u...@domain.com and if I search for u...@domain.com it matches all of 'user' or 'domain.com' which has obvious unwanted consequences. Therefore, how

Re: Deleting on exact match

2020-06-21 Thread Walter Underwood
I would add a new field with the new behavior. Then any document with content in the new field would not need to be deleted. Find the deletable content with: *:* -new_field:* I generally add a field that records when the document was indexed or updated. That can be really handy. wunder Wal

Re: Deleting on exact match

2020-06-21 Thread Scott Q.
Also note that I didn't apply the new schema yet because I don't think it will let me change it mid-way like this without deleting all data and starting anew... On Sunday, 21/06/2020 at 15:12 Scott Q. wrote: My apologies, it appears the configuration tags were escaped and completely removed from

Re: Deleting on exact match

2020-06-21 Thread Scott Q.
My apologies, it appears the configuration tags were escaped and completely removed from my original e-mail. I am including them via pastebin.com https://pastebin.com/BSUqgEke On Sunday, 21/06/2020 at 15:04 Scott Q. wrote: Hello, I use Solr with Dovecot and I made a mistake when I initial

Deleting on exact match

2020-06-21 Thread Scott Q.
Hello, I use Solr with Dovecot and I made a mistake when I initially created my schema for my instance. I created the username field with partial matches enabled. Aka, like this:                                                                                                          

Re: Scoring partial match in title field higher than exact match in description field

2020-03-31 Thread Walter Underwood
wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Mar 31, 2020, at 6:00 AM, nileshwagh24 wrote: > > In need to score partial match in NAME field higher than exact match in > INFOTEXT field.Actually I need to sort my SOLR result based on following > five co

Scoring partial match in title field higher than exact match in description field

2020-03-31 Thread nileshwagh24
In need to score partial match in NAME field higher than exact match in INFOTEXT field.Actually I need to sort my SOLR result based on following five conditions 1.First, results with a whole word match on the first or second word in the NAME go on top. 2.Then, results with a whole word match

Re: Exact match

2019-12-04 Thread Ere Maijala
Hi, Here's our example of exact match fields: https://github.com/NatLibFi/finna-solr/blob/master/vufind/biblio/conf/schema.xml#L48 textProper_l requires a partial match from the beginning. textProper_lr requires a full match. I'm not sure if this works for you, but at least we

Re: Exact match

2019-12-03 Thread Paras Lehana
Hi Omer, If you mean exact match with same number of words (Emir's), you can also add an identifier in the beginning and end of the some other field like title_exact. This can be done in your indexing script or using Pattern Replace. During query side, you can use this identifier. For ex

Re: Exact match

2019-12-02 Thread Erick Erickson
There are two different interpretations of “exact match” going on here, don’t be confused! Emir’s version is “the text has to match the _entire_ input. So a field with “a b c d” will NOT match “a b” or “a b c” or “b c", but only “a b c d”. David’s version is “The text has to contain

Re: Exact match

2019-12-02 Thread Emir Arnautović
Hi Omer, From performance perspective, it is the best if you index title as a single token: KeywordTokenizer + LowerCaseFilter If you need to query that field in some other way, you can index it differently as some other field using copyField. HTH, Emir -- Monitoring - Log Management - Alerting

Re: Exact match

2019-12-02 Thread David Hastings
if the query is in quotes it will work. also, not sure if youve been following, but get rid of: StopFilterFactory and all stopwords, or just make your stop word file empty if you need it to work in non quotes, add them to the query post submission ? On Mon, Dec 2, 2019 at 3:44 PM OTH wrote: > H

Exact match

2019-12-02 Thread OTH
Hello, What would be the best way to get exact matches (if any) to a query? E.g.: Let's the document text is: "united states of america". Currently, any query containing one or more of the three words "united", "states", or "america" will match with the above document. I would like a way so th

Re: attempting to get an exact match on a textField

2019-11-16 Thread rhys J
; I am trying to use the API to get an exact match on clt_ref_no. > > At one point, I was using ""s to enclose the text such as: > > clt_ref_no: "OWL-2924-8", and I was getting 5 results. Which is accurate. > > Now when I use it, I only get one match. > > If

attempting to get an exact match on a textField

2019-11-15 Thread rhys J
I am trying to use the API to get an exact match on clt_ref_no. At one point, I was using ""s to enclose the text such as: clt_ref_no: "OWL-2924-8", and I was getting 5 results. Which is accurate. Now when I use it, I only get one match. If I try to build the url in perl, a

Re: exact Match and Contains

2018-07-05 Thread Erick Erickson
dade < rushikeshgarad...@gmail.com> wrote: > Small Correction in the mail above: attachmentType is managed-schema is: > indexed="true" stored="true"/> > > > > -- Forwarded message - > From: Rushikesh Garadade > Date: Thu, Jul 5, 2018 at 7:

Fwd: exact Match and Contains

2018-07-05 Thread Rushikesh Garadade
Small Correction in the mail above: attachmentType is managed-schema is: -- Forwarded message - From: Rushikesh Garadade Date: Thu, Jul 5, 2018 at 7:43 PM Subject: exact Match and Contains To: Hi, I have field attachmentType in my collection whose schema is as follows

exact Match and Contains

2018-07-05 Thread Rushikesh Garadade
Hi, I have field attachmentType in my collection whose schema is as follows: when I search for attachmentType:application/pdf i.e. /select *?q=attachmentType:application/pdf * I get results [image: image.png] When I search for attachmentType:*application/pdf* i.e. /select? *q=attachmentType:*ap

Re: Grouping on Exact Match

2018-01-25 Thread Emir Arnautović
Message- > From: Emir Arnautović [mailto:emir.arnauto...@sematext.com] > Sent: Thursday, January 25, 2018 4:31 PM > To: solr-user@lucene.apache.org > Subject: Re: Grouping on Exact Match > > Hi Gopesh, > No it is not - at least not in a way I was thinking. I should have b

RE: Grouping on Exact Match

2018-01-25 Thread Gopesh Sharma
I am using the above query. Thanks, Gopesh Sharma -Original Message- From: Emir Arnautović [mailto:emir.arnauto...@sematext.com] Sent: Thursday, January 25, 2018 4:31 PM To: solr-user@lucene.apache.org Subject: Re: Grouping on Exact Match Hi Gopesh, No it is not - at least not in a

Re: Grouping on Exact Match

2018-01-25 Thread Emir Arnautović
auto...@sematext.com] > Sent: Thursday, January 25, 2018 4:16 PM > To: solr-user@lucene.apache.org > Subject: Re: Grouping on Exact Match > > Hi Gopesh, > You are probably grouping on field that is analysed so “Consulting” is group > term. What you need to do is to have name fie

RE: Grouping on Exact Match

2018-01-25 Thread Gopesh Sharma
...@sematext.com] Sent: Thursday, January 25, 2018 4:16 PM To: solr-user@lucene.apache.org Subject: Re: Grouping on Exact Match Hi Gopesh, You are probably grouping on field that is analysed so “Consulting” is group term. What you need to do is to have name field that is not alalysed and group on

Re: Grouping on Exact Match

2018-01-25 Thread Emir Arnautović
ot happening on the exact > match. For Example : I have 5 documents with name Construction Company, > Construction Tower, Tower Company, Tower House and again Construction > Company. If I search for Construction Company with grouping I am getting > result as > > > * Constru

Grouping on Exact Match

2018-01-25 Thread Gopesh Sharma
Hello All, I am grouping the results but the groups are not happening on the exact match. For Example : I have 5 documents with name Construction Company, Construction Tower, Tower Company, Tower House and again Construction Company. If I search for Construction Company with grouping I am

Re: Phrase Exact Match with Margin of Error

2017-06-15 Thread Susheel Kumar
/techproducts/select? > debugQuery=on&indent=on&q= > > manu:%22Bridge%20the%20gat~1%20between%20your%20skills% > > 20and%20your%20goals%22&defType=complexphrase > > > > On Thu, Jun 15, 2017 at 5:59 AM, Max Bridgewater < > > max.bridgewa...@gmail.com> >

Re: Phrase Exact Match with Margin of Error

2017-06-15 Thread simon
with multiple tokens. Then construct a query which searches both field1 for an exact match, and field2 using ComplexQueryParser (use the localparams syntax) to combine them. Boost the field1 (exact match). HTH -Simon On Thu, Jun 15, 2017 at 1:20 PM, Max Bridgewater wrote: > Thanks Susheel. The c

Re: Phrase Exact Match with Margin of Error

2017-06-15 Thread Max Bridgewater
idgewater < > max.bridgewa...@gmail.com> > wrote: > > > Hi, > > > > I am trying to do phrase exact match. For this, I use > > KeywordTokenizerFactory. This basically does

Re: Phrase Exact Match with Margin of Error

2017-06-15 Thread Susheel Kumar
n%20your%20skills%20and%20your%20goals%22&defType=complexphrase On Thu, Jun 15, 2017 at 5:59 AM, Max Bridgewater wrote: > Hi, > > I am trying to do phrase exact match. For this, I use > KeywordTokenizerFactory. This basically does what I want to do. My field >

Phrase Exact Match with Margin of Error

2017-06-15 Thread Max Bridgewater
Hi, I am trying to do phrase exact match. For this, I use KeywordTokenizerFactory. This basically does what I want to do. My field type is defined as follows: In addition to this, I want to tolerate typos of two or three

Re: Exact match works only for some of the strings

2017-03-17 Thread Mikhail Khludnev
Hello Gintas, >From the first letter I've got that you use colon to separate fieldname and text. But here it's =, which is never advised in lucence syntax. On Fri, Mar 17, 2017 at 2:37 PM, Gintautas Sulskus < gintautas.suls...@gmail.com> wrote: > Hi, > > Thank you for your replies. > Sorry, forgo

Re: Exact match works only for some of the strings

2017-03-17 Thread Gintautas Sulskus
Hi, Thank you for your replies. Sorry, forgot to specify, I am using Solr 4.10.3 (from Cloudera CDH 5.9.0). When I search for name:Guardian I can see both "Guardian EU-referendum" and "Guardian US" in the result set. The debugQuery results for both queries are identical http://pastebin.com/xr96E

Re: Exact match works only for some of the strings

2017-03-16 Thread Alvaro Cabrerizo
Hello, I've tested on an old solr 4.3 instance and the schema and the field definition are fine. I've also checked that only the query nameExact:"Guardian EU-referendum" gives the result, the other one you have commented (nameExact:"Guardian US") gives 0 hits. Maybe, you forgot to re-index after s

Re: Exact match works only for some of the strings

2017-03-16 Thread Mikhail Khludnev
You can try to check debugQuery to understand how this query is parsed: double quotes hardly compatible with KeywordTokenizer. Also you can check which terms are indexed in SchemaBrowser. Also, there is Analysis page at Solr Admin. On Thu, Mar 16, 2017 at 8:55 PM, Gintautas Sulskus < gintautas.sul

Exact match works only for some of the strings

2017-03-16 Thread Gintautas Sulskus
Hi All, I am trying to figure out why Solr returns an empty result when searching for the following query: nameExact:"Guardian EU-referendum" The field definition: The type definition: The analysis, as expected, matches the query parameter against the stored value. Please take

Re: Distinguish exact match from wildcard match

2017-03-02 Thread Ahmet Arslan
Hi, how about q=code_text:bolt*&fq=code_text:bolt Ahmet On Thursday, March 2, 2017 4:41 PM, Сергей Твердохлеб wrote: Hi, is there way to separate exact match from wildcard match in solr response? e.g. there are two documents: {code_text:bolt} and {code_text:bolter}. When I search

Re: Distinguish exact match from wildcard match

2017-03-02 Thread Emir Arnautovic
Again, depending on your case, you can use functions in fl to return additional indicator if doc is exact match or not: q=code_text:bolt OR whatever&fl=*,isExact:tf('code_text_exact', 'bolt') It will return isExact field with values >0 for any doc that has term 

Re: Distinguish exact match from wildcard match

2017-03-02 Thread Alexandre Rafalovitch
> >> code_text_exact:bolt^1 OR code_text:bolt >> >> If you want to use wildcards, you can use similar approach: >> >> code_text:bolt^1 OR code_text:bolt* >> >> HTH, >> Emir >> >> >> On 02.03.2017 14:41, Сергей Твердохлеб

Re: Distinguish exact match from wildcard match

2017-03-02 Thread Сергей Твердохлеб
y to get different score for different matches: > > code_text_exact:bolt^1 OR code_text:bolt > > If you want to use wildcards, you can use similar approach: > > code_text:bolt^1 OR code_text:bolt* > > HTH, > Emir > > > On 02.03.2017 14:41, Сергей Твердохлеб wrote: > &

Re: Distinguish exact match from wildcard match

2017-03-02 Thread Emir Arnautovic
wrote: Hi, is there way to separate exact match from wildcard match in solr response? e.g. there are two documents: {code_text:bolt} and {code_text:bolter}. When I search for "bolt" I want to get both results, but somehow grouped, so I can determine either it was found wit

Distinguish exact match from wildcard match

2017-03-02 Thread Сергей Твердохлеб
Hi, is there way to separate exact match from wildcard match in solr response? e.g. there are two documents: {code_text:bolt} and {code_text:bolter}. When I search for "bolt" I want to get both results, but somehow grouped, so I can determine either it was found with exact or non-e

Re: Boosting exact match fields.

2016-06-16 Thread elisabeth benoit
In addition to what was proposed We use the technic described here https://github.com/cominvent/exactmatch and it works quite well. Best regards Elisabeth 2016-06-15 16:32 GMT+02:00 Alessandro Benedetti : > In addition to what Erick correctly proposed, > are you storing norms for your field o

Re: Boosting exact match fields.

2016-06-15 Thread Alessandro Benedetti
In addition to what Erick correctly proposed, are you storing norms for your field of interest ( to boost documents with shorter field values )? If you are, I find suspicious "Sony Ear Phones" to win over "Ear Phones" for your "Ear Phones" query. What are the other factors currently involved in you

Re: Boosting exact match fields.

2016-06-14 Thread Erick Erickson
If these are the complete field, i.e. your document contains exactly "ear phones" and not "ear phones are great" use a copyField to put it into an "exact_match" field that uses a much simpler analysis chain based on KeywordTokenizer (plus, perhaps things like lowercaseFilter, maybe strip punctuatio

Boosting exact match fields.

2016-06-14 Thread Naveen Pajjuri
Hi, I have documents with a field (data type definition for that field is below) values as ear phones, sony ear phones, philips ear phones. when i query for earphones sony ear phones is the top result where as i want ear phones as top result. please suggest how to boost exact matches. PS: I have e

Re: Query exact match with ASCIIFoldingFilterFactory

2016-06-10 Thread Erick Erickson
What query are you using? From what you've shown, the exact match should work. Perhaps use a phrase query? And while the analyzer is very cool, it has its limitations, particularly it doesn't show the interactions with the _parser_. So add &debug-query to the URL and look at the par

Query exact match with ASCIIFoldingFilterFactory

2016-06-08 Thread marotosg
general but i have one use case is not working and I don't know how to solve it. when I try to make an exact match like below. q=docContent:"dq/ex report" It can't find the match because the worddelimiter is separating the positions on the index but not in the query as I don'

Re: implement exact match for one of the search fields only?

2016-02-04 Thread Jack Krupansky
dvd default_searchfield:bracket >> >> And the &debug=query trick will show you exactly how things are actually >> searched, it's invaluable. >> >> Best, >> Erick >> >> On Thu, Jan 28, 2016 at 5:08 AM, Mugeesh Husain >> wrote: >> >>> Hi, &g

Re: implement exact match for one of the search fields only?

2016-02-04 Thread Derek Poh
f you are interested phrase query, you should use String field instead of text field in schema like as this will solved you problem. if you are missing anything else let share -- View this message in context: http://lucene.472066.n3.nabble.com/implement-exact-match-f

Re: implement exact match for one of the search fields only?

2016-01-31 Thread Jan Høydahl
gt;> Jan Høydahl, search solution architect >> Cominvent AS - www.cominvent.com >> >>> 29. jan. 2016 kl. 11.14 skrev Alessandro Benedetti < >> abenede...@apache.org>: >>> >>> Jan sorry If i insist, but I really don't see the benefit. >

Re: implement exact match for one of the search fields only?

2016-01-29 Thread Alessandro Benedetti
gt; If you use the edismax and a copy field not tokenised, you can apply the > > boost you want to the exact match, and the query will simply be q=foo. > > And you obtain exactly what you do without the markers. > > > > But please, explain me how your solution add some benefi

Re: implement exact match for one of the search fields only?

2016-01-29 Thread Emir Arnautovic
Hi Derek, What if it does not match other fields but just exact match. From original question I assume it should return such results. It seems to me that you are AND-ing your fields and that is the reason why your query is not returning anything. Can you try just exact match field and see if

Re: implement exact match for one of the search fields only?

2016-01-29 Thread Jan Høydahl
the same search term to all the 4 search fieldsand 1 > of the search field must be an exact match. > > You mentioned "In particular, the pf parameter will automatically apply the > search terms _as a phrase_ against the field specified, relieving you of > having to enclose th

Re: implement exact match for one of the search fields only?

2016-01-29 Thread Jan Høydahl
st, but I really don't see the benefit. > If you use the edismax and a copy field not tokenised, you can apply the > boost you want to the exact match, and the query will simply be q=foo. > And you obtain exactly what you do without the markers. > > But please, explain me how y

Re: implement exact match for one of the search fields only?

2016-01-29 Thread Alessandro Benedetti
Jan sorry If i insist, but I really don't see the benefit. If you use the edismax and a copy field not tokenised, you can apply the boost you want to the exact match, and the query will simply be q=foo. And you obtain exactly what you do without the markers. But please, explain me how

Re: implement exact match for one of the search fields only?

2016-01-28 Thread Derek Poh
Hi Erick and all Yes I am trying to apply the same search term to all the 4 search fieldsand 1 of the search field must be an exact match. You mentioned "In particular, the pf parameter will automatically apply the search terms _as a phrase_ against the field specified, relieving y

Re: implement exact match for one of the search fields only?

2016-01-28 Thread Derek Poh
solved you problem. if you are missing anything else let share -- View this message in context: http://lucene.472066.n3.nabble.com/implement-exact-match-for-one-of-the-search-fields-only-tp4253786p4253827.html Sent from the Solr - User mailing list archive at Nabble.com

Re: implement exact match for one of the search fields only?

2016-01-28 Thread Derek Poh
rtial matches". What does "while" mean - it has to match in other fields as well or result should be scored better if it does but not mandatory to match? For exact match you can use string type instead of text. For querying multiple fields you can take a look at (e)dismax quer

Re: implement exact match for one of the search fields only?

2016-01-28 Thread Jan Høydahl
> Cheers > > On 28 January 2016 at 15:22, Jan Høydahl wrote: > >> Hi >> >> Please look at my github repo with a template for a field type allowing >> exact match. Typical use is with disMax query parser and the “pf” param. >> See https://github.com

Re: implement exact match for one of the search fields only?

2016-01-28 Thread Jack Krupansky
u should use String field instead > of > > text field in schema like as > > > > > > this will solved you problem. > > > > if you are missing anything else let share > > > > > > > > -- > > View this message in context: > http://lucene.472066.n3.nabble.com/implement-exact-match-for-one-of-the-search-fields-only-tp4253786p4253827.html > > Sent from the Solr - User mailing list archive at Nabble.com. >

Re: implement exact match for one of the search fields only?

2016-01-28 Thread Erick Erickson
ng else let share > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/implement-exact-match-for-one-of-the-search-fields-only-tp4253786p4253827.html > Sent from the Solr - User mailing list archive at Nabble.com.

Re: implement exact match for one of the search fields only?

2016-01-28 Thread Alessandro Benedetti
allowing > exact match. Typical use is with disMax query parser and the “pf” param. > See https://github.com/cominvent/exactmatch > > -- > Jan Høydahl, search solution architect > Cominvent AS - www.cominvent.com > > > 28. jan. 2016 kl. 10.52 skrev Derek Poh : > > >

Re: implement exact match for one of the search fields only?

2016-01-28 Thread Jan Høydahl
Hi Please look at my github repo with a template for a field type allowing exact match. Typical use is with disMax query parser and the “pf” param. See https://github.com/cominvent/exactmatch -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 28. jan. 2016 kl. 10

Re: implement exact match for one of the search fields only?

2016-01-28 Thread Alessandro Benedetti
Hi, > if you are interested phrase query, you should use String field instead of > text field in schema like as > > > this will solved you problem. > > if you are missing anything else let share > > > > -- > View this message in context: > http://lucene.4720

Re: implement exact match for one of the search fields only?

2016-01-28 Thread Mugeesh Husain
Hi, if you are interested phrase query, you should use String field instead of text field in schema like as this will solved you problem. if you are missing anything else let share -- View this message in context: http://lucene.472066.n3.nabble.com/implement-exact-match-for-one-of-the

Re: implement exact match for one of the search fields only?

2016-01-28 Thread Emir Arnautovic
etter if it does but not mandatory to match? For exact match you can use string type instead of text. For querying multiple fields you can take a look at (e)dismax query parser. Regards, Emir -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr & Elasticsearch Suppo

implement exact match for one of the search fields only?

2016-01-28 Thread Derek Poh
- P_ShortDescription - P_CatConcatKeyword - spp_keyword_exact For the spp_keyword_exact field, I want to apply an exact match to it. I have a document with the following information. If I search for 'dvd', this document should not match. However if I search for 'dvd bracket&#

Re: Solr Exact match boost Reduce the results

2015-06-23 Thread JACK
6.n3.nabble.com/Solr-Exact-match-boost-Reduce-the-results-tp4211352p4213417.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr Exact match boost Reduce the results

2015-06-23 Thread Alessandro Benedetti
emain : 1) carefully take care of your analysis 2) carefully take care of the schema ( field attributes) 3) carefully take care of the handler config Cheers > > The corresponding results also given in the below link.Now am getting exact > match first. > > http://pastebin.com/rAYrFiB8

Re: Solr Exact match boost Reduce the results

2015-06-22 Thread JACK
ding results also given in the below link.Now am getting exact match first. http://pastebin.com/rAYrFiB8 Now the problem is Look at the 8th result "product_name":"Dell Inspiron 15R 15.6-inch Laptop without Laptop Bag by Dell", its not a relevant result can you check How

Re: Solr Exact match boost Reduce the results

2015-06-15 Thread Alessandro Benedetti
end > positionLength > type > keyword > position > > laptop > [6c 61 70 74 6f 70] > 0 > 6 > 1 > word > false > 1 > > bag > [62 61 67] > 7 > 10 > 1 > word > false > 2 > EMSF > > text > raw_bytes > start > end > positi

Re: Solr Exact match boost Reduce the results

2015-06-15 Thread JACK
e.com/Solr-Exact-match-boost-Reduce-the-results-tp4211352p4211845.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr Exact match boost Reduce the results

2015-06-15 Thread Alessandro Benedetti
without Laptop Bag by Dell > 8.Laptop - BAG > 9.Laptop -BAG > 10.Laptop-BAG > > I need to get Last three results first, rest of the results can be any > order > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-Exact-match-boost-Re

Re: Solr Exact match boost Reduce the results

2015-06-15 Thread JACK
ptop-BAG I need to get Last three results first, rest of the results can be any order -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Exact-match-boost-Reduce-the-results-tp4211352p4211826.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr Exact match boost Reduce the results

2015-06-15 Thread Alessandro Benedetti
about synonyms . When I checked in the FAQ page of Solr wiki, it is found >> that if we need to get exact match results first, use a copy field with >> different configuration. That's why I followed this way. >> > > Can you show me this link, as I still find difficult to

Re: Solr Exact match boost Reduce the results

2015-06-15 Thread Alessandro Benedetti
gt; that if we need to get exact match results first, use a copy field with > different configuration. That's why I followed this way. > Can you show me this link, as I still find difficult to understand why you are getting this not by default. Have you tried the Analysis tool to v

RE: Solr Exact match boost Reduce the results

2015-06-14 Thread JACK
Hi chillra, I have changed the index and query filed configuration to But still my problem not solved , it won't resolve my problem. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Exact-match-boost-Reduce-the-results-tp4211352p4211788.html Sent from the

RE: Solr Exact match boost Reduce the results

2015-06-12 Thread Andrew Chillrud
Andy - -Original Message- From: JACK [mailto:mfal...@gmail.com] Sent: Friday, June 12, 2015 12:54 PM To: solr-user@lucene.apache.org Subject: Re: Solr Exact match boost Reduce the results As explained above, actually I have around 10 lack data not 5 row. It's not about synonym

Re: Solr Exact match boost Reduce the results

2015-06-12 Thread JACK
As explained above, actually I have around 10 lack data not 5 row. It's not about synonyms . When I checked in the FAQ page of Solr wiki, it is found that if we need to get exact match results first, use a copy field with different configuration. That's why I followed this way. --

Re: Solr Exact match boost Reduce the results

2015-06-12 Thread Alessandro Benedetti
I did a simple test using out of the Box Edismax ( not even configuring specific params or the phrase field). As expected the exact match comes first. This is because of the norms and the natural way the Edismax boost exact matches. Are you sure you are using a proper query parser ? I did nothing

Re: Solr Exact match boost Reduce the results

2015-06-12 Thread JACK
The quoted search words will be different and it will be any word or more than one word. In the query it's just example -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Exact-match-boost-Reduce-the-results-tp4211352p4211410.html Sent from the Solr - User mailing

Re: Solr Exact match boost Reduce the results

2015-06-12 Thread JACK
words. When I do this my results is too less compared to search without quotes. But I need the same results without quotes along with exact matches should come first -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Exact-match-boost-Reduce-the-results-tp4211352p4211409

Re: Solr Exact match boost Reduce the results

2015-06-12 Thread Alessandro Benedetti
ll laptop without bag > dell inspiron laptop with bag > if i query for "dell laptop", the result should be like this > dell laptop > dell laptop with bag > dell laptop without bag > dell inspiron laptop with bag > Exact match should come first, rest of the things will b

Re: Solr Exact match boost Reduce the results

2015-06-12 Thread JACK
t bag dell inspiron laptop with bag Exact match should come first, rest of the things will be in the any order, but should get the same number of results -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Exact-match-boost-Reduce-the-results-tp4211352p4211377.html Sent fro

Re: Solr Exact match boost Reduce the results

2015-06-12 Thread Alessandro Benedetti
Hi jack, do you mean exact match over the synonyms ? In that case, with your Analyzer you are not going to be able to see that. You apply index analysis synonym expansion. So for your Index there is no difference between the synonyms, there is no "exact match" . In this case I would s

Solr Exact match boost Reduce the results

2015-06-12 Thread JACK
I have two fields, one is copy field. I have to get Exact match results first along with entire result of fuzzy search. Its filed definition is given below

How to get exact match along with text edge_ngram

2015-05-04 Thread Vishal Swaroop
We have item_name indexed as text edge_ngram which returns like results... Please suggest what will be the best approach (like "string" index (in addition to "...edge_ngram"... or using copyField...) to search ALSO for exact matches? e.g. url should return item_name as "abc" entries only... I tri

RE: Exact match on string field with special characters

2014-10-06 Thread Michael Ryan
10:49 AM To: solr-user@lucene.apache.org Subject: Re: Exact match on string field with special characters I may have provided too much background story for my question. What I am trying to do at the core here, is an exact match on a single field. I do this programmatically by reading the field v

Re: Exact match on string field with special characters

2014-10-06 Thread tedsolr
Shoot I just noticed the error in my original post which would certainly cause confusion. Instead of query.addFacetField(fq); I meant to write query.setParam("fq", fg); Sorry. -- View this message in context: http://lucene.472066.n3.nabble.com/Exact-match-on-string-field-wi

Re: Exact match on string field with special characters

2014-10-06 Thread tedsolr
I may have provided too much background story for my question. What I am trying to do at the core here, is an exact match on a single field. I do this programmatically by reading the field value from the facet query and setting it equal to the field name for a subsequent search. if this is a

Re: Exact match on string field with special characters

2014-10-01 Thread Ahmet Arslan
string fields for faceting - to try to get an exact match. However, it seems like to run a facet query I have to surround the value with double quotes. That poses issues when the field value is green "bath" towels -or- red \cars Those two special characters must be transformed somehow o

RE: Exact match on string field with special characters

2014-10-01 Thread Michael Ryan
ry, you can use org.apache.solr.client.solrj.util.ClientUtils.escapeQueryChars(). -Michael -Original Message- From: tedsolr [mailto:tsm...@sciquest.com] Sent: Wednesday, October 01, 2014 5:33 PM To: solr-user@lucene.apache.org Subject: Exact match on string field with special characters I am trying to do SQL like aggregation (GROU

Exact match on string field with special characters

2014-10-01 Thread tedsolr
I am trying to do SQL like aggregation (GROUP BY) with solr faceting. So I use string fields for faceting - to try to get an exact match. However, it seems like to run a facet query I have to surround the value with double quotes. That poses issues when the field value is green "bath" t

Re: Tricky exact match, unwanted search results

2014-09-15 Thread FiMka
the phrase found query: srcphrase:"in case if" the phrase found -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Tricky-exact-match-unwanted-search-results-tp4158652p4158894.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Tricky exact match, unwanted search results

2014-09-14 Thread Jack Krupansky
I keep asking people this eternal question: What training or doc are you reading that is using this term "exact match"? Clearly the term is being used by a lot of people in a lot of ambiguous ways, when "exact" should be... "exact". I think we need to start usi

Re: Solr: Tricky exact match, unwanted search results

2014-09-14 Thread FiMka
y for analyzer type="index", removed all the documents and then re-added them. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Tricky-exact-match-unwanted-search-results-tp4158652p4158748.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr: Tricky exact match, unwanted search results

2014-09-14 Thread FiMka
*Erick*, thank you for help! For exact match I still want: to use stemming (e.g. for "sleep" I want the word forms "slept", "sleeping", "sleeps" also to be used in searching) to disregard case sensitivity to disregard prepositions, conjunctions and other

Re: Solr: Tricky exact match, unwanted search results

2014-09-13 Thread Erick Erickson
The easiest way to make your examples work would be to use a copyField to an "exact match" field that uses the KeywordTokenizer (and perhaps a lowercase filter). Then your exact match would be satisfied by a simple wildcard search for cat*. You'll have to be a little careful to es

Solr: Tricky exact match, unwanted search results

2014-09-13 Thread FiMka
Hi guys, could you help me with implementing exact match search in Solr. Say I have the following Solr documents: And my search query is: By default Solr for the given documents and the search query "cat" will give all the partially matched documents ("cat", "pussy cat&q

Re: Exact match?

2014-08-19 Thread Erik Hatcher
Maybe use dismax for this? Something like q={!dismax qf=field_name mm=90%}query_string, or more verbosely and separately, q=query_string&defType=dismax&mm=90% Erik On Aug 19, 2014, at 2:43 AM, William Bell wrote: > If I have a long string, how do I match on 90% of the terms to see

Exact match?

2014-08-18 Thread William Bell
If I have a long string, how do I match on 90% of the terms to see if there is a duplicate? If I add the field and index it, what is the best way to return 90%? # terms match # of terms in the field? -- Bill Bell billnb...@gmail.com cell 720-256-8076

  1   2   3   >