I have got a dataimport request handler configured to index data by selecting
data from a DB view
I now need to index additional data sets from other views so that I can support
other search queries
I defined additional definitions within the section
of my data-config.xml
But I only seem t
No my views have already taken care of pulling the related data together
I've indexed my first data set and now want to configure a second (non-related)
data set so that a User can issue a query for data set #1 whilst another user
might be querying for data set #2
Should I be defining multiple
OK - so I've now got my data-config.xml sorted so that I'm pulling in the
expected number of indexed documents for my two data sets
So I've defined two entities (name1 & name2) and they both make use of the same
fields -- I'm not sure if this is a good thing to have done
When I run a query I
Sven
In my data-config.xml I have the following
In my schema.xml I have
And in my solrconfig.xml I have
data-config.xml
dismax
I was just thinking along similar lines
As far as I can tell you can use the parameters start & rows in combination to
control the retrieval of query results
So
http://:/solr/select/?q=
Will retrieve up to results 1..10
http://:/solr/select/?q=&start=11&rows=10
Will retrieve up results 11..20
Egon
If you first run your query with q=&rows=0
Then your you get back an indication of the total number of docs
Now your app can query again to get 1st n rows & manage forward|backward
traversal of results by subsequent queries
Regards
Stefan Maric
-Original Message-
From: ego..
Yes, I tried the q=&rows=-1 - the other day and gave up
But as you say it wouldn't help because you might get
a) timeouts because you have to wait a 'long' time for the large set of results
to be returned
b) exceptions being thrown because you're retrieving too much info to be thrown
around the
If it is your app that is updating data in the DB, then you could have it
update Solr at the same time
Regards
Stefan Maric
-Original Message-
From: bbarani [mailto:bbar...@gmail.com]
Sent: Wednesday, May 26, 2010 10:39 AM
To: solr-user@lucene.apache.org
Subject: Any realtime indexing