Boris Brudnoy
Boris Brudnoy

Reputation: 2460

Restricting search to a subset of document fields

Is it possible to restrict the GAE full text search to specific document fields? In other words, if the query is only matched to contents of the field being ignored, could that document be excluded from search results?

Upvotes: 1

Views: 228

Answers (1)

Alan
Alan

Reputation: 690

You can restrict a search term to a specific field, but there's no convenient way to exclude, say, just one or two fields if there are many fields in the documents.

https://developers.google.com/appengine/docs/java/search/#Queries_on_Fields

Upvotes: 2

Related Questions