/lucene-3.6.0/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/ |
H A D | CachePropertyUtil.java | 21 public static String getAttributeValueAsString(Context context, String attr) { argument 22 Object o = context.getSessionAttribute(attr, Context.SCOPE_ENTITY); 24 o = context.getResolvedEntityAttribute(attr); 26 if (o == null && context.getRequestParameters() != null) { 27 o = context.getRequestParameters().get(attr); 35 public static Object getAttributeValue(Context context, String attr) { argument 36 Object o = context.getSessionAttribute(attr, Context.SCOPE_ENTITY); 38 o = context.getResolvedEntityAttribute(attr); 40 if (o == null && context.getRequestParameters() != null) { 41 o = context [all...] |
H A D | CachedSqlEntityProcessor.java | 38 protected void initCache(Context context) { argument 39 cacheSupport = new DIHCacheSupport(context, "SortedMapBackedCache");
|
H A D | Evaluator.java | 43 * @param context instance 46 public abstract String evaluate(String expression, Context context); argument
|
H A D | Transformer.java | 45 * @param context The current context 51 public abstract Object transformRow(Map<String, Object> row, Context context); argument
|
H A D | BinContentStreamDataSource.java | 37 private ContextImpl context; field in class:BinContentStreamDataSource 43 public void init(Context context, Properties initProps) { argument 44 this.context = (ContextImpl) context; 49 contentStream = context.getDocBuilder().requestParameters.contentStream;
|
H A D | BinFileDataSource.java | 47 public void init(Context context, Properties initProps) { argument
|
H A D | ClobTransformer.java | 41 public Object transformRow(Map<String, Object> aRow, Context context) { argument 42 for (Map<String, String> map : context.getAllEntityFields()) {
|
H A D | ContentStreamDataSource.java | 38 private ContextImpl context; field in class:ContentStreamDataSource 43 public void init(Context context, Properties initProps) { argument 44 this.context = (ContextImpl) context; 49 contentStream = context.getDocBuilder().requestParameters.contentStream;
|
H A D | DataSource.java | 51 * @param context 54 public abstract void init(Context context, Properties initProps); argument
|
H A D | DateFormatTransformer.java | 50 public Object transformRow(Map<String, Object> aRow, Context context) { argument 52 for (Map<String, String> map : context.getAllEntityFields()) {
|
H A D | EntityProcessor.java | 50 * @param context The current context 52 public abstract void init(Context context); argument
|
H A D | FieldStreamDataSource.java | 56 public void init(Context context, Properties initProps) { argument 57 dataField = context.getEntityAttribute("dataField"); 58 wrapper = (EntityProcessorWrapper) context.getEntityProcessor();
|
H A D | HTMLStripTransformer.java | 41 public Object transformRow(Map<String, Object> row, Context context) { argument 42 List<Map<String, String>> fields = context.getAllEntityFields(); 45 String splitHTML = context.replaceTokens(field.get(STRIP_HTML));
|
H A D | PlainTextEntityProcessor.java | 44 public void init(Context context) { argument 45 super.init(context); 52 DataSource<Reader> ds = context.getDataSource(); 53 String url = context.replaceTokens(context.getEntityAttribute(URL));
|
H A D | ScriptTransformer.java | 51 public Object transformRow(Map<String, Object> row, Context context) { argument 54 initEngine(context); 58 row, context}); 66 + context.getScript() 69 wrapAndThrow(SEVERE,e, "Error invoking script for entity " + context.getEntityAttribute("name")); 75 private void initEngine(Context context) { argument 76 String scriptText = context.getScript(); 77 String scriptLang = context.getScriptLanguage();
|
H A D | TemplateTransformer.java | 56 public Object transformRow(Map<String, Object> row, Context context) { argument 58 VariableResolverImpl resolver = (VariableResolverImpl) context 63 for (Map<String, String> map : context.getAllEntityFields()) {
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/ |
H A D | SolrFilter.java | 30 * weight context info for function queries. 36 /** Implementations should propagate createWeight to sub-ValueSources which can store weight info in the context. 37 * The context object will be passed to getDocIdSet() where this info can be retrieved. */ 38 public abstract void createWeight(Map context, Searcher searcher) throws IOException; argument 40 public abstract DocIdSet getDocIdSet(Map context, IndexReader reader) throws IOException; argument
|
/lucene-3.6.0/lucene/contrib/queries/src/java/org/apache/lucene/search/ |
H A D | BoostingQuery.java | 46 private Query context; // boost when matches too field in class:BoostingQuery 48 public BoostingQuery(Query match, Query context, float boost) { argument 50 this.context = (Query)context.clone(); // clone before boost 53 this.context.setBoost(0.0f); // ignore context-only matches 84 result.add(context, BooleanClause.Occur.SHOULD); 94 result = prime * result + ((context == null) ? 0 : context.hashCode()); 110 if (context [all...] |
/lucene-3.6.0/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/ |
H A D | MockInitialContextFactory.java | 33 private final javax.naming.Context context; field in class:MockInitialContextFactory 37 context = mockControl.createMock(javax.naming.Context.class); 40 EasyMock.expect(context.lookup((String) EasyMock.anyObject())).andAnswer( 56 return context;
|
H A D | TestEntityProcessorBase.java | 45 Context context = getContext(null, null, new MockDataSource(), Context.FULL_DUMP, 51 sep.init(context); 61 public Object transformRow(Map<String, Object> aRow, Context context) { argument 71 public Object transformRow(Map<String, Object> aRow, Context context) { argument
|
H A D | TestPlainTextEntityProcessor.java | 46 public void init(Context context, Properties initProps) { argument
|
H A D | TestURLDataSource.java | 31 private Context context = AbstractDataImportHandlerTestCase.getContext(null, variableResolver, field in class:TestURLDataSource 42 dataSource.init(context, initProps);
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/schema/ |
H A D | StrFieldSource.java | 40 public DocValues getValues(Map context, IndexReader reader) throws IOException { argument
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/function/ |
H A D | ByteFieldSource.java | 51 public DocValues getValues(Map context, IndexReader reader) throws IOException { argument
|
H A D | DoubleFieldSource.java | 52 public DocValues getValues(Map context, IndexReader reader) throws IOException { argument
|