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
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
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
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
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
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
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
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
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
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
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 :
>&
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
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
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
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
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
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
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
Hi,
For a sample collation during spellcheck.
"collation",{
"collationQuery":"smart connected factory",
"hits":109,
"misspellingsAndCorrections":[
"smart","smart",
&q
>
> 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
e and introduced a bug their
perspective) Thanks
Solr 7.4
--
"spellcheck": {
"suggestions": [
"acount",
{
"numFound": 1,
"startOffset": 0,
"endOffset": 6,
"suggestion": [
"account"
]
}
],
"collations": [
"co
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
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
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
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
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
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
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
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
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
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
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
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
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/
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
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
title_txt_spellcheck_en
true
true
./spellchecker_de
default
on
true
10
5
5
true
true
10
5
spellcheck
Regards,
Anupam
On Mon, Feb
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
> 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
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
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
ecker response
for query : here lise the grate mighty king
"spellcheck": {
"suggestions": [
"lise",
{
"numFound": 7,
"startOffset": 0,
"endOffset": 11,
"origFreq": 0,
&quo
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
"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
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
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
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
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
=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
'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
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 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
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
Hi,
Is there any way i can exclude stop words from the collations and
sugesstions from spell check component ?
Regards,
Naveen Pajjuri.
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
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
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
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
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
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.
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
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
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?
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
Hi,
image:
http://s24.postimg.org/u457bhzr9/Untitled.png
why the suggestion return "analytics" (great!) but the collation take
"analtics"?
Thanks,
Michael
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:
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
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
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
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
, 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
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
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
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
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
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
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
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
-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
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
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
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
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=
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
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
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
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
/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
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
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
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
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
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
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
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
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
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
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
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
Is there a way to append a set of words the the out-of-box solr index when
using the spellcheck / suggestions feature?
1 - 100 of 584 matches
Mail list logo