Displaying 6 results from an estimated 6 matches for "subindexing".
2006 Dec 02
1
document_id globally incrementing
Hi All
I have made my xapian indexer automatically create new indexes once it
reaches X documents in each, and for each document that I add to each
sub-index, I record its document_id and its index_id (relating to what
index the document ended up in).
writabledatabase_add_document() returns document_id:s beginning from 0
for each new index when you add new documents, like you would expect.
So
2010 Nov 03
2
avoiding too many loops - reshaping data
...t I need to get is a data frame like the one below - cities as
rows, brands as columns, and the sums of the "value" within each
city/brand combination in the body of the data frame:
city x y z
a 3 23 336
b 7 42 231
I have written a code that involves multiple loops and subindexing -
but it's taking too long.
I am sure there must be a more efficient way of doing it.
Thanks a lot for your hints!
--
Dimitri Liakhovitski
Ninah Consulting
www.ninah.com
2013 Mar 14
2
Modifying a data frame based on a vector that contains column numbers
...c(NA,1,NA,1,NA),c3=c(NA,NA,1,NA,NA))
I know how to do it with a loop that runs through rows of mydf.
However, in real life I have a huge data frame with tons of rows, dozens of
columns (instead of 3 in this example) - I am afraid it'll take forever.
Any hint on how to do it faster, maybe using subindexing somehow?
Thank you very much!
--
Dimitri Liakhovitski
[[alternative HTML version deleted]]
2006 Dec 12
3
expression()
Hi,
I'm trying to use expression() to write a text to a graphic in the margin.
Using:
mtext(expression(beta),side=1,line=2)
writes a perfect beta greek character, but I need to add a subindex
"max", and I'm trying:
mtext(paste(expression(beta),"max"),side=1,line=2)
simply writes "beta max" in the plot.
Please, Could you tell me what I'm doing wrong?
2011 Jul 13
1
Feature request: Determining source index of xapian-compact DatabaseError exception
Greets,
When merging lots of subindexes in batches like so:
xapian-compact -m idx1 idx2... dstidx
Errors such as:
xapian-compact: DatabaseError: Error reading block 0: got end of file
present a problem since it does not provide the offending path name (of the
broken index) for easy identification/removal in automated/batch scenarios
(the way DatabaseOpeningError:.... does, eg). The only way
2006 Jul 15
4
updating multiple records with form
I have an app that has two models -- products and details. I''m building
a form that allows a user to create a new product and specify a
description, etc.
The form needs to allow for creation of multiple items in the details
model/table. for example, I have a block of form items that collect
info for the men''s version of the product -- inventory count for each
size, etc. And