Java Mailing List Archive

http://www.java2.5341.com/

Home » java-user.lucene »

Field names with : in it.

samd

2008-10-06

Replies: Find Java Web Hosting

Author LoginPost Reply

It appears if a search field value entered contains a ':' causes some issues
since if I have a field named

a.b.c and the user enters a value of foo the constructed query through the
api generates something like
+a.b.c:foo

If they enter in a value of foo:bar

I get +foo:bar where foo is substituted for the correct fieldname.

What is the best way to deal with this?

Thanks.
--
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@(protected)
For additional commands, e-mail: java-user-help@(protected)

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.