astriffe
astriffe

Reputation: 172

Searching in multiple classes using playframework's search-module

As described at playframework - search module, I've installed the search-module. Of course my model consists of multiple classes. I'd now like to search for entries whose attributes consist of several tables, i.e. i'd like to search for users who have bought an article that costs more than say 500$ whereas there would be a table for customers, one for orders and one for articles.

Does anyone know how to realize this using the playframework's lucene-query-language?

thanks a lot!

Upvotes: 1

Views: 301

Answers (1)

Lawrence McAlpin
Lawrence McAlpin

Reputation: 2785

The query language isn't specific to Play! You can learn about the syntax from the official Lucene documentation: http://lucene.apache.org/java/2_0_0/queryparsersyntax.html

Upvotes: 1

Related Questions