Permalink
Browse files

Turn off indexing for fields that we don't query by.

  • Loading branch information...
mihaip committed Dec 29, 2011
1 parent 5397f23 commit dec3233e544584424d74bfcc755837ebff21fe32
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/info/persistent/pushbot/data/Subscription.java
@@ -17,6 +17,7 @@
import javax.jdo.PersistenceManager;
import javax.jdo.Query;
import javax.jdo.annotations.Extension;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
@@ -42,12 +43,15 @@
private Link feedUrl;
@Persistent(defaultFetchGroup = "true")
@Extension(vendorName = "datanucleus", key = "gae.unindexed", value="true")
private Link hubUrl;
@Persistent
@Extension(vendorName = "datanucleus", key = "gae.unindexed", value="true")
private String title;
@Persistent(defaultFetchGroup = "true")
@Extension(vendorName = "datanucleus", key = "gae.unindexed", value="true")
private Set<String> seenEntryIds;
public Subscription(JID user, URL feedUrl, URL hubUrl, String title) {

0 comments on commit dec3233

Please sign in to comment.