Return-Path: X-Original-To: apmail-lucene-general-archive@www.apache.org Delivered-To: apmail-lucene-general-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C2C938CA5 for ; Wed, 10 Aug 2011 16:39:58 +0000 (UTC) Received: (qmail 53506 invoked by uid 500); 10 Aug 2011 16:39:58 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 53376 invoked by uid 500); 10 Aug 2011 16:39:57 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Delivered-To: moderator for general@lucene.apache.org Received: (qmail 18618 invoked by uid 99); 10 Aug 2011 16:25:38 -0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Date: Wed, 10 Aug 2011 09:25:10 -0700 (PDT) From: Valentin To: general@lucene.apache.org Message-ID: <1312993510726-3243107.post@n3.nabble.com> Subject: SolR : Spellchecking & Autocomplete MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, *## __First question :__ ##* I have *2 handlers* : one for autocompletion, and one for spellchecking. They are working very well but i want them to be in the *same handler* (the default one). I can add one of them to the default handler with : true suggest 10 true ....(stuff for the main request).... suggest But i can't do this twice like this : true suggest 10 true ....(stuff for the main request).... suggest spellcheck Because the spellchecker needs the line : spellcheck wich is already in the handler, but with the dictionnary for the autocomplete. So how can i do to add both of them to the main handler ? *## __Second question :__ ##* If i type "Britny", i want the suggestion "Britney Spears", wich is spellchecked *and* autocompleted. How can I do that ? Yet, can just do spellcheck OR autocomplete... *## __Third question :__ ##* Why If i type "britne" it autocompletes "britney", but when i type " Britne" it doesn't find any result ? Here is my field for autocomplete : It has the LowerCaseFilterFactory in the query part AND in the index part, so I guessed it will convert my query to lowerCase and compare withe the words stored in lowercase, but obviously not. Moreover, I would like to have when I type "Britne", "britne" or "BriTnE" the result "Britney" (and not "britney"). How can I make my autocompleter/spellchecker *not case-sensitive* ? -- View this message in context: http://lucene.472066.n3.nabble.com/SolR-Spellchecking-Autocomplete-tp3243107p3243107.html Sent from the Lucene - General mailing list archive at Nabble.com.