summaryrefslogtreecommitdiff
path: root/core/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/main/java')
-rw-r--r--core/src/main/java/de/danoeh/antennapod/core/storage/FeedSearcher.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/storage/FeedSearcher.java b/core/src/main/java/de/danoeh/antennapod/core/storage/FeedSearcher.java
index 7be851944..9d136273c 100644
--- a/core/src/main/java/de/danoeh/antennapod/core/storage/FeedSearcher.java
+++ b/core/src/main/java/de/danoeh/antennapod/core/storage/FeedSearcher.java
@@ -21,7 +21,15 @@ public class FeedSearcher {
/**
- * Performs a search in all feeds or one specific feed.
+ * Search through a feed, or all feeds, for episodes that match the query in either the title,
+ * chapter, or show notes. The search is first performed on titles, then chapters, and finally
+ * show notes. The list of resulting episodes also describes where the first match occurred
+ * (title, chapters, or show notes).
+ *
+ * @param context
+ * @param query search query
+ * @param selectedFeed feed to search, 0 to search through all feeds
+ * @return list of episodes containing the query
*/
public static List<SearchResult> performSearch(final Context context,
final String query, final long selectedFeed) {