lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Hiatt (JIRA)" <>
Subject [jira] Updated: (SOLR-81) Add Query Spellchecker functionality
Date Sun, 04 Feb 2007 01:16:05 GMT


Adam Hiatt updated SOLR-81:

    Attachment: SOLR-81-edgengram-ngram.patch

This new patch provides a superset of the functionality of Otis's orginal patch. Specifically
it includes edge n-gram tokenizers based on Otis's lucene analyzer contrib. I modified this
tokenizer to output edge n-grams in a range of sizes (ie you can tokenizer a range of 1-2
on the string "abc" resulting in "a", "ab").  This patch also fixes a bug in the n-gram factory
and provides some code cleanup. 

For clarity's sake this patch suplants 'SOLR-81-ngram.patch' 

> Add Query Spellchecker functionality
> ------------------------------------
>                 Key: SOLR-81
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>            Reporter: Otis Gospodnetic
>            Priority: Minor
>         Attachments: SOLR-81-edgengram-ngram.patch, SOLR-81-ngram.patch
> Use the simple approach of n-gramming outside of Solr and indexing n-gram documents.
 For example:
> <doc>
> <field name="word">lettuce</field>
> <field name="start3">let</field>
> <field name="gram3">let ett ttu tuc uce</field>
> <field name="end3">uce</field>
> <field name="start4">lett</field>
> <field name="gram4">lett ettu ttuc tuce</field>
> <field name="end4">tuce</field>
> </doc>
> See:
> Java clients: SOLR-20 (add delete commit optimize), SOLR-30 (search)

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

View raw message