Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@locus.apache.org Received: (qmail 40870 invoked from network); 18 Sep 2007 00:47:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Sep 2007 00:47:27 -0000 Received: (qmail 22514 invoked by uid 500); 18 Sep 2007 00:47:19 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 22476 invoked by uid 500); 18 Sep 2007 00:47:19 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 22467 invoked by uid 99); 18 Sep 2007 00:47:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2007 17:47:19 -0700 X-ASF-Spam-Status: No, hits=-98.3 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 00:49:10 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D7D80714208 for ; Mon, 17 Sep 2007 17:46:55 -0700 (PDT) Message-ID: <3770910.1190076415880.JavaMail.jira@brutus> Date: Mon, 17 Sep 2007 17:46:55 -0700 (PDT) From: "Ryan McKinley (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Resolved: (SOLR-357) Prefixing Filter Factory -- for 'suggest' In-Reply-To: <3500036.1189893755967.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ryan McKinley resolved SOLR-357. -------------------------------- Resolution: Invalid Yes, this is a subset of EdgeNGramFilter. For more discussion, see: http://www.nabble.com/%27suggest%27-query-sorting-tf4450280.html Hoss points out that KeywordTokenizerFactory may be a more appropriate tokenizer. If you do need to complete internal tokens, use two fields. I found this works well: ... ... If you query both fields, it boosts the first names that start with the query over the others: http://localhost:8983/solr/select?fl=name,id&q=prefix1:ca%20prefix2:ca > 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.