X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fcom%2Findexdata%2Fmkjsf%2Fpazpar2%2Fcommands%2FQueryParameter.java;h=5213e520760cd21576fa4f2adbf4de5a7e978f6e;hb=86f289cd42ba95846c80d22129ed565e4e9d6dde;hp=68a49d0a03b7b28749c9637bf63fbfd618eecbea;hpb=464c86e1706170a0be7be81d239d8c16fad78ec4;p=mkjsf-moved-to-github.git diff --git a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/QueryParameter.java b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/QueryParameter.java index 68a49d0..5213e52 100644 --- a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/QueryParameter.java +++ b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/QueryParameter.java @@ -1,5 +1,20 @@ package com.indexdata.mkjsf.pazpar2.commands; +/** + * Represents a query parameter as it applies to the Pazpar2 search command + * + *
A query parameter can consist of a term value and/or one or more expressions + * separated by boolean operators.
+ * + *A complex query can be represented in the object as either one long string
+ * set by setQuery(string)
or as a series of expressions set by
+ * setQueryExpression(...)
(or a combination of the two). The difference
+ * between the two approaches would be the option of easily removing individual
+ * expressions again or otherwise treat them has separate entities in the UI.