Re: Can we have multiple Spellcheck Components under /select handler

2021-01-01 Thread Rajesh Hazari
Hi, You can have more than one spellcheck components after you have the spellcheck components in select request handler, you have still which spellcheck you want to use you could mention in your query params for ex: http:// :8983/solr//select/?q=text&spellcheck.dictionary=def

Can we have multiple Spellcheck Components under /select handler

2020-12-30 Thread rashi gandhi
Hi All I am trying to configure multiple spellcheck components. I defined two searchComponents in my solrconfig.xml, let's say and . And added above both components under /select request handler with default required attributes. > elevator spellcheck < > str>spellcheck1 H

Re: Order of spellcheck suggestions

2020-06-16 Thread Thomas Corthals
Can anybody shed some light on this? If not, I'm going to report it as a bug in JIRA. Thomas Op za 13 jun. 2020 13:37 schreef Thomas Corthals : > Hi > > I'm seeing different ordering on the spellcheck suggestions in cloud mode > when using spellcheck.ex

Order of spellcheck suggestions

2020-06-13 Thread Thomas Corthals
Hi I'm seeing different ordering on the spellcheck suggestions in cloud mode when using spellcheck.extendedResults=false vs. spellcheck.extendedResults=true. Solr 8.5.2 in cloud mode with 2 nodes, 1 collection with numShards = 2 & replicationFactor = 1, techproducts configset and exa

Re: How to implement spellcheck for custom suggest component?

2020-04-22 Thread Paras Lehana
Hi Buddy, We have built Auto-Suggest over Solr with EdgeNGrams, Custom Spellcheck Factory and Synonyms (for spelling mistakes). This solves for most cases. If you have the dictionary for spelling mistakes, EdneNGrams after Synonym factory will do the job. On Thu, 16 Apr 2020 at 13:35, aTan

How to implement spellcheck for custom suggest component?

2020-04-16 Thread aTan
Hello. I'm new to Solr and would be thankful for advice for the following case: We have Suggest API running on production using Solr 6, which currently prevent changes in the response and query parameters. That's why SpellCheck component can't be used (parameter is custom, not 

How to implement spellcheck for custom suggest component?

2020-04-16 Thread aTan
Hello. I'm new to Solr and would be thankful for advice for the following case: We have Suggest API running on production using Solr 6, which currently prevent changes in the response and query parameters. That's why SpellCheck component can't be used (parameter is custom, not 

Re: Spellcheck on specified fields?

2020-04-07 Thread TK Solr
tartOffset value? On 4/7/20 3:46 PM, TK Solr wrote: I query on multiple field like: q=city:(mark seattle) name:(mark seattle) phone:(mark seattle)&spellcheck=true The raw query terms are distributed to all fields because I don't know what term is intended to for which field. If

Spellcheck on specified fields?

2020-04-07 Thread TK Solr
I query on multiple field like: q=city:(mark seattle) name:(mark seattle) phone:(mark seattle)&spellcheck=true The raw query terms are distributed to all fields because I don't know what term is intended to for which field. If I misspell seattle, I get 3 suggestions: &q

RE: Odd Edge Case for SpellCheck

2019-11-25 Thread Moyer, Brett
This is a great help, thank you! Brett Moyer -Original Message- From: Erick Erickson Sent: Monday, November 25, 2019 4:12 PM To: solr-user@lucene.apache.org Subject: Re: Odd Edge Case for SpellCheck If you’re using direct spell checking, it looks for the _indexed_ term. So this means

Re: Odd Edge Case for SpellCheck

2019-11-25 Thread Erick Erickson
t; > Brett Moyer > > -Original Message- > From: Jörn Franke > Sent: Friday, November 22, 2019 8:34 AM > To: solr-user@lucene.apache.org > Subject: Re: Odd Edge Case for SpellCheck > > Stemming involved ? > >> Am 22.11.2019 um 14:23 schrieb Moyer, Brett : >&

RE: Odd Edge Case for SpellCheck

2019-11-25 Thread Moyer, Brett
Yes we are stemming, ahh so we shouldn't stem our words to be spelled? Brett Moyer -Original Message- From: Jörn Franke Sent: Friday, November 22, 2019 8:34 AM To: solr-user@lucene.apache.org Subject: Re: Odd Edge Case for SpellCheck Stemming involved ? > Am 22.11.2019

Re: Odd Edge Case for SpellCheck

2019-11-22 Thread Jörn Franke
Stemming involved ? > Am 22.11.2019 um 14:23 schrieb Moyer, Brett : > > Hello, we have spellcheck running, using the index as the dictionary. An odd > use case came up today wanted to get your thoughts and see if what we > determined is correct. Use case: User sends a query

Odd Edge Case for SpellCheck

2019-11-22 Thread Moyer, Brett
Hello, we have spellcheck running, using the index as the dictionary. An odd use case came up today wanted to get your thoughts and see if what we determined is correct. Use case: User sends a query for q=brokerage, spellcheck fires and returns "brokerage". Looking at the output I see

Re: Re: Multi-language Spellcheck

2019-08-29 Thread Audrey Lorberfeld - audrey.lorberf...@ibm.com
Thanks, everyone! -- Audrey Lorberfeld Data Scientist, w3 Search Digital Workplace Engineering CIO, Finance and Operations IBM audrey.lorberf...@ibm.com On 8/29/19, 11:28 AM, "Atita Arora" wrote: I would agree with the suggestion, I remember something similar presented by someone at

Re: Multi-language Spellcheck

2019-08-29 Thread Atita Arora
I would agree with the suggestion, I remember something similar presented by someone at Berlin Buzzwords 19. On Thu, Aug 29, 2019, 5:03 PM Jörn Franke wrote: > It could be sensible to have one spellchecker / language (as different > endpoint or as a queryparameter at runtime). Alternatively, dep

Re: Multi-language Spellcheck

2019-08-29 Thread Jörn Franke
It could be sensible to have one spellchecker / language (as different endpoint or as a queryparameter at runtime). Alternatively, depending on your use case you could get away with a generic fieldtype that does not do anything language specific, but I doubt. > Am 29.08.2019 um 16:20 schrieb Au

Multi-language Spellcheck

2019-08-29 Thread Audrey Lorberfeld - audrey.lorberf...@ibm.com
Hi All, We are starting up an internal search engine that has to work for many different languages. We are starting with a POC of Spanish and English documents, and we are using the DirectSolrSpellChecker. From reading others' threads online, I know that we have to have multiple spellcheckers

Spellcheck Collations Phrase based instead of AND

2019-05-13 Thread Ashish Bisht
Hi, For a sample collation during spellcheck. "collation",{ "collationQuery":"smart connected factory", "hits":109, "misspellingsAndCorrections":[ "smart","smart", &q

Re: Solr spellcheck Collation JSON

2019-04-08 Thread Mikhail Khludnev
> > Previous Solr versions > -- > "spellcheck": { > ..., > "collations": [ > "collation":"account" <--correct format > ] However, it's not a JSON. On Mon, Apr 8, 2019 at 2:45 AM Moyer, Brett wrote: > Hello, > &g

Solr spellcheck Collation JSON

2019-04-07 Thread Moyer, Brett
e and introduced a bug their perspective) Thanks Solr 7.4 -- "spellcheck": { "suggestions": [ "acount", { "numFound": 1, "startOffset": 0, "endOffset": 6, "suggestion": [ "account" ] } ], "collations": [ "co

Re: Control Solr spellcheck functionality to provide suggestions for correct word

2019-04-06 Thread Rohan Kasat
Hi Rashi, Can you try with 0 Also you can play with maxqueryfrequency value. Regards, Rohan On Sat, Apr 6, 2019 at 2:53 AM Rashi wrote: > Hi Rohan, > > Sharing the configuration: > > > text_suggest > > > > default > title > solr.DirectSolrSpellChecker > > in

Re: Control Solr spellcheck functionality to provide suggestions for correct word

2019-04-06 Thread Rashi
Hi Rohan, Sharing the configuration: text_suggest default title solr.DirectSolrSpellChecker internal 0.5 2 1 5 4 0.01 Also, below are the parameters, passing

Re: Control Solr spellcheck functionality to provide suggestions for correct word

2019-04-05 Thread Rohan Kasat
Hi Rashi, Can you share your spellcheck configuration, it will be easy to check from the configuration? Regards, Rohan Kasat On Fri, Apr 5, 2019 at 10:29 AM rashi gandhi wrote: > HI, > > I am working on Solr spellcheck feature, and I am using index based > spellcheck dictionary

Control Solr spellcheck functionality to provide suggestions for correct word

2019-04-05 Thread rashi gandhi
HI, I am working on Solr spellcheck feature, and I am using index based spellcheck dictionary as a source for spellcheck suggestions. I observed that collated results returned by spellcheck component, provide the suggestions for misspelled words, however also provide suggestions for correctly

Spellcheck not returning output array for single character

2019-01-13 Thread Zheng Lin Edwin Yeo
Hi, I am using Solr 7.5.0, and I have found that when we call the spellcheck handler with a single character search (Eg: http://localhost:8983/solr/collection1/spell?q=6), the output array like the below is not shown. "spellcheck":{ "suggestions":[], &qu

How to get spellcheck results per field in solr ?

2018-10-27 Thread govind nitk
ary names. Now comparing this result structure to spellcheck response, my questions are : 1. how to build multiple spellcheck results per dictionary ? What I have tried : copying multiple fields data into "get_spell" field and build spellcheck on top of this. But is there any way

RE: [External] Setting Spellcheck for solr only for zero result

2018-09-26 Thread Dyer, James
Neel, I do not think there is a way to entirely bypass spellchecking if there are results returned, and I'm not so sure performance would noticeably improve if it did this. Clients can easily check to see if results were returned and can ignore the spellcheck response in these case

Setting Spellcheck for solr only for zero result

2018-09-23 Thread neel choudhury
I am looking for setting up spellcheck for solr correctly. For performance reason (and avoiding confusion) I don't want to give any suggestion for any query which returns at least one result. Solr provides a parameter spellcheck.maxResultsForSuggest. For my use case i need to set is as 0 as I

RE: SpellCheck Reload

2018-03-16 Thread Sadiki Latty
detti [mailto:a.benede...@sease.io] Sent: March-15-18 1:34 PM To: solr-user@lucene.apache.org Subject: RE: SpellCheck Reload Hi Sadiki, the kind of spellchecker you are using built an auxiliary Lucene index as a support data structure. That is going to be used to provide the spellcheck suggestions. "M

RE: SpellCheck Reload

2018-03-15 Thread Alessandro Benedetti
Hi Sadiki, the kind of spellchecker you are using built an auxiliary Lucene index as a support data structure. That is going to be used to provide the spellcheck suggestions. "My question is, does "reloading the dictionary" mean completely erasing the current dictionary and starti

RE: SpellCheck Reload

2018-03-14 Thread Sadiki Latty
Hello, Just bumping this question up regarding the spellcheck reload. Can anyone provide some insight on this question? Thanks in advance Sid -Original Message- From: Sadiki Latty [mailto:sla...@uottawa.ca] Sent: March-12-18 1:38 PM To: solr-user@lucene.apache.org Subject

SpellCheck Reload

2018-03-12 Thread Sadiki Latty
Greetings list, I had question regarding the spellcheck.reload parameter. I am using the IndexBasedSpellChecker which creates it's dictionary based on content from a field. I built the spell check (in error) with a field that has stemming and other filters associated to it. Regarding the spell

Re: Spellcheck collations results

2018-02-08 Thread Alessandro Benedetti
n the first 3 collation combinations) We can go more in deep if required, the Spellcheck is quite a complex module :) Cheers - --- Alessandro Benedetti Search Consultant, R&D Software Engineer, Director Sease Ltd. - www.sease.io -- Sent from: http://lucene.472066.n3.nabble.com/

Re: Spellcheck collations results

2018-02-07 Thread Arnold Bronley
Thanks for replying Alessandro. I am passing these parameters: q=polt&spellcheck.q=polt&wt=json&indent=true&spellcheck=true&spellcheck.count=7&spellcheck.onlyMorePopular=true&spellcheck.extendedResults=true&spellcheck.collate=true&spellcheck.maxCollati

Re: No Suggestions from SpellCheck when _text_ field tokenizer set to solr.NGramTokenizerFactory

2018-02-05 Thread Alessandro Benedetti
How is this field type defined : textSpell ? Can you detail what it is not working as expected ? Thanks - --- Alessandro Benedetti Search Consultant, R&D Software Engineer, Director Sease Ltd. - www.sease.io -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: No Suggestions from SpellCheck when _text_ field tokenizer set to solr.NGramTokenizerFactory

2018-02-05 Thread Anupam Bhattacharya
title_txt_spellcheck_en true true ./spellchecker_de default on true 10 5 5 true true 10 5 spellcheck Regards, Anupam On Mon, Feb

Re: No Suggestions from SpellCheck when _text_ field tokenizer set to solr.NGramTokenizerFactory

2018-02-05 Thread Alessandro Benedetti
Hi, how is your spellcheck dictionary : "spellcheck.dictionary=title_txt_spellcheck_ja" defined in the solrconfig.xml? Regards - --- Alessandro Benedetti Search Consultant, R&D Software Engineer, Director Sease Ltd. - www.sease.io -- Sent from: http://lu

Re: No Suggestions from SpellCheck when _text_ field tokenizer set to solr.NGramTokenizerFactory

2018-02-04 Thread Anupam Bhattacharya
> omitNorms="true" indexed="true" stored="true"/> > > Below is the full text field > stored="false"/> > > I copy text from another field for suggestions. > > > > /spell?fl=id,title_txt_spellcheck_ja&wt=json&defType= &g

No Suggestions from SpellCheck when _text_ field tokenizer set to solr.NGramTokenizerFactory

2018-02-01 Thread Anupam Bhattacharya
is the field on which I do spell check Below is the full text field I copy text from another field for suggestions. /spell?fl=id,title_txt_spellcheck_ja&wt=json&defType=edismax&q=te&spellcheck=on&spellcheck.count=10&spellcheck.collate=true&spellcheck.dictio

Re: Spellcheck collations results

2018-01-25 Thread alessandro.benedetti
Can you tell us the request parameters used for the spellcheck ? In particular are you using these ? (from the wiki) : " The *spellcheck.maxCollationTries* Parameter This parameter specifies the number of collation possibilities for Solr to try before giving up. Lower values ensure b

Spellcheck collations results

2018-01-24 Thread Arnold Bronley
ecker response for query : here lise the grate mighty king "spellcheck": { "suggestions": [ "lise", { "numFound": 7, "startOffset": 0, "endOffset": 11, "origFreq": 0, &quo

Proximity search in spellcheck collation

2018-01-18 Thread Arnold Bronley
Hi, Does Solr spellcheck collator consider proximity between words in multi-word search phrase? i.e. instead of returning spell suggestions by considering each individual word separately, does it consider them in group if the words occur together often? E.g. bll gats should return bill gates

RE: Solr Spellcheck

2017-11-29 Thread alessandro.benedetti
"Can you please suggest suitable configuration for spell check to work correctly. I am indexing all the words in one column. With current configuration I am not getting good suggestions " This is very vague. Spellchecking is working correctly according to your configurations... Let's start from

RE: Solr Spellcheck

2017-11-28 Thread GVK Prasad
words in one column. With current configuration I am not getting good suggestions Regards, Prasad. Sent from Mail for Windows 10 From: alessandro.benedetti Sent: Tuesday, November 28, 2017 11:28 AM To: solr-user@lucene.apache.org Subject: RE: Solr Spellcheck You spellcheck configurations are

RE: Solr Spellcheck

2017-11-28 Thread alessandro.benedetti
You spellcheck configurations are quite extensive ! In particular you specified : 0.01 This means that if the term appears in less than 1 % total docs it will be considered misspelled. Is cholera occurring in your corpus > 1% total docs ? - --- Alessandro Benede

RE: Solr Spellcheck

2017-11-27 Thread GVK Prasad
4 0.01 default on true 10 5 5 true true 10 5 spellcheck My schema file is 40kb so including below only the fields added my me

Re: Solr Spellcheck

2017-11-27 Thread alessandro.benedetti
Do you mean you are over-spellchecking ? Correcting even "not mispelled words" ? Can you give us the request handler configuration, spellcheck configuration and the schema ? Cheers - --- Alessandro Benedetti Search Consultant, R&D Software Engineer, Dire

Solr Spellcheck

2017-11-26 Thread Prasad Gontla VK
=colera&spellcheck=true I am getting some suggestions but I am always getting the results saying word is misspelled with both of following queries. localhost://8983/solr/mycore/spell?spellcheck.q=colera&spellcheck=true localhost://8983/solr/mycore/spell?spellcheck.q=cholera&spellcheck=tr

Re: Spellcheck returning suggestions for words that exist in the dictionary

2017-11-13 Thread Sanjana Sridhar
't set the maxResultsForSuggest field, Solr would always try to spell correct. So for example, Searching for "nike", gets corrected to "bike", {"responseHeader":{"status":0,"QTime":2167,"params":{"spellcheck.q":"*nike* &quo

Re: Spellcheck returning suggestions for words that exist in the dictionary

2017-11-13 Thread alessandro.benedetti
can be a percentage (such as .01, or 1%) or an absolute value (such as 4)." Checking in the latest source code[1] : public static final float DEFAULT_MAXQUERYFREQUENCY = 0.01f; This means that for the direct Solr Spellcheck, you should not get the suggestion if the term has a Document Frequency >

Spellcheck returning suggestions for words that exist in the dictionary

2017-11-10 Thread Sanjana Sridhar
Spellcheck works perfectly when I misspell a word, but if there is a word that already exists in the dictionary, Solr still returns suggestions for it. eg: bike gets spell corrected to bake. I unfortunately cannot use the *maxResultsForSuggest* field as I need to return the correct spelling

Re: How to exclude stop words in spellcheck collations

2017-07-17 Thread Susheel Kumar
The field which you are using for spellcheck suggestions can utilise stopword filter factory. Thanks, Susheel On Sun, Jul 16, 2017 at 12:47 PM, Naveen Pajjuri wrote: > Hi, > Is there any way i can exclude stop words from the collations and > sugesstions from spell check component ? &g

How to exclude stop words in spellcheck collations

2017-07-16 Thread Naveen Pajjuri
Hi, Is there any way i can exclude stop words from the collations and sugesstions from spell check component ? Regards, Naveen Pajjuri.

JSON Response for Spellcheck Collate

2017-04-25 Thread Zoran
Hi Guys, I’m using solr 6.5.0, which is fantastic, and I’ve come across an issue with the collations in the spellcheck response. The way the json is structured collations is an object with each collation named ‘collation’ where it should be an array with multiple ‘collation’ object

Re: Spellcheck: using multiple dictionaries (DirectSolrSpellChecker and FileBasedSpellChecker)

2016-09-26 Thread Ryan Yacyshyn
Ok, thanks Andrey. On Tue, 27 Sep 2016 at 00:13 Kydryavtsev Andrey wrote: > Hello, Ryan > > > As it obvious from exception message - you are forced to use same instance > of Analyzer to all of spell checkers which should be conjuncted. > > How this instance is initialized inside SpellChecker i

Re: Spellcheck: using multiple dictionaries (DirectSolrSpellChecker and FileBasedSpellChecker)

2016-09-26 Thread Kydryavtsev Andrey
Hello, Ryan As it obvious from exception message - you are forced to use same instance of Analyzer to all of spell checkers which should be conjuncted. How this instance is initialized inside SpellChecker instance could be found  here - https://github.com/apache/lucene-solr/blob/master/solr/co

Spellcheck: using multiple dictionaries (DirectSolrSpellChecker and FileBasedSpellChecker)

2016-09-23 Thread Ryan Yacyshyn
Hi everyone, I'm looking at using two different implementations of spell checking together: DirectSolrSpellChecker and FileBasedSpellChecker but I get the following error: msg: "All checkers need to use the same Analyzer.", trace: "java.lang.IllegalArgumentException: All checkers need to use the

Re: solr spellcheck suggest correct word when FileBasedSpellChecker

2016-06-16 Thread Alessandro Benedetti
ght now ! Cheers On Sat, Jun 11, 2016 at 1:11 AM, khawar yunus wrote: > I am in the same boat as you. did you figure out why it does that? > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/solr-spellcheck-suggest-correct-word-when-FileBasedSpe

Re: solr spellcheck suggest correct word when FileBasedSpellChecker

2016-06-11 Thread khawar yunus
I am in the same boat as you. did you figure out why it does that? -- View this message in context: http://lucene.472066.n3.nabble.com/solr-spellcheck-suggest-correct-word-when-FileBasedSpellChecker-tp4138769p4281821.html Sent from the Solr - User mailing list archive at Nabble.com.

solrj SpellCheck request fails

2016-06-07 Thread Rohana Rajapakse
QueryResponse class's _spellResponse is not populated. The following two lines worked in Solr-4.x, but Solr-6/7 SolrClient server = new HttpSolrClient(); QueryResponse response = server.query(new SolrQuery("bus").setParam("spellcheck", "true")); //this ret

spellcheck on vietnamese (vi)

2016-05-23 Thread Nuhaa All Bakry
hello all, The site i’m working on has to support Vietnamese and Thai languages. The user should be able to search in a language and Solr should be able to detect misspelling and suggest some corrections. The search works as expected but the spellcheck doesnt. Currently I’m looking to

Re: most popular collate spellcheck

2016-04-03 Thread michael solomon
done :) https://issues.apache.org/jira/browse/SOLR-8934 On Sun, Apr 3, 2016 at 2:08 PM, Reth RM wrote: > May be open a jira under improvement. > https://issues.apache.org/jira/login.jsp? > > > On Sat, Apr 2, 2016 at 11:30 PM, michael solomon > wrote: > > > Thanks, and what we can do about that?

Re: most popular collate spellcheck

2016-04-03 Thread Reth RM
May be open a jira under improvement. https://issues.apache.org/jira/login.jsp? On Sat, Apr 2, 2016 at 11:30 PM, michael solomon wrote: > Thanks, and what we can do about that? > On Apr 2, 2016 5:28 PM, "Reth RM" wrote: > > > Afaik, such feature doesn't exist currently, but looks like nice to

spellcheck return wrong collation

2016-04-03 Thread michael solomon
Hi, image: http://s24.postimg.org/u457bhzr9/Untitled.png why the suggestion return "analytics" (great!) but the collation take "analtics"? Thanks, Michael

Re: most popular collate spellcheck

2016-04-02 Thread michael solomon
Thanks, and what we can do about that? On Apr 2, 2016 5:28 PM, "Reth RM" wrote: > Afaik, such feature doesn't exist currently, but looks like nice to have. > > > > > On Thu, Mar 31, 2016 at 8:33 PM, michael solomon > wrote: > > > Hi, > > It's possible to return the most popular collate? > > i.e:

Re: most popular collate spellcheck

2016-04-02 Thread Reth RM
Afaik, such feature doesn't exist currently, but looks like nice to have. On Thu, Mar 31, 2016 at 8:33 PM, michael solomon wrote: > Hi, > It's possible to return the most popular collate? > i.e: > spellcheck.q = prditive analytiycs > spellcheck.maxCollations = 5 > spellcheck.count=0 > respons

most popular collate spellcheck

2016-03-31 Thread michael solomon
Hi, It's possible to return the most popular collate? i.e: spellcheck.q = prditive analytiycs spellcheck.maxCollations = 5 spellcheck.count=0 response: false positive analytic positive analytics predictive analytics primitive analytics punitive analytic I want that

Re: FileBased Spellcheck on Solr cloud

2016-02-01 Thread Binoy Dalal
1) Try building the dictionaries individually on each node. 2) Have you configured the shards.qt parameter in your solrconfig.xml for the query handler you're using? The shards.qt parameter should point to the request handler you're using, something like: /spellcheck On Mon, Feb 1, 20

Re: FileBased Spellcheck on Solr cloud

2016-02-01 Thread Riyaz
Thank you Binoy. We are generating spellcheck source data: spellings_xxx.txt by querying the main index only(we do have the field indexed in cloud). Due to huge amount of data(160 million records), spellcheck build request taking lot of time and consuming lot memory for index based spellcheck. So

RE: How get around solr's spellcheck maxEdit limit of 2?

2016-01-22 Thread Dyer, James
, 2016 11:20 AM To: solr-user@lucene.apache.org Subject: Re: How get around solr's spellcheck maxEdit limit of 2? Ok, But IndexBasedSpellChecker needs a directory where all indexes are stored to do spell check. I don't have any idea about IndexBasedSpellChecker. If you send me snap config

Re: How get around solr's spellcheck maxEdit limit of 2?

2016-01-22 Thread Nitin Solanki
lly need more than 2 edits, I think IndexBasedSpellChecker > supports it. > > James Dyer > Ingram Content Group > > -Original Message- > From: Erick Erickson [mailto:erickerick...@gmail.com] > Sent: Thursday, January 21, 2016 11:29 AM > To: solr-user > Subject

RE: How get around solr's spellcheck maxEdit limit of 2?

2016-01-21 Thread Dyer, James
x27;s spellcheck maxEdit limit of 2? bq: ...is anyway to increase that maxEdit IIUC, increasing maxEdit beyond 2 increases the space/time required unacceptably, that limit is there on purpose, put there by people who know their stuff. Best, Erick On Thu, Jan 21, 2016 at 12:39 AM, Nitin Solanki

Re: How get around solr's spellcheck maxEdit limit of 2?

2016-01-21 Thread Erick Erickson
bq: ...is anyway to increase that maxEdit IIUC, increasing maxEdit beyond 2 increases the space/time required unacceptably, that limit is there on purpose, put there by people who know their stuff. Best, Erick On Thu, Jan 21, 2016 at 12:39 AM, Nitin Solanki wrote: > I am using Solr for spel

How get around solr's spellcheck maxEdit limit of 2?

2016-01-21 Thread Nitin Solanki
I am using Solr for spell Correction. Solr is limited to maxEdit of 2. Does there is anyway to increase that maxEdit without using phonetic mapping ? Please any suggestions

Re: FileBased Spellcheck on Solr cloud

2016-01-20 Thread Binoy Dalal
One thing you could do is index your entire spell check file into lucene as string values. That way your index will be available across the cloud and you can build your dictionary from the indexed field. This will however mean that everytime you change the spellcheck file, you will need to do

FileBased Spellcheck on Solr cloud

2016-01-20 Thread Riyaz
Hi, *Environment: * Solr-4.10.4 tomcat6 Solr Cloud - 6 shards and 6 replicas with external zookeeper ensemble We are configuring Filebased spellcheck component on Solr Cloud. The source file for dictionary generation having 5 million text entries. Since the solr configurations(including

Re: Spellcheck response format differs between a single core and SolrCloud

2016-01-11 Thread Ryan Yacyshyn
t: Monday, January 11, 2016 12:32 AM > To: solr-user@lucene.apache.org > Subject: Spellcheck response format differs between a single core and > SolrCloud > > Hello, > > I am using the spellcheck component for spelling suggestions and I've used > the same configurations

RE: Spellcheck response format differs between a single core and SolrCloud

2016-01-11 Thread Dyer, James
-Original Message- From: Ryan Yacyshyn [mailto:ryan.yacys...@gmail.com] Sent: Monday, January 11, 2016 12:32 AM To: solr-user@lucene.apache.org Subject: Spellcheck response format differs between a single core and SolrCloud Hello, I am using the spellcheck component for spelling suggestions

Spellcheck response format differs between a single core and SolrCloud

2016-01-10 Thread Ryan Yacyshyn
Hello, I am using the spellcheck component for spelling suggestions and I've used the same configurations in two separate projects, the only difference is one project uses a single core and the other is a collection on SolrCloud with three shards. The single core has about 56K docs and the o

Re: Solr suggest, auto complete & spellcheck

2016-01-04 Thread Erick Erickson
Here's a writeup on suggester: https://lucidworks.com/blog/2015/03/04/solr-suggester/ The biggest difference is that spellcheck returns individual _terms_ whereas suggesters can return entire fields. Neither are "a function of the UI" any more than searching is a function of

Solr suggest, auto complete & spellcheck

2016-01-04 Thread Steven White
Hi, I'm trying to understand what are the differences between Solr suggest, auto complete & spellcheck? Isn't each a function of the UI? If not, can you provide me with links that show end-to-end example setting up Solr to get all of the 3 features? I'm on Solr 5.2. Thanks Steve

Re: Spellcheck error

2015-12-03 Thread Matt Pearce
like synonym expansion is playing a part in the problem. The spellcheck field is essentially the same as text_general in the example schema, with the substitution of HTMLStripCharFilterFactory instead of the StandardTokenizerFactory at index time: positionIncrementGap=

RE: Spellcheck error

2015-12-03 Thread Dyer, James
Matt, Can you give some information about how your spellcheck field is analyzed and also if you're using a custom query converter. Also, try and place the bare terms you want checked in spellcheck.q (ex, if your query is q=+movie +theatre, then spellcheck.q=movie theatre). Does it wo

Spellcheck error

2015-12-03 Thread Matt Pearce
Hi, We're using Solr 5.3.1, and we're getting a StringIndexOutOfBoundsException from the SpellCheckCollator. I've done some investigation, and it looks like the problem is that the corrected string is shorter than the original query. For example, the search term is "theatre", the suggested c

Re: Spellcheck on first character

2015-11-30 Thread Alessandro Benedetti
gt; > > -Original message- > > > From:Ryan Yacyshyn > > > Sent: Friday 27th November 2015 15:44 > > > To: solr-user@lucene.apache.org > > > Subject: Re: Spellcheck on first character > > > > > > hmm.. I must be missing so

Re: Spellcheck on first character

2015-11-27 Thread Ryan Yacyshyn
s configurable via Solr: > http://lucene.apache.org/solr/5_3_0/solr-core/org/apache/solr/spelling/DirectSolrSpellChecker.html > > > > -Original message- > > From:Ryan Yacyshyn > > Sent: Friday 27th November 2015 15:44 > > To: solr-user@lucene.apache.org

RE: Spellcheck on first character

2015-11-27 Thread Markus Jelsma
/DirectSolrSpellChecker.html -Original message- > From:Ryan Yacyshyn > Sent: Friday 27th November 2015 15:44 > To: solr-user@lucene.apache.org > Subject: Re: Spellcheck on first character > > hmm.. I must be missing something then. I do get spelling suggestions if I > make a mistake

Re: Spellcheck on first character

2015-11-27 Thread Ryan Yacyshyn
sertion) . > There's should be any problem to provide that suggestion, as the solr > spellcheck supports up to 2 edits as a maximum distance. > > Cheers > > On 27 November 2015 at 03:41, Ryan Yacyshyn > wrote: > > > Hi all, > > > > Is it possible to provi

Re: Spellcheck on first character

2015-11-27 Thread Alessandro Benedetti
Hi Ryan, "eappointment" has a Leveinstein distance of 1 edit from "appointment" ( 1 insertion) . There's should be any problem to provide that suggestion, as the solr spellcheck supports up to 2 edits as a maximum distance. Cheers On 27 November 2015 at 03:41, Ryan Y

Spellcheck on first character

2015-11-26 Thread Ryan Yacyshyn
Hi all, Is it possible to provide spelling suggestions if it's just the first character that's wrong (or has an additional character added)? We have users querying for "eappointment" when they should just be searching for "appointment". I'd like to show "appointment" as a spelling suggestion for

Re: StringIndexOutOfBoundsException using spellcheck and synonyms

2015-11-17 Thread Derek Poh
might warrant a new one. k/r, Scott On Sun, Nov 15, 2015 at 11:01 PM, Derek Poh wrote: Hi Iam using spellcheck and synonyms.I am getting "java.lang.StringIndexOutOfBoundsException: String index out of range: -1" for some keywords. I think I managed to narrow down to the likely

Re: StringIndexOutOfBoundsException using spellcheck and synonyms

2015-11-16 Thread Derek Poh
using spellcheck and synonyms.I am getting "java.lang.StringIndexOutOfBoundsException: String index out of range: -1" for some keywords. I think I managed to narrow down to the likely caused of it. I have thisline of entry in the synonyms.txt file, body spray,cologne,parfum,parfume,perfume,p

Re: Solr 5.3 spellcheck always return lower case?

2015-11-16 Thread Alessandro Benedetti
ase. The fieldType > doesn't do any case manipulation and the requestHandler/searchComponent > don't have any settings declared that I can see. > > Why is my spellcheck returning results that are all lower case? > > Is there a way for me to stop this from happening or have spe

Re: StringIndexOutOfBoundsException using spellcheck and synonyms

2015-11-16 Thread Scott Stults
Hi Derek, Could you please add what version of Solr you see this in? I didn't see a related Jira, so this might warrant a new one. k/r, Scott On Sun, Nov 15, 2015 at 11:01 PM, Derek Poh wrote: > Hi > Iam using spellcheck and synonyms.I am getting > "java.lang.StringIndexO

StringIndexOutOfBoundsException using spellcheck and synonyms

2015-11-15 Thread Derek Poh
Hi Iam using spellcheck and synonyms.I am getting "java.lang.StringIndexOutOfBoundsException: String index out of range: -1" for some keywords. I think I managed to narrow down to the likely caused of it. I have thisline of entry in the synonyms.txt file, body spray,cologne,parf

Re: Solr 5.3 spellcheck always return lower case?

2015-11-13 Thread Erick Erickson
Let's see 1> the fieldType. Possibly you're missing something there 2> The fact that you see the doc return without lowercasing means nothing, it's returning the _stored_ field which is a verbatim copy. The spellcheck is returning an _indexed_ value. Best, Erick On Fri, No

Solr 5.3 spellcheck always return lower case?

2015-11-13 Thread QuestionNews .
The data displayed when doing a query is correct case. The fieldType doesn't do any case manipulation and the requestHandler/searchComponent don't have any settings declared that I can see. Why is my spellcheck returning results that are all lower case? Is there a way for me to stop

RE: Spellcheck / Suggestions : Append custom dictionary to SOLR default index

2015-08-25 Thread Dyer, James
Max, If you know the entire list of words you want to spellcheck against, you can use FileBasedSpellChecker. See http://wiki.apache.org/solr/FileBasedSpellChecker . If, however, you have a field you want to spellcheck against but also want additional words added, consider using a copy of the

Spellcheck / Suggestions : Append custom dictionary to SOLR default index

2015-08-24 Thread Max Chadwick
Is there a way to append a set of words the the out-of-box solr index when using the spellcheck / suggestions feature?

  1   2   3   4   5   6   >