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 wrot

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 'q'or 'spellcheck.q')

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 'q'or 'spellcheck.q')

How to suggest prefix matches over all tokens of a field (was Re: Suggest Component, prefix match (sur-)name)

2019-02-18 Thread David '-1' Schmid
On 2019-02-18T18:12:44, David '-1' Schmid wrote: > Will report back if that's working out. It's working! If anybody want's to replicate, here's what I ended up with. .. managed-schema: . . . . . . . . . . . . . . . . . . . . . . . . . .

Re: Suggest Component, prefix match (sur-)name

2019-02-18 Thread David '-1' Schmid
Hello again! After playing around with more simple solutions, I gather the suggester cannot do this. I've found a resource (namely 'Solr in Action'), they use a combination of - two copyFields: - solr.TextField with simple whitespace tokenizer (field:'words') - as above, but with added EdgeNG

Re: Suggest Component, prefix match (sur-)name

2019-02-17 Thread David '-1' Schmid
Hi Lev, On 2019-02-15T17:14:50, Tannen, Lev (USAEO) [Contractor] wrote: > If I understood your requirement correctly you should use "AND" rather > than "or". Also I, believe, "AND" should be in capital letters, but I > am not sure. I think that the suggestion query does not support boolean logic

Suggest Component, prefix match (sur-)name

2019-02-15 Thread David '-1' Schmid
Hello solr-users! I'm a bit stumped and after some days of trial-and-error, I've come to the conclusion that I cannot figure this out by myself. Where I'm at: Solr 7.7 in cloud mode: - 3 shards, - 1 replication factor, - 1 shards per node, - 3 nodes, - coordinated with external zookeeper - r

RE: Suggest Component, prefix match (sur-)name

2019-02-15 Thread Tannen, Lev (USAEO) [Contractor]
February 15, 2019 10:23 AM To: solr-user@lucene.apache.org Subject: Suggest Component, prefix match (sur-)name Hello solr-users! I'm a bit stumped and after some days of trial-and-error, I've come to the conclusion that I cannot figure this out by myself. Where I'm at: Solr 7.7

Suggest Component, prefix match (sur-)name

2019-02-15 Thread David '-1' Schmid
Hello solr-users! I'm a bit stumped and after some days of trial-and-error, I've come to the conclusion that I cannot figure this out by myself. Where I'm at: Solr 7.7 in cloud mode: - 3 shards, - 1 replication factor, - 1 shards per node, - 3 nodes, - coordinated with external zookeeper - r

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 dictionar

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: NullPointer on Suggest Component running with multiple shards

2017-10-24 Thread Erick Erickson
gt; >> I got a NullPointer-Exception running a select-SearchHandler with a >> suggest component on multiple shards (cloud mode). >> It does work in the same configuration with a single shard (or non-cloud >> setup). >> The suggest requestHandler

Re: NullPointer on Suggest Component running with multiple shards

2017-10-24 Thread Janaka Thilakarathna
unsubscribe On Tue, Oct 24, 2017 at 9:48 PM, wrote: > Hello everyone, > > I got a NullPointer-Exception running a select-SearchHandler with a > suggest component on multiple shards (cloud mode). > It does work in the same configuration with a single shard (or non-cloud > set

NullPointer on Suggest Component running with multiple shards

2017-10-24 Thread mvogelsmeier
Hello everyone, I got a NullPointer-Exception running a select-SearchHandler with a suggest component on multiple shards (cloud mode). It does work in the same configuration with a single shard (or non-cloud setup). The suggest requestHandler does work in both setups. Exception: true 500

Any way to have the suggest component be filter query aware?

2013-06-17 Thread Brendan Grainger
Hi All, I expect the answer is no, but just to be sure I am wondering if there is any way to make the suggest component (http://wiki.apache.org/solr/Suggester) filter query aware, i.e. I'd like to have suggestions for a given context, so say if I were searching in the book lucene in a

Re: Suggest component

2011-12-13 Thread kmf
t the problem was, was the fact that I didn't create a "firstSearcher" to ensure that the dictionary was built on start/restart. Hopefully that helps anyone else who may run across this issue too. -- View this message in context: http://lucene.472066.n3.nabble.com/Suggest-component-tp

Re: Suggest component

2011-12-09 Thread kmf
Let me know if you need more info. Again, thanks for the response. -- View this message in context: http://lucene.472066.n3.nabble.com/Suggest-component-tp2725438p3574654.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Suggest component

2011-12-09 Thread Erick Erickson
pyField for "gene_function_name" that gets copied > into "name_auto" just fine. Both gene_name and gene_function_name are > fields of a query in my DIH. > > Any thoughts on where I'm going wrong or how to better troubleshoot? > > Thanks. > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Suggest-component-tp2725438p3573835.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Re: Suggest component

2011-12-09 Thread kmf
st fine. Both gene_name and gene_function_name are fields of a query in my DIH. Any thoughts on where I'm going wrong or how to better troubleshoot? Thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/Suggest-component-tp2725438p3573835.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: using distributed search with the suggest component

2011-08-04 Thread mdz-munich
-- View this message in context: http://lucene.472066.n3.nabble.com/using-distributed-search-with-the-suggest-component-tp3197651p3226082.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: using distributed search with the suggest component

2011-07-27 Thread Tobias Rübner
t:8080/solr/core.02&shards.qt=/suggest > > > Greetz, > > Sebastian > > > > Tobias Rübner wrote: > > > > Hi, > > > > I try to use the suggest component (solr 3.3) with multiple cores. > > I added a search component and a request handler

Re: using distributed search with the suggest component

2011-07-26 Thread mdz-munich
: http://localhost:8080/solr/core.01/suggest?q=wordPrefix&shards=localhost:8080/solr/core.01,localhost:8080/solr/core.02&shards.qt=/suggest Greetz, Sebastian Tobias Rübner wrote: > > Hi, > > I try to use the suggest component (solr 3.3) with multiple cores. > I added a

using distributed search with the suggest component

2011-07-25 Thread Tobias Rübner
Hi, I try to use the suggest component (solr 3.3) with multiple cores. I added a search component and a request handler as described in the docs ( http://wiki.apache.org/solr/Suggester) to my solrconfig. That works fine for 1 core but querying my solr instance with the shards parameter does not

Re: Using autocomplete with the new Suggest component

2011-04-15 Thread openvictor Open
have terms component so I had to find a way around that problem but it's provided. 2011/4/15 Quentin Proust > Hi Victor, > > I have the same questions about the new Suggest component. > I can't really help you as I didn't really manage to understand how it > work

Re: Using autocomplete with the new Suggest component

2011-04-15 Thread Quentin Proust
Hi Victor, I have the same questions about the new Suggest component. I can't really help you as I didn't really manage to understand how it worked. Sometimes, I had more results, sometimes less. Even so, I would really be interested in your resources using Terms and shingles to impl

Using autocomplete with the new Suggest component

2011-04-15 Thread openvictor Open
to search against pieces of sentences. (I have resources for French people if somebody asks) Then came solr 3.1 and its new suggest component. I have looked at the documentation but it's still unclear how it works exactly. So please let me ask some questions : - Is there perfor

Re: Suggest component

2011-03-28 Thread Grijesh
have you checked with q=*:*? You mentioned in config buildOnCommit=true So have you checked that your indexing process ends with commit? - Thanx: Grijesh www.gettinhahead.co.in -- View this message in context: http://lucene.472066.n3.nabble.com/Suggest-component-tp2725438p2747100.html

Re: Adding the suggest component

2011-03-23 Thread Brian Lamb
Thank you for the suggestion. I followed your advice and was able to get a version up and running. Thanks again for all the help! On Wed, Mar 23, 2011 at 1:55 PM, Ahmet Arslan wrote: > > I'm still confused as to why I'm > > getting this error. To me it reads that the > > .java file was declared

Re: Adding the suggest component

2011-03-23 Thread Ahmet Arslan
> I'm still confused as to why I'm > getting this error. To me it reads that the > .java file was declared incorrectly but I shouldn't need to > change those > files so where am I doing something incorrectly? > Brian, I think best thing to do is checkout a new clean copy from subversion and then

Re: Adding the suggest component

2011-03-23 Thread Brian Lamb
I'm still confused as to why I'm getting this error. To me it reads that the .java file was declared incorrectly but I shouldn't need to change those files so where am I doing something incorrectly? On Tue, Mar 22, 2011 at 3:40 PM, Brian Lamb wrote: > That fixed that error as well as the could no

Re: Adding the suggest component

2011-03-22 Thread Brian Lamb
That fixed that error as well as the could not initialize Dataimport class error. Now I'm getting: org.apache.solr.common.SolrException: Error Instantiating Request Handler, org.apache.solr.handler.dataimport.DataImportHandler is not a org.apache.solr.request.SolrRequestHandler I can't find anyth

Re: Adding the suggest component

2011-03-22 Thread Ahmet Arslan
> java.lang.NoClassDefFoundError: Could not initialize class > org.apache.solr.handler.dataimport.DataImportHandler > at java.lang.Class.forName0(Native Method) > > java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory > at > org.apache.solr.handler.dataimport.DataImportHandler.(DataImportHandle

Re: Adding the suggest component

2011-03-22 Thread Brian Lamb
2, 2011 at 11:56 AM, Ahmet Arslan wrote: > >> >> --- On Tue, 3/22/11, Brian Lamb wrote: >> >> > From: Brian Lamb >> > Subject: Re: Adding the suggest component >> > To: solr-user@lucene.apache.org >> > Cc: "Erick Erickson" >> > Date

Re: Adding the suggest component

2011-03-22 Thread Brian Lamb
Awesome! That fixed that problem. I'm getting another class not found error but I'll see if I can fix it on my own first. On Tue, Mar 22, 2011 at 11:56 AM, Ahmet Arslan wrote: > > --- On Tue, 3/22/11, Brian Lamb wrote: > > > From: Brian Lamb > > Subject: R

Re: Adding the suggest component

2011-03-22 Thread Ahmet Arslan
--- On Tue, 3/22/11, Brian Lamb wrote: > From: Brian Lamb > Subject: Re: Adding the suggest component > To: solr-user@lucene.apache.org > Cc: "Erick Erickson" > Date: Tuesday, March 22, 2011, 5:28 PM > Thanks everyone for the advice. I > checked out a re

Re: Adding the suggest component

2011-03-22 Thread Brian Lamb
I found the following in the build.xml file: It looks like the dataimport handler path is correct in there so I don't understand why it's not being compile. I ran ant example again today but I'm still gettin

Re: Adding the suggest component

2011-03-22 Thread Brian Lamb
Thanks everyone for the advice. I checked out a recent version from SVN and ran: ant clean example This worked just fine. However when I went to start the solr server, I get this error message: SEVERE: org.apache.solr.common.SolrException: Error loading class 'org.apache.solr.handler.dataimport.

Re: Adding the suggest component

2011-03-21 Thread Erick Erickson
OK, I think you're jumping ahead and trying to do too many things at once. What did you download? Source? The distro? The error you posted usually happens for me when I haven't compiled the "example" target from source. So I'd guess you don't have the proper targets built. This assumes you downloa

Re: Adding the suggest component

2011-03-18 Thread Ahmet Arslan
> downloaded a recent version and > > > there were the following files/folders: > > > > > > build.xml > > > dev-tools > > > LICENSE.txt > > > lucene > > > NOTICE.txt > > > README.txt > > > solr > > > > > > So I did cp -r solr/* /path/to/solr/stuff/ and > started solr. I didn't get > > > any error m

Re: Adding the suggest component

2011-03-18 Thread Brian Lamb
Sorry, that was a typo on my part. I was using http://localhost:8983/solr/admin and getting the above error messages. On Fri, Mar 18, 2011 at 2:57 PM, Geert-Jan Brits wrote: > > 2011-03-18 14:11:02.284:INFO::Started SocketConnector@0.0.0.0:8983 > Solr started on port 8983 > > instead of this: >

Re: Adding the suggest component

2011-03-18 Thread Geert-Jan Brits
> 2011-03-18 14:11:02.284:INFO::Started SocketConnector@0.0.0.0:8983 Solr started on port 8983 instead of this: > http://localhost/solr/admin/ try this instead: http://localhost:8983/solr/admin/ Cheers, Geert-Jan 2011/3/18 Brian Lamb > That does seem like a be

Re: Adding the suggest component

2011-03-18 Thread Darx Oman
Hi Solr 3.x and 4.x (trunk) include a component called Suggester http://wiki.apache.org/solr/Suggester

Re: Adding the suggest component

2011-03-18 Thread Brian Lamb
That does seem like a better solution. I downloaded a recent version and there were the following files/folders: build.xml dev-tools LICENSE.txt lucene NOTICE.txt README.txt solr So I did cp -r solr/* /path/to/solr/stuff/ and started solr. I didn't get any error message but I only got the followi

Re: Adding the suggest component

2011-03-18 Thread Erick Erickson
What do you mean "you copied the contents...to the right place"? If you checked out trunk and copied the files into 1.4.1, you have mixed source files between disparate versions. All bets are off. Or do you mean jar files? or??? I'd build the source you checked out (at the Solr level) and use tha

Adding the suggest component

2011-03-17 Thread Brian Lamb
Hi all, When I installed Solr, I downloaded the most recent version (1.4.1) I believe. I wanted to implement the Suggester ( http://wiki.apache.org/solr/Suggester). I copied and pasted the information there into my solrconfig.xml file but I'm getting the following error: Error loading class 'org.