help me!
i can't find all result.
str name=spellcheck.count200/str
Ex:
i find: file
result expected: file name documentabcxyz
but solr return result (suggest: result term object) :
-
[suggestions:protected] = Array
(
[0] = file
[1] = file (whitespace)
Perhaps your ngram filter is set to terminate at 14 (maxGram)?
Best,
Erick
On Wed, Oct 1, 2014 at 3:18 AM, xoku xoan...@anlab.info wrote:
help me!
i can't find all result.
str name=spellcheck.count200/str
Ex:
i find: file
result expected: file name documentabcxyz
but solr return result
Hi I have done the same changes as you told changed the code with my fields
name. However I'm getting following error. I even reverted edited code but
still its throwing same error. We're having Solr 4.6. When i restart the
solr it says solr (pid 4610) already running.
SolrCore Initialization
Hi ... I am trying to build autocomplete functionality using your post. But I
am getting the following error
*2577 [coreLoadExecutor-3-thread-1] WARN
org.apache.solr.spelling.suggest.Suggester – Loading stored lookup data
failed
java.io.FileNotFoundException:
Thanks for your solution it works for me too, I'm new with Solr but how I can
additionally fetch another fields not only field that was used for
searching? For example I have product title and image fields and I want to
get the title but also related to this title image ? How can I do this?
Hi,
You can fetch all the stored fields by passing them as part of
*fl*parameter. Go through
http://wiki.apache.org/solr/CommonQueryParameters#fl
On Thu, Jan 24, 2013 at 8:56 PM, AnnaVak anna.vakulc...@gmail.com wrote:
Thanks for your solution it works for me too, I'm new with Solr but how I
Hi,
Finally got Solved using TermComponents.
schema.xml
--
fieldType name=edgytext class=solr.TextField
analyzer
tokenizer class=solr.KeywordTokenizerFactory/
filter class=solr.LowerCaseFilterFactory/
/analyzer
/fieldType
field name=title type=edgytext
Hi,
Thanks,
Iam getting the results with below url.
*suggest/?q=michael bdf=titledefType=lucenefl=title*
But, i want the results in spellcheck section.
i want to search with title or empname or both.
Aniljayanti
--
View this message in context:
.
--- On Wed, 9/5/12, aniljayanti anil.jaya...@gmail.com wrote:
From: aniljayanti anil.jaya...@gmail.com
Subject: Re: AW: AW: auto completion search with solr using NGrams in SOLR
To: solr-user@lucene.apache.org
Date: Wednesday, September 5, 2012, 7:29 AM
Hi,
thanks,
I m sending my whole
HI,
Thanks,
i want to search with title and empname both. for example when we use any
search engine like google,yahoo... we donot specify any type that is (name
or title or song...). Here (*suggest/?q=michael
bdf=titledefType=lucene*) we are specifying the title type search.
I removed said
i want to search with title and empname both.
I know, I give that URL just to get the idea here.
If you try
suggest/?q=michael bdf=titledefType=lucenefl=title
you will see that your interested will in results section not lst
name=spellcheck section.
or title or song...). Here
I wonder why. I had a similar use case works great for me. If you can
send the snapshot of analysis for a sample string (say hello world for
indexing, hel - positive case, wo - negative case for querying), then
we can see whats going on. Also the debug query output would be helpful.
On Fri,
Hi,
thanks,
I m sending my whole configurations in schema and solrconfig.xml files.
schema.xml
---
fieldType name=edgytext class=solr.TextField positionIncrementGap=100
omitNorms=true
analyzer type=index
Hi,
thanks,
Im not able to attach asked xml files here. Can u give me ur Email id, so
that i can send schema and solrconfig.xmls.
Regards,
AnilJayanti
--
View this message in context:
solrconfig.xml
and schema.xml?
--- On Sat, 9/1/12, aniljayanti anil.jaya...@gmail.com wrote:
From: aniljayanti anil.jaya...@gmail.com
Subject: Re: AW: AW: auto completion search with solr using NGrams in SOLR
To: solr-user@lucene.apache.org
Date: Saturday, September 1, 2012, 8:28 AM
Hi,
Thanks
Try this:
tokenizer class=solr.KeywordTokenizerFactory/
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.KeywordTokenizerFactory
On Thu, Aug 30, 2012 at 9:07 PM, aniljayanti anil.jaya...@gmail.com wrote:
Hi,
thanks,
I checked with given changes, getting below error saying
Hi,
Thanks,
As i already used KeywordTokenizerFactory in my earlier posts.
fieldType name=edgytext class=solr.TextField positionIncrementGap=100
omitNorms=true
analyzer type=index
*tokenizer class=solr.KeywordTokenizerFactory /
filter
Hi,
thanks,
I checked with given changes, getting below error saying that SOLR is not
allowing without tokenizer.
org.apache.solr.common.SolrException: analyzer without class or tokenizer
filter list at
org.apache.solr.schema.IndexSchema.readAnalyzer(IndexSchema.java:914) at
Hi,
thanks,
I tried by adding marks, but still giving same
results.
http://localhost:8080/test/suggest/?q=michael f
Looking back to your field type definition, i saw that you have defined
filter class=solr.EdgeNGramFilterFactory minGramSize=1 maxGramSize=15
side=front / in
Hi,
thanks for ur reply,
I donot know how to remove multiple white spaces using regax in the search
text. Can u share me that one.
Thanks,
AnilJayanti
--
View this message in context:
You need this for both index and query:
filter class=solr.PatternReplaceFilterFactory pattern=\s+
replacement= replace=all/
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.PatternReplaceFilterFactory
On Wed, Aug 29, 2012 at 4:55 AM, aniljayanti anil.jaya...@gmail.com wrote:
Hi
thanks,
I tried with below said changes, but getting same result as earlier.
suggest/?q=michael ja
---
fieldType name=edgytext class=solr.TextField positionIncrementGap=100
omitNorms=true
analyzer type=index
tokenizer class=solr.KeywordTokenizerFactory
Hi,
thanks,
I added PatternReplaceFilterFactory like below.Getting results
differently(not like suggester). You suggested to remove
KeywordTokenizerFactory , PatternReplace is a FilterFactory, then which
TokenizerFactory need to use ?
fieldType name=edgytext class=solr.TextField
You need to use quotes in your query :
http://localhost:8080/test/suggest/?q=michael f
--- On Tue, 8/28/12, aniljayanti anil.jaya...@gmail.com wrote:
From: aniljayanti anil.jaya...@gmail.com
Subject: Re: AW: AW: auto completion search with solr using NGrams in SOLR
To: solr-user
Since you have tokenizer class=solr.KeywordTokenizerFactory /, during
indexing time, it is going split the text on white spaces and then apply
edge n-grams. If you remove this may be replace it with a simpler regex
which does basic clean up like removing multiple white spaces etc., then it
will
--- On Sat, 8/4/12, aniljayanti anil.jaya...@gmail.com wrote:
From: aniljayanti anil.jaya...@gmail.com
Subject: Re: AW: AW: auto completion search with solr using NGrams in SOLR
To: solr-user@lucene.apache.org
Date: Saturday, August 4, 2012, 8:57 AM
Hi
thanks,
which doing searching i
Hi
thanks,
which doing searching i will search either with empname or title only. And
also not using any asterics in the query.
ex : if i search with mic result should come like
michale jackson
michale border
michale smith
want the result just like google search.
can us suggest me wht are
2012 09:34
An: solr-user@lucene.apache.org
Betreff: Re: AW: auto completion search with solr using NGrams in SOLR
Hi,
thanks,
im searching with empname filed. want to search with both empname and
title.
below is my changed code.
fieldType name=edgytext class=solr.TextField
28 matches
Mail list logo