4. • Full-featured text search
• High performance
• index size: 20-30% the size of text data.
• small RAM requirements(~1MB)
• Powerful, Accurate and Efficient Search
Algorithms
• 100% in Java(^^)
21. Near Real-time indexing
• Documents are available for search almost
immediately after being indexed...
• 也要有commit 才算數(....)
https://cwiki.apache.org/confluence/display/solr/Near+Real+Time+Searching
22. Searching
• Query
“id: {id} AND name:{Name} OR title:{text}”
• Highlighting
• Projection
• Sorting(asc, desc)
• Output format: JSON, CSV, XML
• Others: spellcheck, Wildcard Query, +-*/
24. Import Data From DB
• 在solrconfig.xml 修改
http://wiki.apache.org/solr/DataImportHandler
25. The diff between
Solr and RDB
• Solr is for indexed text or lots of
unstructured docs.
• Solr is optimized for searching, not for
storage and retrieval of individual records.
http://stackoverflow.com/questions/5814050/solr-or-database