You’re not going to get the JVM to even fit in 15MB. I wouldn’t try to run Solr unless there’s at least 200MB memory.
You could try Woosh, a pure Python search library, or Xapian, which is in C++. Haystack makes it easy to integrate either into Django.