Perhaps your ngram filter is set to terminate at 14 (maxGram)?
Best,
Erick
On Wed, Oct 1, 2014 at 3:18 AM, xoku wrote:
> help me!
> i can't find all result.
> str name="spellcheck.count">200
> Ex:
> i find: file
> result expected: file name documentabcxyz
> but solr return result (suggest: resul
help me!
i can't find all result.
str name="spellcheck.count">200
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)
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 Fa
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:
/home/anurag/Downloads/solr-4.4.0/ex
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 wrote:
> Thanks for your solution it works for me too, I'm new with Solr but how I
> can
> additionally fetc
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?
Thanks
Hi,
Finally got Solved using TermComponents.
schema.xml
--
URL :
http://localhost:8080/solr/terms?*terms.fl=autocomplete_text&omitHeader=true&terms.sort=index&terms.prefix=mad*
Response :
*1
1
Hi,
Thanks,
Iam getting the results with below url.
*suggest/?q="michael b"&df=title&defType=lucene&fl=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:
http://lucene.472066.n3.nabble.com/aut
> 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 b"&df=title&defType=lucene&fl=title
you will see that your interested will in results section not section.
> or title or song...). Here (*suggest/?q="michael
> b"&d
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
b"&df=title&defType=lucene*) we are specifying the title type search.
I removed said
aniljayanti wrote:
> From: aniljayanti
> 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 config
Hi,
thanks,
I m sending my whole configurations in schema and solrconfig.xml files.
schema.xml
---
***
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 F
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:
http://lucene.472066.n3.nabble.com/auto-completion-search-with-solr-using-NGrams-in-SOLR-tp3998559p4005141.h
ld? Can you send/post complete solrconfig.xml
and schema.xml?
--- On Sat, 9/1/12, aniljayanti wrote:
> From: aniljayanti
> 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,
As i already used "KeywordTokenizerFactory" in my earlier posts.
*
*
*
*
getting same results.
AnilJayanti
--
View this message in context:
http://lucene.472066.n3.nabble.com/auto-
Try this:
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.KeywordTokenizerFactory
On Thu, Aug 30, 2012 at 9:07 PM, aniljayanti wrote:
> Hi,
>
> thanks,
>
> I checked with given changes, getting below error saying that SOLR is not
> allowing without tokenizer.
>
> org.apache.
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
org.apache.solr.sc
> I tried with below said changes, but getting same result as
> earlier.
>
> suggest/?q="michael ja"
> ---
> positionIncrementGap="100"
> omitNorms="true">
>
> class="solr.KeywordTokenizerFactory" />
> class="solr.LowerCaseFilterFactory" />
> class="s
You wouldnt need any tokenizer, I'm not sure if Solr will allow that. You
also need to move the Edge n gram filter to index from query (I think Ahmet
suggested this). It will look something like this:
note that pattern
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 ?
Hi
thanks,
I tried with below said changes, but getting same result as earlier.
suggest/?q="michael ja"
---
Response :
-
-
0
1
-
-
-
10
1
8
-
*m
You need this for both index and query:
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.PatternReplaceFilterFactory
On Wed, Aug 29, 2012 at 4:55 AM, aniljayanti wrote:
> Hi,
>
> thanks for ur reply,
>
> I donot know how to remove multiple white spaces using regax in the sear
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:
http://lucene.472066.n3.nabble.com/auto-completion-search-with-solr-using-NGrams-in-SOLR-tp3998559p4003991.
> 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
in query analyzer. Move this into index analyzer. Restart
solr, re-index and su
Since you have , 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 not match on the beginning of non-first words.
You need to use quotes in your query :
http://localhost:8080/test/suggest/?q="michael f"
--- On Tue, 8/28/12, aniljayanti wrote:
> From: aniljayanti
> Subject: Re: AW: AW: auto completion search with solr using NGrams in SOLR
> To: solr-user@lucene.apache.org
> Da
--- On Sat, 8/4/12, aniljayanti wrote:
> From: aniljayanti
> 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 will searc
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 t
If you want to search in the two fields "title" and "empname" you have to use
the query parser (e)dismax
http://wiki.apache.org/solr/ExtendedDisMax
you need to specify the qf param: qf=title empname
check your solrconfig.xml to verifiy which queryparser you are using right now.
In your usecase
30 matches
Mail list logo