Fwd: R bindings for Xapian: API modifications
James Aylett
james-xapian at tartarus.org
Tue May 3 12:19:49 BST 2016
On Tue, May 03, 2016 at 01:18:42AM +0530, Amanda Jayanetti wrote:
> > Also, do R users expect to use numeric indexing into their data, or
> > name indexing? Or would it be better to support both?
>
> Is there a specific way of implementing numeric indexing with Xapian? In R
> numeric indexing can be used to extract content of a data frame (and other
> R data structures). Since xapian_search() will return a data frame, its
> elements can be conveniently extracted using various functions in R.
Sorry, I meant specifically in the arguments to xapian_index where
you're specifying a column in the data frame. My understanding is that
R supports both name indexing and numeric indexing, but it looked like
you were suggesting that (for instance) the ID column in the data
frame would only be specified by numeric index.
J
--
James Aylett, occasional trouble-maker
xapian.org
More information about the Xapian-devel
mailing list