Hi all,
I want to add two search operators that require custom treatment because
they contain what I have found are special characters.
In one example, the operator takes a numeric job number that contains one
period, e.g. "jobnumber:2060250.00". I also have a "mainnumber" operator
that works the same way but doesn't take the decimal portion.
Trouble is, mainnumber queries works fine; jobnumber queries do not. The
code for both query filters are exactly the same, just with different
parameters to super:
public class JobNumberQueryFilter extends FieldQueryFilter {
public JobNumberQueryFilter() {
super("jobnumber");
}
}
So I am guessing that "." (period) is a special character that is either
being discarded by the indexer or is being parsed out at a higher level by
the query parser.
How can I get this to work?
Thanks all.
Ben
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general