Re: partial search help request

2020-08-05 Thread Philip Smith
Great advice Erick, kindly appreciated. I removed PorterStemFilter as you suggested and it worked as one would expect it to. Very useful to learn about avoiding KeywordTokenizerFactory, the limitation of the WhitespaceTokenizer and the testing approach. Best, Phil On Wed, Aug 5, 2020 at 8:37 PM

Re: partial search help request

2020-08-05 Thread Erick Erickson
First of all, lots of attachments are stripped by the mail server so a number of your attachments didn’t come through, although your field definitions did so we can’t see your results. KeywordTokenizerFactory is something I’d avoid at this point. It doesn’t break up the input at all, so input o

Re: partial search help request

2020-08-05 Thread Philip Smith
Hello, I've had a break-through with my partial string search problem, I don't understand why though. I found yet another example, https://medium.com/aubergine-solutions/partial-string-search-in-apache-solr-4b9200e8e6bb and this one uses a different tokenizer, whitespaceTokenizerFactory

partial search help request

2020-08-05 Thread Philip Smith
Hello, I'm new to Solr and to this user group. Any help with this problem would be greatly appreciated. I'm trying to get partial keyword search results working. This seems like a fairly common problem, I've found numerous google results offering solutions for instance https://stackoverflow.com/qu

Re: SOLR Partial search

2018-10-10 Thread Aman Tandon
hing against > the special characters in the search. > > But the partial search does not work well with “KeywordTokenizerFactory”. > > > > The partial match results are better in “StandardTokenizerFactory”. > > > > Field type – text_general > > > > Example for

SOLR Partial search

2018-10-07 Thread Rathor, Piyush (US - Philadelphia)
HI All, I am trying to use “KeywordTokenizerFactory” to consider searching against the special characters in the search. But the partial search does not work well with “KeywordTokenizerFactory”. The partial match results are better in “StandardTokenizerFactory”. Field type

RE: query regarding Solr partial search

2018-03-28 Thread Paul, Lulu
*:* 10 *,score on 1 Thanks & Best Regards, Lulu Paul -Original Message- From: Erik Hatcher [mailto:erik.hatc...@gmail.com] Sent: 27 March 2018 18:01 To: solr-user@lucene.apache.org Subject: Re: query regarding Solr partial se

Re: query regarding Solr partial search

2018-03-27 Thread Erik Hatcher
This is as much about your schema as it is about your query parser usage. What’s parsed_query say in your debug=true output? What query parser are you using? If edismax, check qf/pf/mm settings, etc. Erik > On Mar 27, 2018, at 9:56 AM, Paul, Lulu wrote: > > Hi , > > Below is m

query regarding Solr partial search

2018-03-27 Thread Paul, Lulu
Hi , Below is my SOLR configuration (schema.xml) for a keyword search field. · If I search for “Autograph full score”, Solr returns all items that contains this string in

Re: Implementing partial search and exact matching

2016-05-05 Thread Lasitha Wattaladeniya
Hi Nick, Thanks for the reply. Actually q="software engineering" - > doc1 q="software engineer" - > no results q="Software engineer" - > doc2 I hope above test cases will explain my requirements further. So far I'm thinking of changing the qf according to query has enclosing double quotations

Re: Implementing partial search and exact matching

2016-05-05 Thread ND
Lasitha, I think I understand what you are asking and if you have something like Doc1 = software engineering Doc2 = Software engineer And if you query q=software+engineer -> Doc1 & Doc2 but q="software+engineer" -> Doc1 Correct? If this is correct then to my knowledge no, Solr out of the box

Re: Implementing partial search and exact matching

2016-05-05 Thread Lasitha Wattaladeniya
Hi nd, Here's the issue.. Let's say I search.. Software Engineer. For am example lets say this query will return 10 results when search against ngram field . Now I search "Software Engineer" with double quotations. This should not return same result set as the previous query. I thought the que

Re: Implementing partial search and exact matching

2016-05-05 Thread ND
We implemented something similar it sounds to what you are asking but I dont see why you would need to match the original field. Since technically a field that has *software engineer* indexed is matched by a query like "software eng" to "software engineer" with the ngrams; which makes the exac

Implementing partial search and exact search

2016-05-05 Thread Lasitha Wattaladeniya
Hi All, I'm trying to implement a search functionality using solr. Currently I'm suing edismax parser with ngram fields to do the search against. So far it works well. The question I have is when the user input double quotations to the search, As the requirement this should match against the ori

Implementing partial search and exact matching

2016-05-05 Thread Lasitha Wattaladeniya
Hi All, I'm trying to implement a search functionality using solr. Currently I'm suing edismax parser with ngram fields to do the search against. So far it works well. The question I have is when the user input double quotations to the search, As the requirement this should match against the ori

Re: partial search EdgeNGramFilterFactory

2015-10-15 Thread Alessandro Benedetti
let's analyse your query requirement : On 15 October 2015 at 03:08, Brian Narsi wrote: > > 1) cardinal healthcare products > 2) cardinal healthcare > 3) postoperative cardinal healthcare > 4) surgical cardinal products > > > q=SellerName:cardinal - all 4 records returned > q=SellerName:healthca

Re: partial search EdgeNGramFilterFactory

2015-10-14 Thread Brian Narsi
Thank you Erick. Yes it was the default search field. So for the following SellerName: 1) cardinal healthcare products 2) cardinal healthcare 3) postoperative cardinal healthcare 4) surgical cardinal products My requirement is: q=SellerName:cardinal - all 4 records returned q=SellerName:healthca

Re: partial search EdgeNGramFilterFactory

2015-10-14 Thread Erick Erickson
try adding &debug=true to your query. The query q=SellerName:cardinal he actually parses as q=SellerName:cardinal defaultSearchField:he so I suspect you're getting on the default search field. I'm not sure EdgeNGram is what you want here though. That only grams individual tokens, so CARDINAL is g

partial search EdgeNGramFilterFactory

2015-10-14 Thread Brian Narsi
I have the following fieldtype in my schema: and the following field: With the following data: SellerName:CARDINAL HEALTH When I do the following search q:SellerName:cardinal I get back the results with SellerName: CARDINAL HEALTH (correct) or I do the search q:SellerName:

Re: Partial search

2012-09-13 Thread Mani
32892/solr-index-time-field-boost I am using OR condition instead of AND. AND will work for 3 or less but does not work good more than 3 terms in the search query. I could use defType=disMax and mm=2 parameters. -- View this message in context: http://lucene.472066.n3.nabble.com/Partial-search-t

Re: Partial search

2012-09-12 Thread Jack Krupansky
-- Jack Krupansky -Original Message- From: Mani Sent: Tuesday, September 11, 2012 8:29 PM To: solr-user@lucene.apache.org Subject: Partial search I have three documents with the following search field (text_en type) values. When I search for "Energy Field", I am getting

Partial search

2012-09-11 Thread Mani
Energy and Peace Doc2 : Energy One Energy Two Energy Three Energy Four Doc3 : Mathematic Field Energy Field What is the best way to configure my search to accomodate as many terms match as possible? -- View this message in context: http://lucene.472066.n3.nabble.com/Partial-search-tp4007097

Partial search extremly slow

2011-02-25 Thread javaxmlsoapdev
Since my users wanted to have a partial search functionality I had to introduce following. I have declared two EdgeNGram filters with both side "back" and "front" since they wanted to have partial search working from any side. When executing search (which