You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2007/09/16 00:44:32 UTC

[jira] Commented: (SOLR-357) Prefixing Filter Factory -- for 'suggest'

    [ https://issues.apache.org/jira/browse/SOLR-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527793 ] 

Hoss Man commented on SOLR-357:
-------------------------------

isn't this a subset of the functionality in EdgeNGramFilterFactory ?

in answer to your followup questions:  

1) the easiest way i can think of to do this is with a boolean query on two fields -- one using KeywordTokenizer and the other using something else. "Canon PIXMA" would match on bth, "...video card" would only match on the second.

2) i'm not sure i understand the question, it sounds like you would just want a really sloppy phrase query, but i must be missing something.  should probably discuss outside of Jira.

> Prefixing Filter Factory -- for 'suggest' 
> ------------------------------------------
>
>                 Key: SOLR-357
>                 URL: https://issues.apache.org/jira/browse/SOLR-357
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Ryan McKinley
>         Attachments: SOLR-357-PrefixingFilter.patch
>
>
> The PrefixingFilter builds a token for each prefix in the original token.  It is appropriate for a type-ahead suggest style function.
> Given the token "solr", this will build a token for "s","so","sol","solr".  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.