Permalink
Browse files

allow _ and . in field names. (closes #128)

  • Loading branch information...
1 parent 805ecbc commit 9460025e9f05109a81ec879d80c0595d8075b295 Robert Newson committed Jul 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/com/github/rnewson/couchdb/lucene/TypedField.java
@@ -26,7 +26,7 @@
public final class TypedField {
- private static Pattern PATTERN = Pattern.compile("^(\\w+)(<(\\w+)>)?$");
+ private static Pattern PATTERN = Pattern.compile("^([\\w_.]+)(<([\\w]+)>)?$");
private final String name;

0 comments on commit 9460025

Please sign in to comment.