lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <>
Subject [jira] [Commented] (SOLR-1844) CommonGramsQueryFilterFactory should read words in a comma-delimited format
Date Mon, 06 Jun 2011 18:04:58 GMT


David Smiley commented on SOLR-1844:

On second thought, I think the current behavior is fine because it's consistent with the other
filters that need lists of words since they all share the same code to do it -- BaseTokenStreamFactory.getWordSet(...).
If any change should happen, it should happen there. I'm fine with this issue being closed
as "Won't-Fix".  It was easy enough for me to simply replace the commas in Hathi's file with
a carriage return.

> CommonGramsQueryFilterFactory should read words in a comma-delimited format
> ---------------------------------------------------------------------------
>                 Key: SOLR-1844
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: Schema and Analysis
>    Affects Versions: 1.4
>            Reporter: David Smiley
>            Priority: Minor
> CommonGramsQueryFilterFactory expects that the file(s) given to the "words" argument
is a carriage-return delimited list of words.  It doesn't support comments either.  This file
format should be more flexible to support comma delimited values.  I came across this because
I was trying to use the sample file provided by HathiTrust:
>    (named in a file new400common.txt)

This message is automatically generated by JIRA.
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message