Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

Documentation Progress Tracker

 

PageReviewed by AlexAndrew CommentsAlex CommentsStatus
File extractor
  •  
 

(As per db extractor comment), call out specifically how the url is constructed in the different cases:

  • office type, the path of the file (ie file.url + path-relative-to-url)
  • json/xml/csv: if xmlsourcename and xmlprimarykey are specified:
    • xmlsourcename + object,get(xmlprimarykey)
  • if not:
    • path-of-file (as above) + <hash of object> + ".csv"/.json/.xml

There are some general fields (renameAfterParse, path*, mode) that need to be documented (see the TODO)

Is there a reason you have different sections for CSV and SV? (CSV is just the default case of SV, ie the seperator is the default comma)

The *sv documentation is a bit unclear i think - it's much simpler (at least in 90% of cases) ... in most cases the configuration is just either setting the columns or making it in auto config mode, so i'd focus around that ... then ignoring other header fields, and setting the separator/quote/escape (plus the url setting which is general for xml/json/sv and is described above). I'm sure there are lots of better csv configuration documents out there than my original one (http://logstash.net/docs/1.4.0/filters/csv) so feel free to find one of those to start with!

I have similar comments about the JSON/XML ... the main thing is just selecting the root object so i'd start with an explanation of that (it's very similar between xml/json so probably copy/paste) and then the other fields

REVIEW
Feed extractor
  •  
  REVIEW
Web extractor
  •  
  REVIEW
Database extractor
  •  
Updated now and ready for review

There's another missing field that has changed between legacy and pipeline - the database object now has a "url" field (that was previously in the source top level) ... if no value is specified for 'primaryKeyValue' (hmm this also seems to be missing from the documentation it is in the code here: https://bitbucket.org/ikanow/ikanow_infinit.e_community/src/d4d92a4131ffc9706417b70077aec548178bcf58/core/infinit.e.data_model/src/com/ikanow/infinit/e/data_model/store/config/source/SourceDatabaseConfigPojo.java?at=master) then the document URL is database.url + record.get(primaryKey) (if no 'primaryKey' is specified then a random string is used), otherwise it's primaryKeyValue + record.get(primaryKey). It would be good for the file and db extractors to call out how the URL is constructed actually.

(Re authentication: Made minor update to correct error in legacy documentation, and to reflect v0.3 functionality change)

REVIEW
Follow Web links
  •  
  REVIEW
Automated text extraction
  •  
Alex will you convert to JSON for the TODO? REVIEW
Manual text transformation
  •  
  REVIEW
Document metadata
  •  
Alex will you convert to JSON for the TODO? REVIEW
Content metadata
  •  
requires new examples in source gallery for regex and xpath (see IN PROGRESS) REVIEW
Manual entities
  •  
  REVIEW
Manual association of entities
  •  
  REVIEW
Document storage settings
  •  
Additional examples for onUpdateScript, and metadataFieldStorage would be beneficial. REVIEW
Feature extraction
  •  
  REVIEW
Aliasing
  •  
Not supported ON HOLD
Harvest control settings
  •  

Require more examples for the following:

  • duplicateExistingUrls
  • maxDocs_global
  • throttleDocs_perCycle
  • maxDocs_perCycle
  • distributionFactor
 REVIEW
Search index settings More examples in the source for searchIndex parameters would be beneficial. REVIEW
Lookup tables I tried to edit an existing example from the old source, as I could not find any new examples.  Please verify the changes I made to the example source and scripts. REVIEW
Javascript globals   REVIEW

 

 

  • No labels