org.apache.solr.util

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Search Engine » apache solr 1.2.0 » org.apache.solr.util 
org.apache.solr.util
Java Source File NameTypeComment
AbstractSolrTestCase.javaClass An Abstract base class that makes writing Solr JUnit tests "easier"

Test classes that subclass this need only specify the path to the schema.xml file (:TODO: the solrconfig.xml as well) and write some testMethods.

BCDUtils.javaClass
BitSetIterator.javaClass An iterator to iterate over set bits in an OpenBitSet.
BitSetPerf.javaClass Performance tester for OpenBitSet. Use -Xbatch for more predictable results, and run tests such that the duration is at least 10 seconds for better accuracy.
BitUtil.javaClass A variety of high efficiencly bit twiddling routines.
BoundedTreeSet.javaClass A TreeSet that ensures it never grows beyond a max size.
CommonParams.javaClass A collection on common params, both for Plugin initialization and for Requests.
ContentStream.javaInterface
ContentStreamBase.javaClass
ContentStreamTest.javaClass
DateMathParser.javaClass A Simple Utility class for parsing "math" like strings relating to Dates.

The basic syntax support addition, subtraction and rounding at various levels of granularity (or "units").

DateMathParserTest.javaClass
DisMaxParams.javaClass A collection of params used in DisMaxRequestHandler, both for Plugin initialization and for Requests.
DOMUtil.javaClass
HighlightingUtils.javaClass Collection of Utility and Factory methods for Highlighting.
IteratorChain.javaClass Chain several Iterators, so that this iterates over all of them in sequence.
IteratorChainTest.javaClass
NamedList.javaClass A simple container class for modeling an ordered list of name/value pairs.

Unlike Maps:

  • Names may be repeated
  • Order of elements is maintained
  • Elements may be accessed by numeric index
  • Names and Values can both be null

A NamedList provides fast access by element number, but not by name.

When a NamedList is serialized, order is considered more important than access by key, so ResponseWriters that output to a format such as JSON will normally choose a data structure that allows order to be easily preserved in various clients (i.e.

NumberUtils.javaClass
OpenBitSet.javaClass An "open" BitSet implementation that allows direct access to the array of words storing the bits.

Unlike java.util.bitet, the fact that bits are packed into an array of longs is part of the interface.

RefCounted.javaClass Keep track of a reference count on a resource and close it when the count hits zero. By itself, this class could have some race conditions since there is no synchronization between the refcount check and the close.
SimpleOrderedMap.javaClass SimpleOrderedMap is a NamedList where access by key is more important than maintaining order when it comes to representing the held data in other forms, as ResponseWriters normally do. It's normally not a good idea to repeat keys or use null keys, but this is not enforced.
SimplePostTool.javaClass A simple utility class for posting raw updates to a Solr server, has a main method so it can be run on the command line.
SolrParamTest.javaClass
SolrPluginUtils.javaClass

Utilities that may be of use to RequestHandlers.

Many of these functions have code that was stolen/mutated from StandardRequestHandler.

:TODO: refactor StandardRequestHandler to use these utilities

:TODO: Many "standard" functionality methods are not cognisant of default parameter settings.

SolrPluginUtilsTest.javaClass Tests that the functions in SolrPluginUtils work as advertised.
StrUtils.javaClass
TestHarness.javaClass This class provides a simple harness that may be useful when writing testcases.
TestOpenBitSet.javaClass
TestUtils.javaClass
TestXMLEscaping.javaClass
UpdateParams.javaInterface
XML.javaClass
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.