Java Doc for IndexConfiguration.java in  » Content-Management-System » hippo » org » apache » slide » index » lucene » 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 » Content Management System » hippo » org.apache.slide.index.lucene 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.slide.index.lucene.IndexConfiguration

IndexConfiguration
public class IndexConfiguration (Code)
Holds all configuration infos about indexing.

Inner Class :class AnalyzerImpl extends Analyzer

Field Summary
final public static  StringTOKENIZED_PREFIX
    
protected  AnalyzerImplanalyzer
    
protected  booleancaseSensitive
    
protected  SetdateProperties
    
protected  booleanindexAll
    
protected  booleanindexAsynchron
    
protected  StringindexPath
    
protected  SetindexedProperties
    
protected  SetintProperties
    
protected  SetknownResourceTypes
    
protected  StringnamespaceName
    
protected  intoptimizeThreshold
    
protected  booleanstoreAll
    
protected  SetstringProperties
    
protected  SetsupportsIsdefinedProperties
    
protected  MaptextProperties
     maps field names (properies) to analyzers.


Method Summary
public  voidaddDateProperty(String namespace, String name)
    
public  voidaddIntProperty(String namespace, String name)
    
public  voidaddKnownResourceType(String namespace, String name)
    
public  voidaddStringProperty(String namespace, String name)
    
public  voidaddSupportsIsdefinedProperty(String namespace, String name)
    
public  voidaddTextProperty(String namespace, String name, Analyzer analyzer)
    
public  StringdateToIndexString(Date date)
    
public static  StringgenerateFieldName(String namespaceUri, String name)
     Generates a field name for "normal fields".
public  StringgenerateKey(String uri, NodeRevisionNumber number)
    
public  AnalyzergetAnalyzer()
    
public  AnalyzergetAnalyzerForField(String fieldName)
    
public  AnalyzergetAnalyzerForProperty(String namespace, String name)
    
public static  DategetDateValue(Object value)
     Helper that converts property values to dates.
public  StringgetIndexPath()
    
public  StringgetNamespaceName()
    
public  StringintToIndexString(long value)
    
public  booleanisCaseSensitive()
    
public  booleanisComparableProperty(String namespace, String name)
    
public  booleanisDateProperty(String namespace, String name)
    
public  booleanisIndexAsynchron()
    
public  booleanisIndexedProperty(String namespace, String name)
    
public  booleanisIntProperty(String namespace, String name)
    
public  booleanisStringProperty(String namespace, String name)
    
public  booleanisTextProperty(String namespace, String name)
    
 IteratorknownResourceTypes()
    
public  Stringpredecessor(String field, String value)
    
 voidreadPropertyConfiguration(Configuration conf)
    
 voidreadResourceTypeConfiguration(Configuration conf)
    
public  voidsetCaseSensitive(boolean caseSensitive)
    
public  voidsetContentAnalyzer(Analyzer analyzer)
    
public  voidsetDefaultPropertyAnalyzer(Analyzer analyzer)
    
public  voidsetIndexAll(boolean indexAll)
    
public  voidsetIndexAsynchron(boolean indexAsynchron)
    
public  voidsetIndexPath(String indexPath)
    
public  voidsetNamespaceName(String name)
    
public  voidsetStoreAll(boolean storeAll)
    
public  Stringsuccessor(String field, String value)
    
public  booleansupportsIsDefined(String namespace, String name)
    

Field Detail
TOKENIZED_PREFIX
final public static String TOKENIZED_PREFIX(Code)



analyzer
protected AnalyzerImpl analyzer(Code)



caseSensitive
protected boolean caseSensitive(Code)



dateProperties
protected Set dateProperties(Code)



indexAll
protected boolean indexAll(Code)



indexAsynchron
protected boolean indexAsynchron(Code)



indexPath
protected String indexPath(Code)



indexedProperties
protected Set indexedProperties(Code)



intProperties
protected Set intProperties(Code)



knownResourceTypes
protected Set knownResourceTypes(Code)



namespaceName
protected String namespaceName(Code)



optimizeThreshold
protected int optimizeThreshold(Code)



storeAll
protected boolean storeAll(Code)



stringProperties
protected Set stringProperties(Code)



supportsIsdefinedProperties
protected Set supportsIsdefinedProperties(Code)



textProperties
protected Map textProperties(Code)
maps field names (properies) to analyzers.





Method Detail
addDateProperty
public void addDateProperty(String namespace, String name)(Code)



addIntProperty
public void addIntProperty(String namespace, String name)(Code)



addKnownResourceType
public void addKnownResourceType(String namespace, String name)(Code)



addStringProperty
public void addStringProperty(String namespace, String name)(Code)



addSupportsIsdefinedProperty
public void addSupportsIsdefinedProperty(String namespace, String name)(Code)



addTextProperty
public void addTextProperty(String namespace, String name, Analyzer analyzer)(Code)



dateToIndexString
public String dateToIndexString(Date date)(Code)



generateFieldName
public static String generateFieldName(String namespaceUri, String name)(Code)
Generates a field name for "normal fields".



generateKey
public String generateKey(String uri, NodeRevisionNumber number)(Code)



getAnalyzer
public Analyzer getAnalyzer()(Code)



getAnalyzerForField
public Analyzer getAnalyzerForField(String fieldName)(Code)



getAnalyzerForProperty
public Analyzer getAnalyzerForProperty(String namespace, String name)(Code)



getDateValue
public static Date getDateValue(Object value)(Code)
Helper that converts property values to dates.
Parameters:
  value - a date of null if value can't convert



getIndexPath
public String getIndexPath()(Code)



getNamespaceName
public String getNamespaceName()(Code)



intToIndexString
public String intToIndexString(long value)(Code)



isCaseSensitive
public boolean isCaseSensitive()(Code)



isComparableProperty
public boolean isComparableProperty(String namespace, String name)(Code)
Tests whether ops eq, lt, ge,etc
Parameters:
  namespace -
Parameters:
  name -



isDateProperty
public boolean isDateProperty(String namespace, String name)(Code)



isIndexAsynchron
public boolean isIndexAsynchron()(Code)



isIndexedProperty
public boolean isIndexedProperty(String namespace, String name)(Code)



isIntProperty
public boolean isIntProperty(String namespace, String name)(Code)



isStringProperty
public boolean isStringProperty(String namespace, String name)(Code)



isTextProperty
public boolean isTextProperty(String namespace, String name)(Code)



knownResourceTypes
Iterator knownResourceTypes()(Code)



predecessor
public String predecessor(String field, String value)(Code)



readPropertyConfiguration
void readPropertyConfiguration(Configuration conf) throws IndexException(Code)



readResourceTypeConfiguration
void readResourceTypeConfiguration(Configuration conf)(Code)



setCaseSensitive
public void setCaseSensitive(boolean caseSensitive)(Code)



setContentAnalyzer
public void setContentAnalyzer(Analyzer analyzer)(Code)



setDefaultPropertyAnalyzer
public void setDefaultPropertyAnalyzer(Analyzer analyzer)(Code)



setIndexAll
public void setIndexAll(boolean indexAll)(Code)



setIndexAsynchron
public void setIndexAsynchron(boolean indexAsynchron)(Code)



setIndexPath
public void setIndexPath(String indexPath)(Code)



setNamespaceName
public void setNamespaceName(String name)(Code)



setStoreAll
public void setStoreAll(boolean storeAll)(Code)



successor
public String successor(String field, String value)(Code)



supportsIsDefined
public boolean supportsIsDefined(String namespace, String name)(Code)



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.