search for: indexfield

Displaying 3 results from an estimated 3 matches for "indexfield".

Did you mean: indexfields
2016 May 03
2
Fwd: R bindings for Xapian: API modifications
...e ID column in the data > >frame would only be specified by numeric index. > The parameter idField is only used to allow the user to specify a column whose row values will be used as unique identifiers. If it's required to index the idField then it should be separately included in the indexFields list as shown below. indexFields <-list( list(0,"S","id_NUMBER"), list(2,"S","Title"), list(8,"XD","Description")) Note: the structure of arguments to indexFields parameter was slightly changed and follows the format shown above. Be...
2016 Apr 30
2
R bindings for Xapian: API modifications
...planning to determine the output data structure and format of xapian_search() function. Afterwards I will focus back on xapian_index() function and review the format of valueSlots parameter. An outline of 'simple indexing' functionality: xapian_index(dbpath=??, datapath=??, idField=c(0), indexFields=NULL, stemmer=??,valueSlots=NULL, ?) dbpath: Path to a xapian database datapath: Path to a data source idField: Column number of a column in the data frame whose row value will be used as a unique identifier indexFields: A list of character vectors each containing a field name and a prefix stemme...
2016 May 02
2
Fwd: R bindings for Xapian: API modifications
> > >Is there a reason you're using a stored CSV rather than doing it from > >a data frame directly? That would avoid having to read from a foreign > >format, write to CSV and then read again in order to index it. No. The input data structure to xapian_index() will indeed be a data frame. Even a stored CSV can be conveniently converted to a data frame. There are few