Re: Unknown query parser 'terms' with TermsComponent defined

2015-08-25 Thread P Williams
Thanks Hoss! It's obvious what the problem(s) are when you lay it all out that way. On Tue, Aug 25, 2015 at 12:14 PM, Chris Hostetter wrote: > > 1) The "terms" Query Parser (TermsQParser) has nothing to do with the > "TermsComponent" (the first is for quering m

Re: Unknown query parser 'terms' with TermsComponent defined

2015-08-25 Thread Chris Hostetter
1) The "terms" Query Parser (TermsQParser) has nothing to do with the "TermsComponent" (the first is for quering many distinct terms, the later is for requesting info about low level terms in your index) https://cwiki.apache.org/confluence/display/solr/Other+

Unknown query parser 'terms' with TermsComponent defined

2015-08-25 Thread P Williams
=>'ruby', 'rows'=>['1', '1000']}}, And it responds with an error message 'error'=>{ 'msg'=>'Unknown query parser \'terms\'', 'code'=>400}} The terms component is defined in solrconfig.xml: true termsComponent And the Standard Response Handler is defined: explicit lucene In case its useful, we have 4.9 Why would we be getting the "Unknown query parser \'terms\'" error? Thanks, Tricia

Re: TermsComponent/SolrCloud

2012-11-22 Thread Federico Méndez
> too (in your case, it should be shards.qt=/terms) > > > On Thu, Nov 22, 2012 at 6:51 AM, Federico Méndez >wrote: > > > Anyone knows if the TermsComponent supports distributed search trough a > > SolrCloud installation? I have a SolrCloud installation that works

Re: TermsComponent/SolrCloud

2012-11-22 Thread Tomás Fernández Löbbe
Hi Federico, it should work. Make sure you set the "shards.qt" parameter too (in your case, it should be shards.qt=/terms) On Thu, Nov 22, 2012 at 6:51 AM, Federico Méndez wrote: > Anyone knows if the TermsComponent supports distributed search trough a > SolrCloud instal

TermsComponent/SolrCloud

2012-11-22 Thread Federico Méndez
Anyone knows if the TermsComponent supports distributed search trough a SolrCloud installation? I have a SolrCloud installation that works OK for regular searches but TermsComponent is returning empty results when using: [collectionName]/terms?terms.fl=collector_name&terms.prefix=jo, the req

SolrCloud - TermsComponent, Suggester etc.

2012-11-10 Thread AlexeyK
Hi, I need a small clarification on how forwarding to the non-(/select) handler works. When I define a distinct handler /terms with TermsComponent inside (or /suggest with the SpellCheckComponent defined for suggester), the distributed call never works. The reason is simple - the request always

Re: Solr TermsComponent: space in term

2012-08-02 Thread aniljayanti
Hi Im working on autocompelte functionality in solr. can u suggest me the required configurations in schema.xml and solrconfig.xml for doing autocomplete in solr ?? thanks in advance, Anil -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-TermsComponent-space-in

Re: TermsComponent show only terms that matched query?

2012-02-27 Thread Jay Hill
Yes, per-doc. I mentioned TermsComponent but meant TermVectorComponent, where we get back all the terms in the doc. Just wondering if there was a way to only get back the terms that matched the query. Thanks EE, -Jay On Sat, Feb 25, 2012 at 2:54 PM, Erick Erickson wrote: > Jay: > >

Re: TermsComponent show only terms that matched query?

2012-02-25 Thread Lance Norskog
is > here? If so, I vaguely remember it being possible to do something > with highlighting, just counting the tags returned after highlighting. > > Best > Erick > > On Fri, Feb 24, 2012 at 3:31 PM, Jay Hill wrote: >> I have a situation where I want to show the term counts as

Re: TermsComponent show only terms that matched query?

2012-02-25 Thread Erick Erickson
ck On Fri, Feb 24, 2012 at 3:31 PM, Jay Hill wrote: > I have a situation where I want to show the term counts as is done in the > TermsComponent, but *only* for terms that are *matched* in a query, so I > get something returned like this (pseudo code): > > q=title:(golf swing) >

TermsComponent show only terms that matched query?

2012-02-24 Thread Jay Hill
I have a situation where I want to show the term counts as is done in the TermsComponent, but *only* for terms that are *matched* in a query, so I get something returned like this (pseudo code): q=title:(golf swing) title: golf legends show how to improve your golf swing on the golf course

Re: TermsComponent from deleted document

2011-09-10 Thread Martijn v Groningen
I'd use the suggester: http://wiki.apache.org/solr/Suggester The suggester can give a collation. The TermsComponent can't do that. The suggester builds on top of the spellchecking infrastructure, so should be easy to use if you're familiar with that. Martijn On 10 September 201

Re: TermsComponent from deleted document

2011-09-09 Thread Manish Bafna
Which is preferable? using TermsComponent or Facets for autosuggest? On Fri, Sep 9, 2011 at 10:33 PM, Chris Hostetter wrote: > > : http://wiki.apache.org/solr/TermsComponent states that TermsComponent > will > : return frequencies from deleted documents too. > : > : Is there

Re: TermsComponent from deleted document

2011-09-09 Thread Chris Hostetter
: http://wiki.apache.org/solr/TermsComponent states that TermsComponent will : return frequencies from deleted documents too. : : Is there anyway to omit the deleted documents to get the frequencies. not really -- until a deleted document is expunged from segment merging, they are still

TermsComponent from deleted document

2011-09-09 Thread Manish Bafna
Hi, http://wiki.apache.org/solr/TermsComponent states that TermsComponent will return frequencies from deleted documents too. Is there anyway to omit the deleted documents to get the frequencies. I know there is a facets which can be used. Is it recommended to use facets for autosuggest feature

Re: SolrCloud and TermsComponent

2011-09-07 Thread Jamie Johnson
I have a snapshot of trunk from some time ago, I'll check the latest code thanks for the reply On Wed, Sep 7, 2011 at 3:39 PM, Mark Miller wrote: > > On Sep 7, 2011, at 2:48 PM, Jamie Johnson wrote: > >> I took a quick look at TermsComponent and noticed that it works with &g

Re: SolrCloud and TermsComponent

2011-09-07 Thread Mark Miller
On Sep 7, 2011, at 2:48 PM, Jamie Johnson wrote: > I took a quick look at TermsComponent and noticed that it works with > distributed queries but it doesn't seem to work with distrib=true. > Am I missing something, have there been any updates to this to get > this to work with

SolrCloud and TermsComponent

2011-09-07 Thread Jamie Johnson
I took a quick look at TermsComponent and noticed that it works with distributed queries but it doesn't seem to work with distrib=true. Am I missing something, have there been any updates to this to get this to work with SolrCloud?

Re: Termscomponent sort question

2011-05-26 Thread Dmitry Kan
t; > Don't you think? > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Termscomponent-sort-question-tp2980683p2988872.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Regards, Dmitry Kan

Re: Termscomponent sort question

2011-05-26 Thread antonio
ucene.472066.n3.nabble.com/Termscomponent-sort-question-tp2980683p2988872.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Termscomponent sort question

2011-05-25 Thread Dmitry Kan
Hi antonio, Can you sort yourself on client side? Are you trying to sort the terms with the same count in reverse order of their lengths? On Tue, May 24, 2011 at 8:18 PM, antonio wrote: > Hi, i use solr 3.1. > I implemented my autocomplete with TermsComponent. I'm finding, if ther

Re: Termscomponent sort question

2011-05-25 Thread antonio
Help me please... -- View this message in context: http://lucene.472066.n3.nabble.com/Termscomponent-sort-question-tp2980683p2986185.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Termscomponent sort question

2011-05-25 Thread antonio
No one has an idea? -- View this message in context: http://lucene.472066.n3.nabble.com/Termscomponent-sort-question-tp2980683p2983776.html Sent from the Solr - User mailing list archive at Nabble.com.

Termscomponent sort question

2011-05-24 Thread antonio
Hi, i use solr 3.1. I implemented my autocomplete with TermsComponent. I'm finding, if there is, a way to sort my finding terms by score. Example, i there are two terms: "Rome" and "Near Rome", that have the same count (that is 1), i would that "Rome" will be b

Re: How to debug if termsComponent is used

2011-05-03 Thread cyang2010
ol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 7) at java.lang.Thread.run(Thread.java:619) That is all i get. Let me know if i use the wrong parameter or what. Thanks. cy -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-

Re: How to debug if termsComponent is used

2011-05-03 Thread Erick Erickson
10 wrote: > I tried it.  It just does not work.   the debug component only works when > query component is there, and it is just showing debugging information for > query result, not term match result. > > -- > View this message in context: > http://lucene.472066.n3.nabble.c

Re: How to debug if termsComponent is used

2011-05-03 Thread cyang2010
I tried it. It just does not work. the debug component only works when query component is there, and it is just showing debugging information for query result, not term match result. -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-debug-if-termsComponent-is-used

Re: How to debug if termsComponent is used

2011-05-02 Thread Otis Gospodnetic
: solr-user@lucene.apache.org > Sent: Mon, May 2, 2011 6:57:49 PM > Subject: How to debug if termsComponent is used > > Hi, I defined a searchHanlder just for the sake of autosuggest, using > TermsComponent. > >class="org.apache.solr.handler.component.Ter

How to debug if termsComponent is used

2011-05-02 Thread cyang2010
Hi, I defined a searchHanlder just for the sake of autosuggest, using TermsComponent. explicit terms debug This configuration might not even make sense, to configure "terms" and "debug" component together. Is "debug

TermsComponent and Morelikethis

2011-03-31 Thread Isha Garg
Hi! plz tell me how can we filter the termcomponent handler result on the basis of user query .Also explain me how interesting terms are shown in morelikethis for ml on the basis of user query. Thanks! Isha

Re: Solr TermsComponent: space in term

2011-03-03 Thread Ahmet Arslan
You need to remove EdgeNGramFilterFactory from your analyzer chain. --- On Thu, 3/3/11, shrinath.m wrote: > From: shrinath.m > Subject: Re: Solr TermsComponent: space in term > To: solr-user@lucene.apache.org > Date: Thursday, March 3, 2011, 1:41 PM > > Mar

Re: Solr TermsComponent: space in term

2011-03-03 Thread shrinath.m
strict it to only those words present in the documents and not something like "compliance w" ? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-TermsComponent-space-in-term-tp1898889p2624547.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr TermsComponent: space in term

2011-03-03 Thread Markus Jelsma
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.ShingleFilterFactory On Thursday 03 March 2011 12:15:07 shrinath.m wrote: > iorixxx wrote: > > TermsComponent operates on indexed terms. One way to achieve multi-word > > suggestions is to use ShingleFilterFactor

Re: Solr TermsComponent: space in term

2011-03-03 Thread shrinath.m
iorixxx wrote: > > TermsComponent operates on indexed terms. One way to achieve multi-word > suggestions is to use ShingleFilterFactory at index time. > Thank you @iorixxx. Could you point me where I can find a good docs on how to do this ? -- View this message in context: h

Re: Solr TermsComponent: space in term

2011-03-03 Thread Ahmet Arslan
> Is there no way to achieve what the Op > had to say ? > TermsComponent operates on indexed terms. One way to achieve multi-word suggestions is to use ShingleFilterFactory at index time.

Re: Solr TermsComponent: space in term

2011-03-03 Thread shrinath.m
why was this thread left unanswered ? Is there no way to achieve what the Op had to say ? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-TermsComponent-space-in-term-tp1898889p2624203.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Getting sum of all terms count in dataset instead of document count using TermsComponent....(and TermsComponent vs Facets)

2011-02-28 Thread Ahmet Arslan
> from head, but also tried on > > 1.4.1. > > > The instructions i posted works with 1.4.1. You need to > import TermDocs in TermsComponent.java : > > import org.apache.lucene.index.TermDocs; Ravish, did you get it working? Can you give us feedback?

Re: Getting sum of all terms count in dataset instead of document count using TermsComponent....(and TermsComponent vs Facets)

2011-02-27 Thread Ahmet Arslan
> I've compiled current source from head, but also tried on > 1.4.1. The instructions i posted works with 1.4.1. You need to import TermDocs in TermsComponent.java : import org.apache.lucene.index.TermDocs;

Re: Getting sum of all terms count in dataset instead of document count using TermsComponent....(and TermsComponent vs Facets)

2011-02-27 Thread Ravish Bhagdev
Yes, you are right. Ignore the query (document:*), it wont matter if i have it for termscomponent i guess. I've compiled current source from head, but also tried on 1.4.1. Any idea how to go about finding a solution to this? Thanks, Ravish On Sun, Feb 27, 2011 at 1:56 PM, Ahmet Arslan

Re: Getting sum of all terms count in dataset instead of document count using TermsComponent....(and TermsComponent vs Facets)

2011-02-27 Thread Ahmet Arslan
> I want to produce frequency analysis of all tokens inside > my solr Index from > a specific (content) field. > > When I use TermsComponent or FacetCounts, what I get is how > many records or > documents each term appears in (which again confuses me as > to what the >

Getting sum of all terms count in dataset instead of document count using TermsComponent....(and TermsComponent vs Facets)

2011-02-27 Thread Ravish Bhagdev
Hi Guys, I need a bit of help. I want to produce frequency analysis of all tokens inside my solr Index from a specific (content) field. When I use TermsComponent or FacetCounts, what I get is how many records or documents each term appears in (which again confuses me as to what the difference

Re: Terms and termscomponent questions

2011-02-03 Thread Erick Erickson
ll > in > > the index until an optimize. I'd advise starting with a clean slate for > > your > > experiments each time. The cheap way to do this is stop your server and > > delete /data/index. Delete the index directory too, not just > the > > contents. So

Re: Terms and termscomponent questions

2011-02-03 Thread openvictor Open
'd advise starting with a clean slate for > your > experiments each time. The cheap way to do this is stop your server and > delete /data/index. Delete the index directory too, not just the > contents. So it's possible your TermsComponent is returning data from > previous &

Re: Terms and termscomponent questions

2011-02-03 Thread Erick Erickson
ments each time. The cheap way to do this is stop your server and delete /data/index. Delete the index directory too, not just the contents. So it's possible your TermsComponent is returning data from previous attempts, because I sure don't see how the concatenated terms would be in this ind

Re: Terms and termscomponent questions

2011-02-01 Thread openvictor Open
Dear Erick, Thank you for your answer, here is my fieldtype definition. I took the standard one because I don't need a better one for this field Now my field : But I have a doubt now... Do I really put a space between words or is it just a coma... If I only put a coma then th

Re: Terms and termscomponent questions

2011-02-01 Thread Erick Erickson
Nope, this isn't what I'd expect. There are a couple of possibilities: 1> check out what WordDelimiterFilterFactory is doing, although if you're really sending spaces that's probably not it. 2> Let's see the and definitions for the field in question. type="text" doesn't say anything abo

Terms and termscomponent questions

2011-01-31 Thread openvictor Open
Dear Solr users, I am currently using SolR and TermsComponents to make an auto suggest for my website. I have a field called p_field indexed and stored with type="text" in the schema xml. Nothing out of the usual. I feed to Solr a set of words separated by a coma and a space such as (for two docu

Re: TermsComponent prefix query with fileds analyzers

2010-12-02 Thread Ahmet Arslan
> Does anyone know how to apply some analyzers over a prefix > query? Lucene has an special QueryParser for this. http://lucene.apache.org/java/3_0_2/api/contrib-misc/org/apache/lucene/queryParser/analyzing/AnalyzingQueryParser.html Someone provided a patch to use it in solr. It was an attachmen

Re: TermsComponent prefix query with fileds analyzers

2010-12-02 Thread Jonathan Rochkind
I don't believe you can. If you just need query-time transformation, can't you just do it in your client app? If you need index-time transformation... well, you can do that, but it's up to your schema.xml and will of course apply to the field as a whole, not just for termsco

TermsComponent prefix query with fileds analyzers

2010-12-02 Thread Nestor Oviedo
Hi everyone Does anyone know how to apply some analyzers over a prefix query? What I'm looking for is a way to build an autosuggest using the termsComponent that could be able to remove the accents from the query's prefix. For example, I have the term "analisis" in the index an

Re: Solr TermsComponent: space in term

2010-11-14 Thread Parsa Ghaffari
10, Parsa Ghaffari wrote: > > > From: Parsa Ghaffari > > Subject: Re: Solr TermsComponent: space in term > > To: solr-user@lucene.apache.org > > Date: Sunday, November 14, 2010, 5:06 PM > > Hi Ahmet, > > > > This is the fieldType for "name": >

Re: Solr TermsComponent: space in term

2010-11-14 Thread Ahmet Arslan
--- On Sun, 11/14/10, Parsa Ghaffari wrote: > From: Parsa Ghaffari > Subject: Re: Solr TermsComponent: space in term > To: solr-user@lucene.apache.org > Date: Sunday, November 14, 2010, 5:06 PM > Hi Ahmet, > > This is the fieldType for "name":

Re: Solr TermsComponent: space in term

2010-11-14 Thread Parsa Ghaffari
table? On Sun, Nov 14, 2010 at 10:32 PM, Ahmet Arslan wrote: > > I'm using Solr 1.4.1 and I'm willing to use TermsComponent > > for AutoComplete. > > The problem is, I can't get it to match strings with spaces > > in them. So to > > say,

Re: Solr TermsComponent: space in term

2010-11-14 Thread Ahmet Arslan
> I'm using Solr 1.4.1 and I'm willing to use TermsComponent > for AutoComplete. > The problem is, I can't get it to match strings with spaces > in them. So to > say, > > terms.fl=name&terms.lower=david&terms.prefix=david&terms.lower.incl=fa

Re: Solr TermsComponent: space in term

2010-11-14 Thread Ahmet Arslan
> terms.fl=name&terms.lower=david%20&terms.prefix=david%20&terms.lower.incl=false&indent=true&wt=json > > it doesn't match all strings starting with "david ". Is it > meant to be that > way? This is about fielyType of name field. What is it? If it does have ShingleFilterFactory in it, then this

Solr TermsComponent: space in term

2010-11-14 Thread Parsa Ghaffari
Hi folks, I'm using Solr 1.4.1 and I'm willing to use TermsComponent for AutoComplete. The problem is, I can't get it to match strings with spaces in them. So to say, terms.fl=name&terms.lower=david&terms.prefix=david&terms.lower.incl=false&indent=true&wt=json

How to use TermsComponent when I need a filter

2010-09-08 Thread David Yang
Hi, I have a solr index, which for simplicity is just a list of names, and a list of associations. (either a multivalue field e.g. {A1, A2, A3, A6} or a string concatenation list e.g. "A1 A2 A3 A6") I want to be able to provide autocomplete but with a specific association. E.g. Names beginn

Re: How to use TermsComponent when I need a filter

2010-09-08 Thread Chris Hostetter
: Subject: How to use TermsComponent when I need a filter : In-Reply-To: <8ffbbf6788bd5842b5a7274ef0f6837e01c3d...@msex85.morningstar.com> : References: <8ffbbf6788bd5842b5a7274ef0f6837e01c3d...@msex85.morningstar.com> http://people.apache.org/~hossman/#threadhijack Thread Hijackin

How to use TermsComponent when I need a filter

2010-09-07 Thread David Yang
Hi, I have a solr index, which for simplicity is just a list of names, and a list of associations. (either a multivalue field e.g. {A1, A2, A3, A6} or a string concatenation list e.g. "A1 A2 A3 A6") I want to be able to provide autocomplete but with a specific association. E.g. Names beginning

Re: TermsComponent - AutoComplete - Multiple Term Suggestions & Inclusive Search?

2010-06-23 Thread Sophie M.
n context: http://lucene.472066.n3.nabble.com/TermsComponent-AutoComplete-Multiple-Term-Suggestions-Inclusive-Search-tp916530p916769.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: TermsComponent - AutoComplete - Multiple Term Suggestions & Inclusive Search?

2010-06-23 Thread Chantal Ackermann
Hi Saïd, I think your problem is the field's type: String. You have to use a TextField and apply tokenizers that will find "subcategory" if you put in "cat". (Not sure which filter does that, though. I wouldn't think that the PorterStemmer cuts off prefix syllables of that kind?) If, however, you

TermsComponent - AutoComplete - Multiple Term Suggestions & Inclusive Search?

2010-06-23 Thread Saïd Radhouani
Hi, I'm using the Terms Component to se up the autocomplete feature based on a String field. Here are the params I'm using: terms=true&terms.fl=type&terms.lower=cat&terms.prefix=cat&terms.lower.incl=false With the above params, I've been able to get suggestions for terms that start with the sp

TermsComponent Reverse !?

2010-06-16 Thread stockii
Hello again Nabble :D TermsComponent works fine so far, but how can i get the same result for the typing: "harry pot" -> "harry potter" AND "potter harr" -> "harry potter" i try ReversedWildcardFilterFactory, but i dont want the revers

Re: use termscomponent like spellComponent ?!

2010-03-23 Thread Chris Hostetter
: so when ich search for "nik" termsCom suggest me "nikon". thats correctly : whar i want. : but when i type "nikon on" i want that solr suggest me "nikon one" , try using copyField to index an untokenized version of your field, so that "nikon one" is a single term, then "nikon on" as a pr

Re: use termscomponent like spellComponent ?!

2010-03-23 Thread Grant Ingersoll
gt;> >>> i play with solr but i didn`t find the perfect solution for me. >>> >>> my goal is a search like the amazonsearch from the iPhoneApp. ;) >>> >>> it is possible to use the TermsComponent like the SpellComponent ? So, >>> that &

Re: use termscomponent like spellComponent ?!

2010-03-22 Thread stocki
e/SOLR-1316 > > > On Mar 21, 2010, at 2:34 PM, stocki wrote: > >> >> hello. >> >> i play with solr but i didn`t find the perfect solution for me. >> >> my goal is a search like the amazonsearch from the iPhoneApp. ;) >> >> it

Re: use termscomponent like spellComponent ?!

2010-03-22 Thread Grant Ingersoll
See https://issues.apache.org/jira/browse/SOLR-1316 On Mar 21, 2010, at 2:34 PM, stocki wrote: > > hello. > > i play with solr but i didn`t find the perfect solution for me. > > my goal is a search like the amazonsearch from the iPhoneApp. ;) > > it is possible t

use termscomponent like spellComponent ?!

2010-03-21 Thread stocki
hello. i play with solr but i didn`t find the perfect solution for me. my goal is a search like the amazonsearch from the iPhoneApp. ;) it is possible to use the TermsComponent like the SpellComponent ? So, that works termsComp with more than one single Term ?! i got these 3 docs with the

Re: TermsComponent, multiple fields, total count

2010-01-21 Thread Lance Norskog
You can use the spelling dictionary feature for auto-complete. This is actually more useful than facet.prefix because normal people are not perfect spellers. (It would be even more useful based on phonemes, but I haven't figured out how to do that yet.) On Tue, Jan 19, 2010 at 6:28 PM, Erik Hatche

Re: TermsComponent, multiple fields, total count

2010-01-21 Thread Lukas Kahwe Smith
On 20.01.2010, at 15:50, Lukas Kahwe Smith wrote: > > On 19.01.2010, at 22:52, Lukas Kahwe Smith wrote: > I also want to match multiple fields at once. >>> >>> Can you give an example? >> >> >> I enter "Kreuz" but this could either be part of a persons name or of a >> street name, whic

Re: TermsComponent, multiple fields, total count

2010-01-20 Thread Lukas Kahwe Smith
On 19.01.2010, at 22:52, Lukas Kahwe Smith wrote: >>> I also want to match multiple fields at once. >> >> Can you give an example? > > > I enter "Kreuz" but this could either be part of a persons name or of a > street name, which are separate fields in my index mainly because they > analyzed

AW: TermsComponent, multiple fields, total count

2010-01-20 Thread Chantal Ackermann
I find the DismaxRequestHandler perfect for matching multiple fields, matching phrases in other/subset of fields, weighting the different matches. It's powerful and fast. You can define several DismaxRequestHandlers if you want to offer different kinds of "search areas" to the user (e.g. search

Re: TermsComponent, multiple fields, total count

2010-01-19 Thread Erik Hatcher
On Jan 19, 2010, at 3:55 PM, Otis Gospodnetic wrote: a search "quality" meter. As in indicate the total number of matches (doesnt need to be accurate, just a ballpark figure especially if there are a lot of matches) As in, you want each suggestion include the number of documents it would

Re: termsComponent and filter queries

2010-01-19 Thread Yonik Seeley
You may be able to use faceting for this. Use facet.method=enum - it will be more efficient for this specific use. The main problem is that you can't specify a start term for faceting though (you can only use numeric offset / limit into the list). To do more will require either adding some terms

Re: TermsComponent, multiple fields, total count

2010-01-19 Thread Lukas Kahwe Smith
On 19.01.2010, at 21:55, Otis Gospodnetic wrote: > Hi Lukas, > > > - Original Message > >> From: Lukas Kahwe Smith > >> I want to use TermsComponent for both auto complete suggestions but also >> showing > > Is TermsComponent really th

Re: TermsComponent, multiple fields, total count

2010-01-19 Thread Otis Gospodnetic
Hi Lukas, - Original Message > From: Lukas Kahwe Smith > I want to use TermsComponent for both auto complete suggestions but also > showing Is TermsComponent really that good for AutoComplete? Have a look at http://www.sematext.com/demo/ac/index.html - doesn't use T

termsComponent and filter queries

2010-01-19 Thread Naomi Dushay
I have a field that has millions of values, and I need to get "the next X values" in alpha order. The terms component works fabulously for this. Here is a cooked up example of the terms a b f q r rr rrr y z zzz So if I ask for the 3 terms after "r", I get "rr", "rrr" and "y". But now I'd

TermsComponent, multiple fields, total count

2010-01-18 Thread Lukas Kahwe Smith
Hi, I want to use TermsComponent for both auto complete suggestions but also showing a search "quality" meter. As in indicate the total number of matches (doesnt need to be accurate, just a ballpark figure especially if there are a lot of matches). I also want to match multiple fiel

Re: TermsComponent results don't change after documents removed from index

2009-11-03 Thread Bill Au
Thanks for pointing that out. The TermsComponent prefix query is running much faster than the facet prefix query. I guess there is yet another reason to optimize the index. Bill On Tue, Nov 3, 2009 at 5:09 PM, Koji Sekiguchi wrote: > Bill Au wrote: > >> Should the re

Re: TermsComponent results don't change after documents removed from index

2009-11-03 Thread Koji Sekiguchi
Bill Au wrote: Should the results of the TermsComponent change after documents have been removed from the index? I am thinking about using the prefix of TermsComponent to implement auto-suggest. But I noticed that the prefix counts in TermsComponent don't change after documents have

Re: TermsComponent or auto-suggest with filter

2009-10-07 Thread R. Tan
ay > http://www.lucidimagination.com > > > On Tue, Oct 6, 2009 at 5:43 PM, R. Tan wrote: > > > Nice. In comparison, how do you do it with faceting? > > > > > "Two other approaches are to use either the TermsComponent (new in Solr > > > 1.4) or faceting.&q

Re: TermsComponent or auto-suggest with filter

2009-10-07 Thread Jay Hill
"Two other approaches are to use either the TermsComponent (new in Solr > > 1.4) or faceting." > > > > On Wed, Oct 7, 2009 at 1:51 AM, Jay Hill wrote: > > > Have a look at a blog I posted on how to use EdgeNGrams to build an > > auto-suggest tool: >

Re: TermsComponent or auto-suggest with filter

2009-10-06 Thread R. Tan
Nice. In comparison, how do you do it with faceting? > "Two other approaches are to use either the TermsComponent (new in Solr > 1.4) or faceting." On Wed, Oct 7, 2009 at 1:51 AM, Jay Hill wrote: > Have a look at a blog I posted on how to use EdgeNGrams to build an

Re: TermsComponent or auto-suggest with filter

2009-10-06 Thread Jay Hill
4:40 AM, R. Tan wrote: > Hello, > What's the best way to get auto-suggested terms/keywords that is filtered > by > one or more fields? TermsComponent should have been the solution but > filters > are not supported. > > Thanks, > Rihaed >

TermsComponent or auto-suggest with filter

2009-10-06 Thread R. Tan
Hello, What's the best way to get auto-suggested terms/keywords that is filtered by one or more fields? TermsComponent should have been the solution but filters are not supported. Thanks, Rihaed

Re: TermsComponent

2009-09-10 Thread Todd Benge
Thanks for the pointer. Definitely appreciate the help. Todd On Thu, Sep 10, 2009 at 11:10 AM, Jay Hill wrote: > If you need an alternative to using the TermsComponent for auto-suggest, > have a look at this blog on using EdgeNGrams instead of the TermsComponent. >

Re: TermsComponent

2009-09-10 Thread Jay Hill
If you need an alternative to using the TermsComponent for auto-suggest, have a look at this blog on using EdgeNGrams instead of the TermsComponent. http://www.lucidimagination.com/blog/2009/09/08/auto-suggest-from-popular-queries-using-edgengrams/ -Jay http://www.lucidimagination.com On Wed

Re: TermsComponent

2009-09-09 Thread Todd Benge
le to the top of the sort. The result is that a search for a name shows a first and last name without the whitespace. One thing I've noticed is that since TermsComponent is working on a single Term, there doesn't seem to be a way to query against a phrase. The same example as above appl

Re: TermsComponent

2009-09-09 Thread Grant Ingersoll
, at 11:06 AM, Todd Benge wrote: It's set as Field.Store.YES, Field.Index.ANALYZED. On Wed, Sep 9, 2009 at 8:15 AM, Grant Ingersoll wrote: How are you tokenizing/analyzing the field you are accessing? On Sep 9, 2009, at 8:49 AM, Todd Benge wrote: Hi Rekha, Here's teh link t

Re: TermsComponent

2009-09-09 Thread Todd Benge
It's set as Field.Store.YES, Field.Index.ANALYZED. On Wed, Sep 9, 2009 at 8:15 AM, Grant Ingersoll wrote: > How are you tokenizing/analyzing the field you are accessing? > > > On Sep 9, 2009, at 8:49 AM, Todd Benge wrote: > > Hi Rekha, >> >> Here&#x

Re: TermsComponent

2009-09-09 Thread Grant Ingersoll
How are you tokenizing/analyzing the field you are accessing? On Sep 9, 2009, at 8:49 AM, Todd Benge wrote: Hi Rekha, Here's teh link to the TermsComponent info: http://wiki.apache.org/solr/TermsComponent and another link Matt Weber did on autocompletion: http://www.mattweber.org/20

Re: TermsComponent

2009-09-09 Thread Todd Benge
Hi Rekha, Here's teh link to the TermsComponent info: http://wiki.apache.org/solr/TermsComponent and another link Matt Weber did on autocompletion: http://www.mattweber.org/2009/05/02/solr-autosuggest-with-termscomponent-and-jquery/ We had to upgrade to the latest nightly to ge

Re: TermsComponent

2009-09-09 Thread Todd Benge
t; On Fri, Sep 4, 2009 at 5:46 PM, Todd Benge wrote: > >> I was looking at TermsComponent in Solr 1.4 as a way of building a > >> autocomplete function. I have a prototype working but noticed that > terms > >> that have whitespace in them when indexed are absent the whi

Re: TermsComponent

2009-09-09 Thread dharhsana
e for autocompletion, please share wih me.. Regards Rekha tbenge wrote: > > Hi, > > I was looking at TermsComponent in Solr 1.4 as a way of building a > autocomplete function. I have a prototype working but noticed that terms > that have whitespace in them when indexed are abs

Re: TermsComponent

2009-09-05 Thread Todd Benge
Thanks - I'll give it a try On 9/5/09, Yonik Seeley wrote: > On Fri, Sep 4, 2009 at 5:46 PM, Todd Benge wrote: >> I was looking at TermsComponent in Solr 1.4 as a way of building a >> autocomplete function.  I have a prototype working but noticed that terms >> that ha

Re: TermsComponent

2009-09-05 Thread Yonik Seeley
On Fri, Sep 4, 2009 at 5:46 PM, Todd Benge wrote: > I was looking at TermsComponent in Solr 1.4 as a way of building a > autocomplete function.  I have a prototype working but noticed that terms > that have whitespace in them when indexed are absent the whitespace when > retur

Re: TermsComponent

2009-09-05 Thread Israel Ekpo
Hi Todd, I have not tried this yet. But try setting the terms.raw parameter to true. Maybe that will include the whitespace that is missing from the response. On Fri, Sep 4, 2009 at 5:46 PM, Todd Benge wrote: > Hi, > > I was looking at TermsComponent in Solr 1.4 as a way of b

TermsComponent

2009-09-04 Thread Todd Benge
Hi, I was looking at TermsComponent in Solr 1.4 as a way of building a autocomplete function. I have a prototype working but noticed that terms that have whitespace in them when indexed are absent the whitespace when returned from the TermsComponent. Any ideas on why that may be happening? Am

Re: Compiling TermsComponent for use with Solr 1.3

2009-07-09 Thread Chris Hostetter
: I've copied TermsComponent and TermsParams from trunk into my own package : and Eclipse isn't reporting any build errors ... : SEVERE: java.lang.ClassCastException: : com.titanpublishing.solr.TermsComponent cannot be cast to : org.apache.solr.util.plugin.NamedListInitial

  1   2   >