Re: Autosuggest help

2019-04-06 Thread Midas A
Any update? On Thu, 4 Apr 2019, 1:09 pm Midas A, wrote: > Hi, > > We need to use auto suggest click stream data in Auto suggestion . How we > can achieve this ? > > Currently we are using suggester for auto suggestions . > > > Regards, > Midas >

Re: autosuggest with solr.EdgeNGramFilterFactory no result found

2015-07-07 Thread Szűcs Roland
Thanx Erick, Your blog article was the perfect answer to my problem. Rgds, Roland 2015-07-03 18:57 GMT+02:00 Erick Erickson : > OK, I think you took a wrong turn at the bakery > > The FST-based suggesters are intended to look at the > beginnings of fields. It is totally unnecessary to use

Re: autosuggest with solr.EdgeNGramFilterFactory no result found

2015-07-03 Thread Erick Erickson
OK, I think you took a wrong turn at the bakery The FST-based suggesters are intended to look at the beginnings of fields. It is totally unnecessary to use ngrams, the FST that gets built does that _for_ you. Actually it builds an internal FST structure that does this "en passant". For gettin

Re: Autosuggest with spelling correction

2014-08-13 Thread Gopal Patwa
This jira has some documentation, may be this will help you.. https://issues.apache.org/jira/browse/SOLR-5683 On Wed, Aug 13, 2014 at 1:28 AM, Harun Reşit Zafer < harun.za...@tubitak.gov.tr> wrote: > Hi everyone, > > Currently I'm using AnalyzingInfixLookupFactory with a suggestions file > con

Re: AutoSuggest like Google in Solr using Solarium Client.

2014-03-17 Thread bbi123
Not sure if you have already seen this one.. http://www.solarium-project.org/2012/01/suggester-query-support/ You can also use edge N gram filter to implement typeahead auto suggest. -- View this message in context: http://lucene.472066.n3.nabble.com/AutoSuggest-like-Google-in-Solr-using-Sola

Re: AutoSuggest like Google in Solr using Solarium Client.

2014-03-17 Thread Michael McCandless
I think it's best to use one of the many autosuggesters Lucene/Solr provide? E.g. AnalyzingInfixSuggester is running here: http://jirasearch.mikemccandless.com But that's just one suggester... there are many more. Mike McCandless http://blog.mikemccandless.com On Mon, Mar 17, 2014 at 10:44 AM

RE: AutoSuggest like Google in Solr using Solarium Client.

2014-03-17 Thread Suresh Soundararajan
Hi Sohan, The best approach for the auto suggest is using the facet query. Please refer the link : http://solr.pl/en/2010/10/18/solr-and-autocomplete-part-1/ Thanks, SureshKumar.S From: Sohan Kalsariya Sent: Monday, March 17, 2014 8:14 PM To: solr-use

Re: Autosuggest on very large index

2013-08-20 Thread Greg Preston
DocValues looks interesting, a non-inverted field. I'll play with it a bit and see how it works. Thanks for the suggestion. I don't know how many total terms we've got, but each "document" is only 2-5 words/terms on average, and there is a TON of overlap between docs. -Greg On Tue, Aug 20,

Re: Autosuggest on very large index

2013-08-20 Thread Jack Krupansky
Sounds like a problem for DocValues - assuming the number of unique values fits reasonably in memory to avoid I/O. How many unique values do you have or contemplate for two your billion documents? Two possibilities: 1. You need a lot more hardware. 2. You need to scale back your ambitions.

Re: Autosuggest on very large index

2013-08-20 Thread Greg Preston
The filter query would be on a different field (clientId) than the field we want to autosuggest on (title). Or are you proposing we index a compound field that would be clientId+titleTokens so we would then prefix the suggester with clientId+userInput ? Interesting idea. -Greg On Tue, Aug 20,

RE: Autosuggest on very large index

2013-08-20 Thread Markus Jelsma
I am not entirely sure but the Suggester's FST uses prefixes so you may be able to prefix the value you otherwise use for the filter query when you build the suggester. -Original message- > From:Greg Preston > Sent: Tuesday 20th August 2013 20:00 > To: solr-user@lucene.apache.org > Sub

Re: AutoSuggest+Grouping in one request

2013-05-02 Thread Otis Gospodnetic
Hi, Hm, I *think* you can't do it in one go with Solr's Suggester, but I'm not expert there. I can only point you to something like our AutoComplete - http://sematext.com/products/autocomplete/index.html - which, as you can see on that screenshot, has the grouping you seem to be after. Maybe som

Re: autosuggest combination of data from documents and popular queries

2011-09-29 Thread abhayd
anyone? How to sort for termscomponent? -- View this message in context: http://lucene.472066.n3.nabble.com/autosuggest-combination-of-data-from-documents-and-popular-queries-tp3360657p3381201.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: autosuggest combination of data from documents and popular queries

2011-09-29 Thread abhayd
hi Hoss, This helps. Only thing i am not sure is use of TermsComponent. As I understand TermsComponent allows sorking only on count|index. So I m not sure how popularity could be used for sort or boost. Any thoughts around using TermsComponent with popularity? If this is possible then i dont thin

Re: autosuggest combination of data from documents and popular queries

2011-09-28 Thread abhayd
hi hoss, This helps.. But as I understand TermsComponent does not allow sort on popularity..Just coun|index. Or I m missing something? If TermsComponent allows custom sorting i dont even have to use ngrams. Any thoughts? abhay -- View this message in context: http://lucene.472066.n3.nabble.c

Re: autosuggest combination of data from documents and popular queries

2011-09-28 Thread Chris Hostetter
: If user starts typing "m" i wil show "mango" as suggestion. And other : suggestions should come from the document title in index. So if I have a : document in index with title "Man .." so suggestions would be : "mango" : "man" ... : Is this doable ? any options ? It's totally doable, an

Re: autosuggest combination of data from documents and popular queries

2011-09-23 Thread abhayd
hi My requirement is i have a list of popular search terms in database seachterm | count --- mango | 100 Consider i have only oneterm in that table, mango. I use edgengram and put that in auto_complete field in solr index with count. If user starts typing "m" i wil show

Re: autosuggest combination of data from documents and popular queries

2011-09-22 Thread Otis Gospodnetic
Hello, >hi  >we already have autosuggest working using solr based on popular search >terms. Just terms of whole queries?  I assume the latter. >we use following approach.. >http://www.lucidimagination.com/blog/2009/09/08/auto-suggest-from-popular-queries-using-edgengrams/ > >Now we want to use d

Re: Autosuggest terms which GOOGLE uses?

2010-12-08 Thread Anurag
Thanks a lot!! If I want to index "query terms from lof files" ? Is it possible . And then want to do autosuggest query on all those terms using termsComponentTill now my autosuggest options are like "q.prefix= or q.suffix= " which matches the terms available in the documents. - Kumar

Re: Autosuggest terms which GOOGLE uses?

2010-12-08 Thread Tanguy Moal
Kind of : their suggestions are based on users queries with some filtering. You can have a little read there : http://www.google.com/support/websearch/bin/answer.py?hl=en&answer=106230 They perform "little" filtering to remove offending content such as "hate speech, violence and pornography" (quot

Re: Autosuggest with inner phrases

2010-10-04 Thread Otis Gospodnetic
ne - Nutch - Original Message > From: Jason Rutherglen > To: solr-user@lucene.apache.org > Sent: Sat, October 2, 2010 3:40:52 PM > Subject: Re: Autosuggest with inner phrases > > This's what yer lookin' for: > >http://www.lucidimagination.com/blog/2009/09/08/auto-s

Re: Autosuggest with inner phrases

2010-10-03 Thread Bhavnik Gajjar
Hi, This thread can be useful http://www.lucidimagination.com/search/document/9edc01a90a195336/enhancing_auto_complete#d1340d7715162608 Regards, Bhavnik On 10/3/2010 11:51 PM, Arunkumar Ayyavu wrote: > I had the same question few days back. You can look at the solution > suggested by Chantal

Re: Autosuggest with inner phrases

2010-10-03 Thread Arunkumar Ayyavu
I had the same question few days back. You can look at the solution suggested by Chantal in this link. http://www.lucidimagination.com/search/document/9bbce5302bd3940e/autocomplete_match_words_anywhere_in_the_token#cec7133bbaf5b49c On Sat, Oct 2, 2010 at 3:44 PM, sivaprasad wrote: > > Hi , > I im

Re: Autosuggest with inner phrases

2010-10-02 Thread Jason Rutherglen
This's what yer lookin' for: http://www.lucidimagination.com/blog/2009/09/08/auto-suggest-from-popular-queries-using-edgengrams/ On Sat, Oct 2, 2010 at 3:14 AM, sivaprasad wrote: > > Hi , > I implemented the auto suggest using terms component.But the suggestions are > coming from the starting of

Re: Autosuggest with inner phrases

2010-10-02 Thread Ahmet Arslan
> Does adding the shingle filter > factory have to be done before or after indexing? It will be added to index time analyzer, if you are asking that. Also re-start solr and re-index is required.

Re: Autosuggest with inner phrases

2010-10-02 Thread Dennis Gearon
lan wrote: > From: Ahmet Arslan > Subject: Re: Autosuggest with inner phrases > To: solr-user@lucene.apache.org > Date: Saturday, October 2, 2010, 5:10 AM > > Hi , > > I implemented the auto suggest using terms > component.But > > the suggestions are > > comi

Re: Autosuggest with inner phrases

2010-10-02 Thread Ahmet Arslan
> Hi , > I implemented the auto suggest using terms component.But > the suggestions are > coming from the starting of the word.But i want inner > phrases also.For > example, if I type "bass" Auto-Complete should offer > suggestions that > include "bass fishing"  or "bass guitar", and even > "sea ba

Re: Autosuggest on PART of cityname

2010-08-23 Thread gwk
On 8/20/2010 7:04 PM, PeterKerk wrote: @Markus: thanks, will try to work with that. @Gijs: I've looked at the site and the search function on your homepage is EXACTLY what I need! Do you have some Solr code samples for me to study perhaps? (I just need the relevant fields in the schema.xml and

Re: Autosuggest on PART of cityname

2010-08-20 Thread PeterKerk
@Markus: thanks, will try to work with that. @Gijs: I've looked at the site and the search function on your homepage is EXACTLY what I need! Do you have some Solr code samples for me to study perhaps? (I just need the relevant fields in the schema.xml and the query url) It would help me a lot! :)

Re: Autosuggest on PART of cityname

2010-08-20 Thread gwk
On 8/19/2010 4:45 PM, PeterKerk wrote: I want to have a Google-like autosuggest function on citynames. So when user types some characters I want to show cities that match those characters but ALSO the amount of locations that are in that city. Now with Solr I now have the parameter: "&fq=title:

RE: Autosuggest on PART of cityname

2010-08-20 Thread Markus Jelsma
l be a bit different then:   q=new_ngram_field:utr rows=0 facet=true facet.field=non_analyzed_city_field     -Original message- From: PeterKerk Sent: Fri 20-08-2010 12:36 To: solr-user@lucene.apache.org; Subject: RE: Autosuggest on PART of cityname Ok, I now do this (searching for "u

RE: Autosuggest on PART of cityname

2010-08-20 Thread PeterKerk
Ok, I now do this (searching for "utr" in cityname): http://localhost:8983/solr/db/select/?wt=json&indent=on&q=*:*&rows=0&facet=true&facet.field=city&facet.prefix=utr In the DB there's 1 location with cityname 'Utrecht' and the other 1 is with 'Utrecht Overvecht' So in my dropdown I would like:

RE: Autosuggest on PART of cityname

2010-08-19 Thread Markus Jelsma
ue to enable the faceting engine.   http://localhost:8983/solr/db/select/?wt=json&q=*:*&rows=0&facet=true&facet.field=city&facet.prefix=bost   -Original message- From: PeterKerk Sent: Thu 19-08-2010 17:11 To: solr-user@lucene.apache.org; Subject: RE: Autosuggest on

RE: Autosuggest on PART of cityname

2010-08-19 Thread PeterKerk
Ok, I now tried this: http://localhost:8983/solr/db/select/?wt=json&indent=on&q=*:*&fl=city&facet.field=city&facet.prefix=Bost Then I get: { "responseHeader":{ "status":0, "QTime":0, "params":{ "fl":"city", "indent":"on", "q":"*:*", "facet.prefix":"Bost",

RE: Autosuggest on PART of cityname

2010-08-19 Thread Markus Jelsma
You need a new analyzed field with the EdgeNGramTokenizer or you can try facet.prefix for this to work. To retrieve the number of locations for that city, just use the results from the faceting engine as usual.   I'm unsure which approach is actually faster but i'd guess using the EdgeNGramTok

Re: AutoSuggest Question

2010-06-29 Thread Ahmet Arslan
> positionIncrementGap="100"> >             type="index"> >                 > >                 > >                 > minGramSize="1" maxGramSize="25"/> >             > >             type="query"> >                 > >                 > >             > >         > > Results: > > http:

Re: Autosuggest

2010-05-18 Thread Blargy
Thanks for the info Hoss. I will probably need to go with one of the more complicated solutions. Is there any online documentation for this task? Thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/Autosuggest-tp818430p827329.html Sent from the Solr - User mailing list a

Re: Autosuggest

2010-05-18 Thread Chris Hostetter
: So there is no generally accepted preferred way to do auto-suggest? there are many generally accepted and preferred ways to do auto-suggest -- it all comes down to specifics goals and needs. for example: using the TermsComponent is really simple to setup if you want your suggestions to come

Re: Autosuggest

2010-05-15 Thread Blargy
Maybe I should have phrased it as: "Is this ready to be used with Solr 1.4?" Also, as Grang asked in the thread, what is the actual status of that patch? Thanks again! -- View this message in context: http://lucene.472066.n3.nabble.com/Autosuggest-tp818430p819765.html Sent from the Solr - User

Re: Autosuggest

2010-05-15 Thread Blargy
Andrzej is this ready for production usage? "Hopefully in the future we can include user click through rates to boost those terms/phrases higher" - This could be huge! -- View this message in context: http://lucene.472066.n3.nabble.com/Autosuggest-tp818430p819762.html Sent from the Solr - User

Re: Autosuggest

2010-05-15 Thread Andrzej Bialecki
On 2010-05-15 02:46, Blargy wrote: > > Thanks for your help and especially your analyzer.. probably saved me a > full-import or two :) > Also, take a look at this issue: https://issues.apache.org/jira/browse/SOLR-1316 -- Best regards, Andrzej Bialecki <>< ___. ___ ___ ___ _ _ ___

Re: Autosuggest

2010-05-15 Thread Sascha Szott
Hi, maybe you would like to have a look at solr.ShingleFilterFactory [1] to expand your autosuggest to more than one term. -Sascha [1] http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.ShingleFilterFactory Blargy wrote: Thanks for your help and especially your analyzer.. p

Re: Autosuggest

2010-05-14 Thread Blargy
Thanks for your help and especially your analyzer.. probably saved me a full-import or two :) -- View this message in context: http://lucene.472066.n3.nabble.com/Autosuggest-tp818430p818712.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Autosuggest

2010-05-14 Thread Blargy
"Easiest and oldest is wildcards on facets. " - Does this allow partial matching or is this only prefix matching? "It and facets allow limiting the database with searches. Using the spelling database does not allow this." - What do you mean? So there is no generally accepted preferred way to do

Re: Autosuggest

2010-05-14 Thread Tim Garton
I think terms component is the recommended way. That's how we have implemented it and from the solr wiki page http://wiki.apache.org/solr/TermsComponent: ... each term. This can be useful for doing auto-suggest or other things that operate ... Have to be careful how you filter the field during i

Re: Autosuggest

2010-05-14 Thread Lance Norskog
Easiest and oldest is wildcards on facets. Next easiest and more useful is from spelling suggestions: but, might be slow. Terms component? I guess. It and facets allow limiting the database with searches. Using the spelling database does not allow this. On Fri, May 14, 2010 at 2:39 PM, Blargy w

Re: AutoSuggest with custom sorting

2010-05-05 Thread Papiya Misra
This was extremely helpful. Thanks a lot. On 05/04/2010 05:30 PM, Chris Hostetter wrote: First off: i would suggest that instead of doing a simple prefix search, you look into using EdgeNGrams for this sort of thing. I'm also assuming since you need custom scoring for this, you aren't going to

Re: AutoSuggest with custom sorting

2010-05-04 Thread Sean Timm
Chris Hostetter wrote: this can be accomplished by indexing a numeric field containing the "length" of the field as a number, and then doing a secondary sort on it. the fieldNorm typically takes care of this sort of thing for you, but is more of a generalized concept, and doesn't give you exac

Re: AutoSuggest with custom sorting

2010-05-04 Thread Chris Hostetter
First off: i would suggest that instead of doing a simple prefix search, you look into using EdgeNGrams for this sort of thing. I'm also assuming since you need custom scoring for this, you aren't going to get what you need using the TermsComponent or any other simple solution using your main

Re: AutoSuggest with custom sorting

2010-04-27 Thread Papiya Misra
I guess my basic issue is that Solr scores all matches for prefix searches equally. Any way to score PINK over PINKSHEETS when you are searching for PI ? Thanks Papiya Papiya Misra wrote: Hi I am supposed to implement auto suggest where the prefix matches are sorted based on the following crit

Re: AutoSuggest

2010-03-20 Thread Suram
Suram wrote: > > > > Shalin Shekhar Mangar wrote: >> >> On Sat, Mar 13, 2010 at 9:30 AM, Suram wrote: >> >>> >>> Erick Erickson wrote: >>> > >>> > Did you commit your changes? >>> > >>> > Erick >>> > >>> > On Fri, Mar 12, 2010 at 7:38 AM, Suram wrote: >>> > >>> >> >>> >> Can set my index

Re: AutoSuggest

2010-03-16 Thread Suram
Shalin Shekhar Mangar wrote: > > On Sat, Mar 13, 2010 at 9:30 AM, Suram wrote: > >> >> Erick Erickson wrote: >> > >> > Did you commit your changes? >> > >> > Erick >> > >> > On Fri, Mar 12, 2010 at 7:38 AM, Suram wrote: >> > >> >> >> >> Can set my index fields for auto Suggestion, sometime t

Re: AutoSuggest

2010-03-12 Thread Shalin Shekhar Mangar
On Sat, Mar 13, 2010 at 9:30 AM, Suram wrote: > > Erick Erickson wrote: > > > > Did you commit your changes? > > > > Erick > > > > On Fri, Mar 12, 2010 at 7:38 AM, Suram wrote: > > > >> > >> Can set my index fields for auto Suggestion, sometime the newly index > >> field > >> not found for auto

Re: AutoSuggest

2010-03-12 Thread Suram
Erick Erickson wrote: > > Did you commit your changes? > > Erick > > On Fri, Mar 12, 2010 at 7:38 AM, Suram wrote: > >> >> Can set my index fields for auto Suggestion, sometime the newly index >> field >> not found for auto suggestion and index search >> -- >> View this message in context:

Re: AutoSuggest

2010-03-12 Thread Erick Erickson
Did you commit your changes? Erick On Fri, Mar 12, 2010 at 7:38 AM, Suram wrote: > > Can set my index fields for auto Suggestion, sometime the newly index field > not found for auto suggestion and index search > -- > View this message in context: > http://old.nabble.com/AutoSuggest-tp27874542p2

Re: Autosuggest/Autocomplete with solr 1.4 and EdgeNGrams

2010-02-25 Thread Sachin
Calderon To: solr-user@lucene.apache.org Sent: Wed, Feb 24, 2010 10:22 pm Subject: Re: Autosuggest/Autocomplete with solr 1.4 and EdgeNGrams i had to create a autosuggest implementation not too long ago, originally i was using faceting, where i would match wildcards on a tokenized field and facet on

Re: Autosuggest/Autocomplete with solr 1.4 and EdgeNGrams

2010-02-24 Thread Smiley, David W.
On Feb 24, 2010, at 1:17 AM, Sachin wrote: > Hi All, > > I am trying to setup autosuggest using solr 1.4 for my site and needed some > pointers on that. Basically, we provide autosuggest for user typed in > characters in the searchbox. The autosuggest index is created with older user > typed

Re: Autosuggest/Autocomplete with solr 1.4 and EdgeNGrams

2010-02-24 Thread Joe Calderon
i had to create a autosuggest implementation not too long ago, originally i was using faceting, where i would match wildcards on a tokenized field and facet on an unaltered field, this had the advantage that i could do everything from one index, though it was also limited by the fact suggestions ca

Re: Autosuggest/Autocomplete with solr 1.4 and EdgeNGrams

2010-02-24 Thread Grant Ingersoll
You might also look at http://issues.apache.org/jira/browse/SOLR-1316 On Feb 24, 2010, at 1:17 AM, Sachin wrote: > > > Hi All, > > I am trying to setup autosuggest using solr 1.4 for my site and needed some > pointers on that. Basically, we provide autosuggest for user typed in > characters

Re: Autosuggest and highlighting

2010-02-09 Thread Lance Norskog
To select the whole string, I think you want hl.fragmenter=regex and to create a regex pattern for your entire strings: http://www.lucidimagination.com/search/document/CDRG_ch07_7.9?q=highlighter+multi-valued This will let you select the entire string field. But I don't know how to avoid the non-

Re: Autosuggest and highlighting

2010-02-09 Thread gwk
On 2/9/2010 2:57 PM, Ahmet Arslan wrote: I'm trying to improve the search box on our website by adding an autosuggest field. The dataset is a set of properties in the world (mostly europe) and the searchbox is intended to be filled with a country-, region- or city name. To do this I've created a

Re: Autosuggest and highlighting

2010-02-09 Thread Ahmet Arslan
> I'm trying to improve the search box on our website by > adding an autosuggest field. The dataset is a set of > properties in the world (mostly europe) and the searchbox is > intended to be filled with a country-, region- or city name. > To do this I've created a separate, simple core with one >

Re: autosuggest - terms componet - document details

2009-09-17 Thread Shalin Shekhar Mangar
On Wed, Sep 16, 2009 at 10:47 PM, Yerraguntla wrote: > > I just started using terms/autosuggest service.Application need the > document > details along with result items. What params I need to use to fetch the > document details. > There is no way to get document details using the TermsComponent

Re: autoSuggest

2009-05-04 Thread Matt Weber
I am not sure you can return the results in order of frequency, you will have to sort the results yourself. Also, for autoSuggest you will want to add the terms.prefix=input term and terms.lower.incl=false so your example will be: /autoSuggest? terms = true &indent = true &terms .f