<div dir="ltr"><div><div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">>Is there a reason you're using a stored CSV rather than doing it from<br>
>a data frame directly? That would avoid having to read from a foreign<br>
>format, write to CSV and then read again in order to index it.</blockquote><div><br></div><div>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 further modifications to xapian_index() function that are not indicated in the example and I will provide a complete draft of the function after reviewing those further.<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">>Also, do R users expect to use numeric indexing into their data, or<br>
>name indexing? Or would it be better to support both?</blockquote><div><br></div><div>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.<br><br></div><div>Best regards,<br></div><div>Amanda<br></div><br><br></div></div></div></div>