Displaying 6 results from an estimated 6 matches for "subindex".
2006 Dec 02
1
document_id globally incrementing
...cuments, like you would expect.
So far all good.
Here is the problem: when I search through the indexes together (using
database_add_database() on each sub-index), all the document_id:s are
numbered globally, so it seems while writabledatabase_add_document()
reset the document_id counter for each subindex, in the subindexes they
were never reset.
So instead of having 10 sub-indexes with 50 documents in each,
document_id:s ranging from 0-50 in each, I seem to end up with 10
sub-indexes with 50 documents in each, document_id:s ranging from 0-49
in subindex 1, 50-99 in subindex 2, and so on. This woul...
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?
By the way, is there a way to add Latex expressions to graphics? Then I
could use the Latex expre...
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 scenario...
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