You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Mark N <ni...@gmail.com> on 2009/12/09 07:46:11 UTC

Enumerating wildcard terms

Is it possible to  enumerate all terms that match the specified wildcard
filter term.  Similar to Lunce  WildCardTermEnum API

for example if I search abc*   then I just should able to access all the
terms abc1, abc2 , abc3... that exists in Index

What should be better approach to meet this functionality ?




-- 
Nipen Mark

Re: Enumerating wildcard terms

Posted by Erik Hatcher <er...@gmail.com>.
Mark,

The TermsComponent should do the trick for you.

	http://wiki.apache.org/solr/TermsComponent

    Erik


On Dec 9, 2009, at 7:46 AM, Mark N wrote:

> Is it possible to  enumerate all terms that match the specified  
> wildcard
> filter term.  Similar to Lunce  WildCardTermEnum API
>
> for example if I search abc*   then I just should able to access all  
> the
> terms abc1, abc2 , abc3... that exists in Index
>
> What should be better approach to meet this functionality ?
>
>
>
>
> -- 
> Nipen Mark