As far as I'm aware spaces are allowed in field names and a quick test appears to confirm that.
Feel free to disagree (I'm often wrong) with more detail - or proof. -- Ian. On Thu, Jun 23, 2011 at 10:26 PM, Nilesh Vijaywargiay <nilesh.vi...@gmail.com> wrote: > I have a situation where the field name consists of spaces. > So a query like > *short text: value* > > doesn't return any results as the query structure internally would be > *defaultField:short > text:value* > * > * > *Any work around for including spaces in your field name?* > * > * > *Nilesh* > * > * > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org