Re: Filtering down terms in suggest

2013-06-13 Thread Aloke Ghoshal
ted string and create another query > to > solr along with the filter parameter. > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Filtering-down-terms-in-suggest-tp4069627p4069997.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Re: Filtering down terms in suggest

2013-06-12 Thread bbarani
I would suggest you to take the suggested string and create another query to solr along with the filter parameter. -- View this message in context: http://lucene.472066.n3.nabble.com/Filtering-down-terms-in-suggest-tp4069627p4069997.html Sent from the Solr - User mailing list archive at

Re: Filtering down terms in suggest

2013-06-12 Thread Aloke Ghoshal
Thanks Jason, querying would be a good way to approach this. Though not NGram, thinking of doing a wildcard based search & use the highlighted text for suggestions. On Wed, Jun 12, 2013 at 6:49 PM, Jason Hellman < jhell...@innoventsolutions.com> wrote: > Aloke, > > It may be best to simply run

Re: Filtering down terms in suggest

2013-06-12 Thread Jason Hellman
Aloke, It may be best to simply run a query to populate the suggestion list. While not as fast as the terms component (and suggester offshoots) it can still be tuned to be very, very fast. In this way, you can generate any fq/q combination required to meet your needs. You can play with wil

Re: Filtering down terms in suggest

2013-06-12 Thread Aloke Ghoshal
Barani - the fq option doesn't work. Jason - the dynamic field option won't work due to the high number of groups and users. On Wed, Jun 12, 2013 at 1:12 AM, Jason Hellman < jhell...@innoventsolutions.com> wrote: > Aloke, > > If you do not have a factorial problem in the combination of userid a

Re: Filtering down terms in suggest

2013-06-11 Thread Jason Hellman
Aloke, If you do not have a factorial problem in the combination of userid and groupid (which I can imagine you might) you could consider creating a field for each combination (u1g1, u2g2) which can easily be done via dynamic fields. Use CopyField to get data into these various constructs (aga

Re: Filtering down terms in suggest

2013-06-11 Thread bbarani
I suppose you can use fq with SpellCheckComponent but I haven't tried it yet. https://issues.apache.org/jira/browse/SOLR-2010 -- View this message in context: http://lucene.472066.n3.nabble.com/Filtering-down-terms-in-suggest-tp4069627p4069690.html Sent from the Solr - User mailing

Filtering down terms in suggest

2013-06-11 Thread Aloke Ghoshal
Hi, Trying to find a way to filter down the suggested terms set based on the term value of another indexed field? Let's say we have the following documents indexed in Solr: userid:1, groupid:1, content:"alpha beta gamma" userid:2, groupid:1, content:"alternate better garden" userid:3, groupid:2,