search for: subindexes

Displaying 6 results from an estimated 6 matches for "subindexes".

2006 Dec 02
1
document_id globally incrementing
...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 would not be a problem...
2010 Nov 03
2
avoiding too many loops - reshaping data
Hello! I have a data frame like this one: mydf<-data.frame(city=c("a","a","a","a","a","a","a","a","b","b","b","b","b","b","b","b"),
2013 Mar 14
2
Modifying a data frame based on a vector that contains column numbers
Hello! # I have a data frame: mydf<-data.frame(c1=rep(NA,5),c2=rep(NA,5),c3=rep(NA,5)) # I have an index whose length is always the same as nrow(mydf): myindex<-c(1,2,3,2,1) # I need c1 to have 1s in rows 1 and 5 (based on the information in myindex) # I need c2 to have 1s in rows 2 and 4 (also based on myindex) # I need c3 to have 1 in row 3 # In other words, I am trying to achieve this
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...
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