Hi,

Using Solr 3.1 I'm getting errors when trying to sort on fields containing
dashes in the name...
So that's true stay away from dashes if you can.

Marc.

On Sun, Jun 5, 2011 at 3:46 PM, Erick Erickson <erickerick...@gmail.com>wrote:

> I'd stay away from dashes too. It's too easy for the query parsers
> to mistake them for the NOT operator on a URL.
>
> You've really got two issues here:
> 1> what is allowable in the field name
> 2> what causes grief with some query parser.
>
> To avoid <2>, I'd really just stick with characters and underscores.
>
> Best
> Erick
>
> 2011/6/4 François Schiettecatte <fschietteca...@gmail.com>:
> > Underscores and dashes are fine, but I would think that colons (:) are
> verboten.
> >
> > François
> >
> > On Jun 4, 2011, at 9:49 PM, Jamie Johnson wrote:
> >
> >> Is there a list anywhere detailing field name restrictions.  I imagine
> >> fields containing periods (.) are problematic if you try to use that
> field
> >> when doing faceted queries, but are there any others?  Are underscores
> (_)
> >> or dashes (-) ok?
> >
> >
>

Reply via email to