Has anyone encountered a situation where the LSCS query is too long, the server returns status "414 Request-URI Too Large" ? We have a query that is dynamically built in the External Java. The query contains up to a maximum of 50 states, including other conditions. But when executed, the server returns the status code 414. I've tried to execute the same query using the POST method, but it is not supported by LSCS. Is there a JAVA LSCS API with sample codes on how to make long LSCS queries ?
Here's the long query that fails : document$?q=(TeamSite/Metadata/Effective_Date:<=2011-09-15 (
http://laadws61:18760/lscs/v1/document$?q=(TeamSite/Metadata/Effective_Date:<=2011-09-15) AND TeamSite/Metadata/Expiration_Date

2011-09-15 AND TeamSite/Metadata/ContentType:gq41e12z,0000 AND TeamSite/Metadata/State:gqd8z6ds,gqd8z6cw,gqd8z6e1,gre0aq4w,gqd8z6d8,gre0aq4w,gqd8z6dr,gqd8z6d6,gre0aq4w,gqd8z6d7,gre0aq4w,gqd8z6e4,gre0aq4w,gqd8z6e3,gqd8z6cx,gqd8z6du,gqd8z6dv,gqd8z6cz,gqd8z6e5,gqd8z6dp,gre0aq4w,gqd8z6dq,gre0aq4w,gqd8z6cv,gre0aq4w,gqd8z6dw,gre0aq4w,gqd8z6di,gre0aq4w,gqd8z6d0,gre0aq4w,gqd8z6dm,gqd8z6dh,gqd8z6do,gre0aq4w,gqd8z6dn,gqd8z6cr,gqd8z6dx,gre0aq4w,gqd8z6cs,gre0aq4w,gqd8z6dl,gqd8z6dk,gqd8z6dj,gqd8z6de,gqd8z6dg,gqd8z6df,gre0aq4w,gqd8z6ct,gre0aq4w,gqd8z6dd,gre0aq4w,gqd8z6d4,gre0aq4w,gqd8z6d3,gre0aq4w,gqd8z6dy,gre0aq4w,gqd8z6cu,gre0aq4w,gqd8z6db,gre0aq4w,gqd8z6da,gqd8z6d5,gqd8z6d2,gre0aq4w,gqd8z6cy,gre0aq4w,gqd8z6dc,gqd8z6e0,gre0aq4w,gqd8z6d9,gre0aq4w,gqd8z6d1,gqd8z6dt,gqd8z6dz,gqd8z6cq AND TeamSite/Metadata/Product:gqd8z6c3,gqd8z6b7,gqd8z69u,0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