How does Solr suggest sort results when weight is 0

2020-08-27 Thread Hanjan, Harinderdeep S.
Hello, I can't find anything in the docs to understand how Solr sorts suggest results when the weight is the same (0 in my case). Here is my suggester config: --- mySuggester AnalyzingInfixLookupFactory DocumentDictionaryFactory autocomplete payload text_

How does Solr suggest sort results when weight is 0

2020-08-25 Thread Hanjan, Harinderdeep S.
Hello, I can't find anything in the docs to understand how Solr sorts suggest results when the weight is the same (0 in my case). Here is my suggester config: --- mySuggester AnalyzingInfixLookupFactory

Re: solr suggest is not replicated

2020-05-10 Thread Walter Underwood
every shard. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On May 9, 2020, at 11:55 PM, morph3u...@web.de wrote: > > Hello, > > I want to use solr suggest > (https://lucene.apache.org/solr/guide/8_2/suggester.html) in a solr cloud

solr suggest is not replicated

2020-05-09 Thread morph3us87
Hello, I want to use solr suggest (https://lucene.apache.org/solr/guide/8_2/suggester.html) in a solr cloud with replication. We are using solr cloud with 2 nodes. To build up the suggest I have to call "suggest.buildAll=true". I do it this way: - Ask Zookeeper for a Solr Nod

Solr Suggest Component with weight expression returns no suggestions

2018-08-03 Thread Buckler, Christine
I am having difficulty getting Solr's Suggest Component to work with a weight expression. I have tried to match the format of the example in the documentation (see related code from schema.xml and solrconfig.xml below) but no results are found when I request suggestions from this dictionary and

Re: Filtering solr suggest results

2018-07-04 Thread Arunan Sugunakumar
_6/suggester.html > > Cheers, > Peter. > > -Original Message- > From: Arunan Sugunakumar [mailto:arunans...@cse.mrt.ac.lk] > Sent: 03 July 2018 12:17 > To: solr-user@lucene.apache.org > Subject: Filtering solr suggest results > > Hi, > > I would like

RE: Filtering solr suggest results

2018-07-03 Thread Peter Lancaster
solr suggest results Hi, I would like to know whether it is possible to filter the suggestions returned by the suggest component according to a field. For example I have a list of books published by different publications. I want to show suggestions for a book title under a specific publication

Filtering solr suggest results

2018-07-03 Thread Arunan Sugunakumar
Hi, I would like to know whether it is possible to filter the suggestions returned by the suggest component according to a field. For example I have a list of books published by different publications. I want to show suggestions for a book title under a specific publication. Thanks in Advance, A

Re: Solr Suggest Component and OOM

2018-07-01 Thread Ratnadeep Rakshit
Has anyone ever been successful in processing 150M records using the Suggester Component? The make of the component, please comment. On Tue, Jun 26, 2018 at 1:37 AM, Ratnadeep Rakshit wrote: > The site_address field has all the address of United states. Idea is to > build something similar to Go

Re: Solr Suggest Component and OOM

2018-06-25 Thread Ratnadeep Rakshit
The site_address field has all the address of United states. Idea is to build something similar to Google Places autosuggest. Here's an example query: curl " http://localhost/solr/addressbook/suggest?suggest.q=1054%20club&wt=json"; Response: { "responseHeader": { "status": 0, "QTime": 3125, "par

Re: Solr Suggest Component and OOM

2018-06-14 Thread Alessandro Benedetti
I didn't get any answer to my questions ( unless you meant you have 25 millions of different values for those fields ...) Please read again my answer and elaborate further. Do you problem happen for the 2 different suggesters ? Cheers - --- Alessandro Benedetti Search Consultant

Re: Solr Suggest Component and OOM

2018-06-14 Thread Ratnadeep Rakshit
Anyone from the Solr team who can shed some more light? On Tue, Jun 12, 2018 at 8:13 PM, Ratnadeep Rakshit wrote: > I observed that the build works if the data size is below 25M. The moment > the records go beyond that, this OOM error shows up. Solar itself shows 56% > usage of 20GB space during

Re: Solr Suggest Component and OOM

2018-06-12 Thread Ratnadeep Rakshit
I observed that the build works if the data size is below 25M. The moment the records go beyond that, this OOM error shows up. Solar itself shows 56% usage of 20GB space during the build. So, is there some settings I need to change to handle larger data size? On Tue, Jun 12, 2018 at 3:17 PM, Aless

Re: Solr Suggest Component and OOM

2018-06-12 Thread Alessandro Benedetti
Hi, first of all the two different suggesters you are using are based on different data structures ( with different memory utilisation) : - FuzzyLookupFactory -> FST ( in memory and stored binary on disk) - AnalyzingInfixLookupFactory -> Auxiliary Lucene Index Both the data structures should be v

Re: Solr Suggest Component and OOM

2018-06-11 Thread Ratnadeep Rakshit
gt; >> > >> > >> > mySuggester1 >> > FuzzyLookupFactory >> > suggester_fuzzy_dir >> > >> > >> > >> > DocumentDictionaryFactory >> > site_address >> > suggestType >> > property_metadata >> > false >> > false >> > >> > >> > mySuggester2 >> > AnalyzingInfixLookupFactory >> > suggester_infix_dir >> > >> > DocumentDictionaryFactory >> > site_address_other >> > suggestType >> > property_metadata >> > false >> > false >> > >> > >> > >> > The handler is defined like so - >> > >> > > startup="lazy" > >> > >> > true >> > 10 >> > mySuggester1 >> > mySuggester2 >> > false >> > explicit >> > >> > >> > suggest >> > >> > >> > >> > *Problem Statement* >> > >> > Every time I try to build the suggest index using the suggest.build=true >> > url parameter, I end up with an OutOfMemory error. I have no clue how I >> can >> > make this work with the current setup. Can anyone explain why this is >> > happening? And how can I fix this issue? >> > *StackOverflow:* >> > https://stackoverflow.com/questions/50802122/solr-suggest- >> component-and-outofmemory-error >> > >> >> Can you explain the nature of the OOM? Not all OOMs are due to heap >> exhaustion... >> >> -chris >> >> >> >

Re: Solr Suggest Component and OOM

2018-06-11 Thread Ratnadeep Rakshit
> true > > 10 > > mySuggester1 > > mySuggester2 > > false > > explicit > > > > > > suggest > > > > > > > > *Problem Statement* > > > > Every time I try to build the suggest index using the sug

Re: Solr Suggest Component and OOM

2018-06-11 Thread Christopher Schultz
d the suggest index using the suggest.build=true > url parameter, I end up with an OutOfMemory error. I have no clue how I can > make this work with the current setup. Can anyone explain why this is > happening? And how can I fix this issue? > *StackOverflow:* > https://stackoverflow.com/questions/50802122/solr-suggest-component-and-outofmemory-error > Can you explain the nature of the OOM? Not all OOMs are due to heap exhaustion... -chris signature.asc Description: OpenPGP digital signature

Solr Suggest Component and OOM

2018-06-11 Thread Ratnadeep Rakshit
rl parameter, I end up with an OutOfMemory error. I have no clue how I can make this work with the current setup. Can anyone explain why this is happening? And how can I fix this issue? *StackOverflow:* https://stackoverflow.com/questions/50802122/solr-suggest-component-and-outofmemory-error

Re: Use Solr Suggest to autocomplete words and suggest co-occurences

2017-03-05 Thread Mikhail Khludnev
Hello, Georg! Have you seen http://blog.mikemccandless.com/2014/01/finding-long-tail-suggestions-using.html ? On Sun, Mar 5, 2017 at 11:43 PM, Georg Sorst wrote: > Hi all, > > is there a way to get the suggester to autocomplete words and suggest > co-occurences instead of suggesting complete fie

Re: Use Solr Suggest to autocomplete words and suggest co-occurences

2017-03-05 Thread Joel Bernstein
The significantTerms streaming expression could be useful as a co-occurrence based suggester. This coming in Solr 6.5 but could be easily backported to earlier releases. This blog describes how it works: http://joelsolr.blogspot.com/2017/02/anomaly-detection-in-solr-65.html Joel Bernstein http://

Use Solr Suggest to autocomplete words and suggest co-occurences

2017-03-05 Thread Georg Sorst
Hi all, is there a way to get the suggester to autocomplete words and suggest co-occurences instead of suggesting complete field values? The behavior I'm looking for is quite similar to Google, only based on index values not actual queries. Let's say there are two items in the index: 1. "Adid

Re: Dynamically change solr suggest field

2016-05-17 Thread Lasitha Wattaladeniya
Hi Alessandro, Yes, using suggester is the correct way of doing. But in our scenario we thought of going with the spellchecker component since we had some legacy setup. Our plan is to move to suggester later on. So far spellchecker component also does the needed work for us. Regards, Lasitha La

Re: Dynamically change solr suggest field

2016-05-16 Thread Alessandro Benedetti
The scenario you described should be done with the suggester component. Nothing prevent you to configure multiple dictionaries for the suggester as well. The you pass the dictionary to the suggester at query time as a request parameter for your suggester request handler. Cheers On 16 May 2016 4:29

Re: Dynamically change solr suggest field

2016-05-16 Thread Abdel Belkasri
Clever and real cool. --Abdel On Sun, May 15, 2016 at 10:42 AM, Lasitha Wattaladeniya wrote: > Hello all, > > I found a way of doing this and thought of sharing this info with you. I > found a way to dynamically change the field which gives the suggestions. > It's using the solr spellchecker (No

Re: Dynamically change solr suggest field

2016-05-15 Thread Lasitha Wattaladeniya
Hello all, I found a way of doing this and thought of sharing this info with you. I found a way to dynamically change the field which gives the suggestions. It's using the solr spellchecker (Not suggester). You can basically configure a indexed field as default *spellcheck.dictionary* in the conf

Re: Dynamically change solr suggest field

2016-05-11 Thread Lasitha Wattaladeniya
Hi Nick, Thanks for the reply. According to my requirement I can use only option one. I thought about that solution but I was bit lazy to implement that since I have many modules and solr cores. If I'm going to configure request handlers for each drop down value in each component it seems like a l

Re: Dynamically change solr suggest field

2016-05-11 Thread Nick D
There are only two ways I can think of to accomplish this and neither of them are dynamically setting the suggester field as is looks according to the Doc (which does sometimes have lacking info so I might be wrong) you cannot set something like *suggest.fl=combo_box_field* at query time. But maybe

Dynamically change solr suggest field

2016-05-11 Thread Lasitha Wattaladeniya
Hello devs, I'm trying to implement auto complete text suggestions using solr. I have a text box and next to that there's a combo box. So the auto complete should suggest based on the value selected in the combo box. Basically I should be able to change the suggest field based on the value select

Re: Solr suggest, auto complete & spellcheck

2016-01-04 Thread Erick Erickson
the UI. In both cases you have to do something user-friendly with the return. Best, Erick On Mon, Jan 4, 2016 at 2:06 PM, Steven White wrote: > Hi, > > I'm trying to understand what are the differences between Solr suggest, > auto complete & spellcheck? Isn't each a function

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

Solr Suggest and weightField

2015-10-15 Thread dboychuck
//lucene.472066.n3.nabble.com/Solr-Suggest-and-weightField-tp4234681.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr suggest is related to second letter, not to initial letter

2015-02-18 Thread Volkan Altan
Yes. I did it. Bu it doesn’t work. New Example; TSTLookup doc 1 : shoe adidas 2 hiking doc 2 : galaxy samsung s5 phone doc 3 : shakeology sample packets http://localhost:8983/solr/solr/suggest?q=samsung+hi 0 1 2 0 7 samsung s5 samsung s5 phone 1 8 10 hiking (samsung s5) hiking 0

Re: Solr suggest is related to second letter, not to initial letter

2015-02-18 Thread Michael Sokolov
On 02/17/2015 03:46 AM, Volkan Altan wrote: First of all thank you for your answer. You're welcome - thanks for sending a more complete example of your problem and expected behavior. I don’t want to use KeywordTokenizer. Because, as long as the compound words written by the user are availabl

Re: Solr suggest is related to second letter, not to initial letter

2015-02-17 Thread Volkan Altan
First of all thank you for your answer. Example Url: doc 1 suggest_field: galaxy samsung s5 phone doc 2 suggest_field: shoe adidas 2 hiking http://localhost:8983/solr/solr/suggest?q=galaxy+s The result for which I am waiting is just like the one indicated below. But; the ‘’Galaxy shoe

Re: Solr suggest is related to second letter, not to initial letter

2015-02-15 Thread Michael Sokolov
tters, the second letters rotate independently, as well. Example; http://localhost:8983/solr/solr/suggest?q=facet_suggest_data:”adidas+s"; <http://localhost:8983/solr/vitringez/suggest?q=facet_suggest_data:%22adidas+s%22> adidas s response> 0 4 1 27 28 samsung facet_suggest_

Re: Solr suggest is related to second letter, not to initial letter

2015-02-14 Thread Volkan Altan
ted to initial letter, itself. But; just like the > initial letters, the second letters rotate independently, as well. > > > Example; > http://localhost:8983/solr/solr/suggest?q=facet_suggest_data:”adidas+s"; > <http://localhost:8983/solr/vitringez/suggest?q=facet_suggest_d

Solr suggest is related to second letter, not to initial letter

2015-02-12 Thread Volkan Altan
independently, as well. Example; http://localhost:8983/solr/solr/suggest?q=facet_suggest_data:”adidas+s"; <http://localhost:8983/solr/vitringez/suggest?q=facet_suggest_data:%22adidas+s%22> adidas s response> 0 4 1 27 28 samsung facet_suggest_data:"adidas samsung" 0 a

Re: Solr suggest - How to define solr suggest as case insensitive

2013-09-10 Thread Mysurf Mail
I have added it and it didnt work. Still returning different result to 1=C and q=c On Tue, Sep 10, 2013 at 1:52 AM, Chris Hostetter wrote: > > : This is probably because your dictionary is made up of all lower case > tokens, > : but when you query the spell-checker similar analysis doesnt happen

Re: Solr suggest - How to define solr suggest as case insensitive

2013-09-09 Thread Chris Hostetter
: This is probably because your dictionary is made up of all lower case tokens, : but when you query the spell-checker similar analysis doesnt happen. Ideal : case would be when you query the spellchecker you send lower case queries You can init the SpellCheckComponent with a "queryAnalyzerFieldT

Re: Solr suggest - How to define solr suggest as case insensitive

2013-09-09 Thread tamanjit.bin...@yahoo.co.in
/Solr-suggest-How-to-define-solr-suggest-as-case-insensitive-tp4088764p4088918.html Sent from the Solr - User mailing list archive at Nabble.com.

Solr suggest - How to define solr suggest as case insensitive

2013-09-08 Thread Mysurf Mail
My suggest (spellchecker) is returning case sensitive answers. (I use it to autocomplete - dog and Dog return different phrases)\ my suggest is defined as follows - in solrconfig - suggest org.apache.solr.spelling.suggest.Suggester org.apache.solr.spelling.suggest.tst.TSTLookup

RE: Solr Suggest

2013-07-03 Thread Adrien RUFFIE
1 73 03 29 80 E-DEAL Innover la Relation Client -Message d'origine- De : Tanguy Moal [mailto:tanguy.m...@gmail.com] Envoyé : mercredi 3 juillet 2013 10:27 À : solr-user@lucene.apache.org Objet : Re: Solr Suggest Hello Adrien, Looking quickly at your schema, I suspect tha

Re: Solr Suggest

2013-07-03 Thread Tanguy Moal
s > missing to identify the problem? > > Bien cordialement, > > Adrien Ruffié > LD : +33 1 73 03 29 50 > Tél : +33 1 73 03 29 80 > > E-DEAL > Innover la Relation Client > > De : Adrien RUFFIE [mailto:a.ruf...@e-deal.com] > Envoyé : mardi 2 juillet 2013 17:

Re: Solr Suggest does not work in solrcloud environment

2013-06-21 Thread Aloke Ghoshal
ut but > nothing usefull. > > > suggest > > query > > > > So why is the additional parameter necessary? I would assume that solr > takes > care of it internaly. I have only conifugred one shard. > > But thanks anyway. It works as a workar

Re: Solr Suggest does not work in solrcloud environment

2013-06-19 Thread Sharp
y is the additional parameter necessary? I would assume that solr takes care of it internaly. I have only conifugred one shard. But thanks anyway. It works as a workaround so far. Simon -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Suggest-does-not-work-in-s

Re: Solr Suggest does not work in solrcloud environment

2013-06-19 Thread Aloke Ghoshal
; > > true > default > wordbreak > suggest > true > 10 > true > > > suggest > > > > As soon as I post a query on > http://url.com:8983/solr/mycore/suggest?q=bar&wt=json > > I get an empty answer > > {"responseHeader":{"status":0,"QTime":0}} > > No errors or warnings in the log. Any ideas? > > Simon > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-Suggest-does-not-work-in-solrcloud-environment-tp4071587.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Solr Suggest does not work in solrcloud environment

2013-06-19 Thread Sharp
":0,"QTime":0}} No errors or warnings in the log. Any ideas? Simon -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Suggest-does-not-work-in-solrcloud-environment-tp4071587.html Sent from the Solr - User mailing list archive at Nabble.com.