Java Doc for SolrParams.java in  » Search-Engine » apache-solr-1.2.0 » org » apache » solr » request » Java Source Code / Java DocumentationJava Source Code and Java Documentation

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.request 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.solr.request.SolrParams

All known Subclasses:   org.apache.solr.request.RequiredSolrParams,  org.apache.solr.request.MultiMapSolrParams,  org.apache.solr.request.MapSolrParams,  org.apache.solr.request.DefaultSolrParams,
SolrParams
abstract public class SolrParams (Code)
SolrParams hold request parameters.
author:
   yonik
version:
   $Id$

Inner Class :public enum EchoParamStyle

Field Summary
final public static  StringDEBUG_QUERY
    
final public static  StringDF
    
final public static  StringEXPLAIN_OTHER
    
final public static  StringFACET
    
final public static  StringFACET_ENUM_CACHE_MINDF
     When faceting by enumerating the terms in a field, only use the filterCache for terms with a df >= to this parameter.
final public static  StringFACET_FIELD
    
final public static  StringFACET_LIMIT
     Numeric option indicating the maximum number of facet field counts be included in the response for each field - in descending order of count.
final public static  StringFACET_MINCOUNT
     Numeric option indicating the minimum number of hits before a facet should be included in the response.
final public static  StringFACET_MISSING
     Boolean option indicating whether the response should include a facet field count for all records which have no value for the facet field.
final public static  StringFACET_OFFSET
     The offset into the list of facets.
final public static  StringFACET_PREFIX
     Only return constraints of a facet field with the given prefix.
final public static  StringFACET_QUERY
    
final public static  StringFACET_SORT
     Boolean option: true causes facets to be sorted by the count, false results in natural index order.
final public static  StringFACET_ZEROS
     Boolean option indicating whether facet field counts of "0" should be included in the response.
final public static  StringFL
    
final public static  StringFQ
    
final public static  StringHEADER_ECHO_HANDLER
    
final public static  StringHEADER_ECHO_PARAMS
    
final public static  StringQ
    
final public static  StringQT
    
final public static  StringROWS
    
final public static  StringSORT
    
final public static  StringSTART
    
final public static  StringSTREAM_BODY
    
final public static  StringSTREAM_CONTENTTYPE
     Explicity set the content type for the input stream If multiple streams are specified, the explicit contentType will be used for all of them.
final public static  StringSTREAM_FILE
    
final public static  StringSTREAM_URL
    
final public static  StringVERSION
    
final public static  StringWT
    
final public static  StringXSL
    


Method Summary
protected  Stringfpname(String field, String param)
    
abstract public  Stringget(String param)
    
public  Stringget(String param, String def)
    
public  BooleangetBool(String param)
    
public  booleangetBool(String param, boolean def)
    
public  BooleangetFieldBool(String field, String param)
     Returns the Boolean value of the field param, or the value for param, or null if neither is set.
public  booleangetFieldBool(String field, String param, boolean def)
     Returns the boolean value of the field param, or the value for param, or def if neither is set.
public  FloatgetFieldFloat(String field, String param)
     Returns the float value of the field param.
public  floatgetFieldFloat(String field, String param, float def)
     Returns the float value of the field param, or the value for param, or def if neither is set.
public  IntegergetFieldInt(String field, String param)
     Returns the int value of the field param, or the value for param, or def if neither is set.
public  intgetFieldInt(String field, String param, int def)
     Returns the int value of the field param, or the value for param, or def if neither is set.
public  StringgetFieldParam(String field, String param)
     returns the String value of the field parameter, "f.field.param", or the value for "param" if that is not set.
public  StringgetFieldParam(String field, String param, String def)
     returns the String value of the field parameter, "f.field.param", or the value for "param" if that is not set.
public  String[]getFieldParams(String field, String param)
     returns the String values of the field parameter, "f.field.param", or the values for "param" if that is not set.
public  FloatgetFloat(String param)
    
public  floatgetFloat(String param, float def)
    
public  IntegergetInt(String param)
    
public  intgetInt(String param, int def)
    
abstract public  Iterator<String>getParameterNamesIterator()
    
abstract public  String[]getParams(String param)
    
protected  booleanparseBool(String s)
     how to transform a String into a boolean...
public  RequiredSolrParamsrequired()
    
public static  Map<String, String>toMap(NamedList params)
    
public static  Map<String, String[]>toMultiMap(NamedList params)
    
public  NamedList<Object>toNamedList()
    
public static  SolrParamstoSolrParams(NamedList params)
     Create SolrParams from NamedList.

Field Detail
DEBUG_QUERY
final public static String DEBUG_QUERY(Code)
whether to include debug data



DF
final public static String DF(Code)
default query field



EXPLAIN_OTHER
final public static String EXPLAIN_OTHER(Code)
another query to explain against



FACET
final public static String FACET(Code)
Should facet counts be calculated?



FACET_ENUM_CACHE_MINDF
final public static String FACET_ENUM_CACHE_MINDF(Code)
When faceting by enumerating the terms in a field, only use the filterCache for terms with a df >= to this parameter.



FACET_FIELD
final public static String FACET_FIELD(Code)
Any field whose terms the user wants to enumerate over for Facet Contraint Counts (multi-value)



FACET_LIMIT
final public static String FACET_LIMIT(Code)
Numeric option indicating the maximum number of facet field counts be included in the response for each field - in descending order of count. Can be overriden on a per field basis.



FACET_MINCOUNT
final public static String FACET_MINCOUNT(Code)
Numeric option indicating the minimum number of hits before a facet should be included in the response. Can be overriden on a per field basis.



FACET_MISSING
final public static String FACET_MISSING(Code)
Boolean option indicating whether the response should include a facet field count for all records which have no value for the facet field. Can be overriden on a per field basis.



FACET_OFFSET
final public static String FACET_OFFSET(Code)
The offset into the list of facets. Can be overriden on a per field basis.



FACET_PREFIX
final public static String FACET_PREFIX(Code)
Only return constraints of a facet field with the given prefix.



FACET_QUERY
final public static String FACET_QUERY(Code)
Any lucene formated queries the user would like to use for Facet Contraint Counts (multi-value)



FACET_SORT
final public static String FACET_SORT(Code)
Boolean option: true causes facets to be sorted by the count, false results in natural index order.



FACET_ZEROS
final public static String FACET_ZEROS(Code)
Boolean option indicating whether facet field counts of "0" should be included in the response. Can be overriden on a per field basis.



FL
final public static String FL(Code)
query and init param for field list



FQ
final public static String FQ(Code)
Lucene query string(s) for filtering the results without affecting scoring



HEADER_ECHO_HANDLER
final public static String HEADER_ECHO_HANDLER(Code)
'true' if the header should include the handler name



HEADER_ECHO_PARAMS
final public static String HEADER_ECHO_PARAMS(Code)
include the parameters in the header *



Q
final public static String Q(Code)
query string



QT
final public static String QT(Code)
the query type - which query handler should handle the request



ROWS
final public static String ROWS(Code)
number of documents to return starting at "start"



SORT
final public static String SORT(Code)
sort order



START
final public static String START(Code)
zero based offset of matching documents to retrieve



STREAM_BODY
final public static String STREAM_BODY(Code)
If the content stream should come directly from a field



STREAM_CONTENTTYPE
final public static String STREAM_CONTENTTYPE(Code)
Explicity set the content type for the input stream If multiple streams are specified, the explicit contentType will be used for all of them.



STREAM_FILE
final public static String STREAM_FILE(Code)
If the content stream should come from a File (using FileReader)



STREAM_URL
final public static String STREAM_URL(Code)
If the content stream should come from a URL (using URLConnection)



VERSION
final public static String VERSION(Code)
stylesheet to apply to XML results



WT
final public static String WT(Code)
the response writer type - the format of the response



XSL
final public static String XSL(Code)
stylesheet to apply to XML results





Method Detail
fpname
protected String fpname(String field, String param)(Code)



get
abstract public String get(String param)(Code)
returns the String value of a param, or null if not set



get
public String get(String param, String def)(Code)
returns the value of the param, or def if not set



getBool
public Boolean getBool(String param)(Code)
Returns the Boolean value of the param, or null if not set



getBool
public boolean getBool(String param, boolean def)(Code)
Returns the boolean value of the param, or def if not set



getFieldBool
public Boolean getFieldBool(String field, String param)(Code)
Returns the Boolean value of the field param, or the value for param, or null if neither is set.



getFieldBool
public boolean getFieldBool(String field, String param, boolean def)(Code)
Returns the boolean value of the field param, or the value for param, or def if neither is set.



getFieldFloat
public Float getFieldFloat(String field, String param)(Code)
Returns the float value of the field param.



getFieldFloat
public float getFieldFloat(String field, String param, float def)(Code)
Returns the float value of the field param, or the value for param, or def if neither is set.



getFieldInt
public Integer getFieldInt(String field, String param)(Code)
Returns the int value of the field param, or the value for param, or def if neither is set.



getFieldInt
public int getFieldInt(String field, String param, int def)(Code)
Returns the int value of the field param, or the value for param, or def if neither is set.



getFieldParam
public String getFieldParam(String field, String param)(Code)
returns the String value of the field parameter, "f.field.param", or the value for "param" if that is not set.



getFieldParam
public String getFieldParam(String field, String param, String def)(Code)
returns the String value of the field parameter, "f.field.param", or the value for "param" if that is not set. If that is not set, def



getFieldParams
public String[] getFieldParams(String field, String param)(Code)
returns the String values of the field parameter, "f.field.param", or the values for "param" if that is not set.



getFloat
public Float getFloat(String param)(Code)
Returns the Float value of the param, or null if not set



getFloat
public float getFloat(String param, float def)(Code)
Returns the float value of the param, or def if not set



getInt
public Integer getInt(String param)(Code)
Returns the Integer value of the param, or null if not set



getInt
public int getInt(String param, int def)(Code)
Returns the int value of the param, or def if not set



getParameterNamesIterator
abstract public Iterator<String> getParameterNamesIterator()(Code)
returns an Iterator over the parameter names



getParams
abstract public String[] getParams(String param)(Code)
returns an array of the String values of a param, or null if none



parseBool
protected boolean parseBool(String s)(Code)
how to transform a String into a boolean... more flexible than Boolean.parseBoolean() to enable easier integration with html forms.



required
public RequiredSolrParams required()(Code)
returns a RequiredSolrParams wrapping this



toMap
public static Map<String, String> toMap(NamedList params)(Code)
Create a Map from a NamedList given no keys are repeated



toMultiMap
public static Map<String, String[]> toMultiMap(NamedList params)(Code)
Create a Map from a NamedList



toNamedList
public NamedList<Object> toNamedList()(Code)
Convert this to a NamedList



toSolrParams
public static SolrParams toSolrParams(NamedList params)(Code)
Create SolrParams from NamedList.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.