On Tue, Nov 24, 2009 at 11:58 PM, darniz wrote:
>
>
> i created a filed as same as the lucid blog says.
>
> omitNorms="true" omitTermFreqAndPositions="true"/>
>
> with the following field configurtion
>
> positionIncrementGap="100">
> −
>
>
>
> maxGramSize="25"/>
>
> −
>
>
>
>
>
>
> N
> like
>>> you can define at query time what fields you want to use to fetch
>>> autocomplete from.
>>>
>>> Any idea whats the best and why the Term component is not giving me an
>>> entire phrase which i mentioned earlier.
>>> FYI
>>>
a
> non-tokenized type (such as a string type) with TermsComponent. However,
> this will only let you search by prefix and not by words in between the
> phrase.
>
> Your best bet here would be to use EdgeNGramFilterFactory. If your index
> is
> very large, you can consider doing a prefix search on shingles too.
>
> --
> Regards,
> Shalin Shekhar Mangar.
>
>
--
View this message in context:
http://old.nabble.com/Implementing-phrase-autopop-up-tp26490419p26499912.html
Sent from the Solr - User mailing list archive at Nabble.com.
On Tue, Nov 24, 2009 at 10:12 AM, darniz wrote:
>
> hello all
> Let me first explain the task i am trying to do.
> i have article with title for example
>
> >Car Insurance for Teenage Drivers
>
> −
>
> A Total Loss?
>
> If a user begins to type car insu i want the autopop to show up with the
-
View this message in context:
http://old.nabble.com/Implementing-phrase-autopop-up-tp26490419p26490419.html
Sent from the Solr - User mailing list archive at Nabble.com.