The field names come from another source, most of which have spaces. So, it 
looks like I will have to do a conversion between the space and some other 
uncommon character.

Does anyone know the range of valid characters for field names in the Lucene 
QueryParser? Obviously spaces are out of the range. I couldn't find this 
information in the Lucene documentation.

----- Original Message ----
From: Yonik Seeley <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: Thursday, April 12, 2007 9:56:18 AM
Subject: Re: listing dynamic field in search results

On 4/12/07, Kevin Osborn <[EMAIL PROTECTED]> wrote:
> I discovered the issue. Some of my dynamic field names have spaces in them. 
> If I replace ' ' with '_', then it works fine. This really isn't a great 
> solution, since a '_' could be a legitimate part of the field name.

Do you not have any control over the base names of your dynamic fields?

> facet.query also fails. So, perhaps this is a Lucene issue?

Most likely... I doubt the Lucene QueryParser can parse field names with spaces.

-Yonik




Reply via email to