Is there any way to use findObjects with a search term that contains a single quote? For example, I want to be able to search for a name like O'Connor.
The only way I've been able to get results returned is to use the wildcard character ? - e.g., title~o?connor I've tried escaping the ' character various ways, but none of them seem to work-- with a backslash ( \' ) I get this error: org.fcrepo.server.errors.QueryParseException: Query cannot contain the ' character. If I urlencode it as %27 I don't get an error, but I also don't get the result that should match. We can work around the problem for now using the ? wildcard but I'd like to know if there are other options (or if perhaps I should submit a bug report). While I'm asking about findObjects, is there any way to do a "not" search? I'd be interested in being able to search on particular text not being present in a certain field, and possibly even more useful, a particular field being empty or not present at all. -- Rebecca Sutton Koeser, Ph.D. rebecca.s.koe...@emory.edu Digital Programs & Systems - Woodruff Library, Emory University ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Fedora-commons-users mailing list Fedora-commons-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-users