Hello marklogic gurus. I'm still getting my feet wet, but am starting to get a 
decent grip on how this system works.

However, I have one requirement that I cannot seem to develop a strategy for 
using the documentation.

Say I have 1-N many product documents. Each product has a title, a description, 
etc. Marklogic searches and sorts this very well.
My situation involves the price of these products. Some arbitrary users have an 
arbitrary percentage discount on an arbitrary set of products.

It would be easy enough to post process the results to  reflect the correct 
price based on the user, however that doesn't help me when I need to find all 
products that are > $XX , or sort the results based on price, since this isn't 
"in" the data. It is a calculated field.

If the discount was applicable across the board to all the products, again that 
would be easy enough as well.

So basically, I'm looking for any suggestions to solving this problem you may 
have. My current thought process has been to denormalize the data in such a way 
that it can be indexed and filtered, but the order of magnitude is just too 
great (at least in the way I have been thinking about it).

Thanks for reading!
_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to