Hi,
i want to query solr and convert my response object to a json string
using solrj
when i query from my browser(with wt=json) i get the following result:
{
"responseHeader":{
"status":0,
"QTime":0},
"response":{"numFound":0,"start":0,"docs":[]
}}
At the moment i am using google-gson (a th
le
>
> (if I remember correctly)
>
> For config stuff refer to this link :
>
> http://wiki.apache.org/solr/FieldCollapsing
>
>
> HTH :)
>
> - Moazzam
>
>
> I'd give you the
>
>
>
> On Wed, Jun 23, 2010 at 7:23 AM
Hi,
I wanna use solr cloud. i downloaded the code from the trunk, and
successfully executed the examples as shown in wiki. but when i try the same
with multicore. i cannot access:
http://localhost:8983/solr/collection1/admin/zookeeper.jsp
it says page not found.
Following is my configurati
Hi Lance,
Thankyou so much. It worked with pre-emptive authentication
On Thu, Jul 1, 2010 at 2:15 AM, Lance Norskog wrote:
> Other problems with this error have been solved by doing pre-emptive
> authentication.
>
> On Wed, Jun 30, 2010 at 4:26 AM, Rakhi Khatw
methods. correct me if i am wrong.
and how do i get it working?
Regards,
Raakhi
On Wed, Jun 30, 2010 at 2:22 PM, Rakhi Khatwani wrote:
> I was going through the logs,
> Everytime i try doing an update (and ofcourse ending up with unbuffered
> exception) the log outputs the followi
2:27 PM, Rakhi Khatwani wrote:
> PS: I am using solr 1.4
>
> Regards,
> Raakhi
>
> On Wed, Jun 30, 2010 at 12:05 PM, Rakhi Khatwani wrote:
>
>> Hi,
>>I am trying out solr security on my setup from the following links:
>> http://wiki.apache.org/so
PS: I am using solr 1.4
Regards,
Raakhi
On Wed, Jun 30, 2010 at 12:05 PM, Rakhi Khatwani wrote:
> Hi,
>I am trying out solr security on my setup from the following links:
> http://wiki.apache.org/solr/SolrSecurity
>
> http://www.lucidimagination.com/search/document/d
Hi,
I am trying out solr security on my setup from the following links:
http://wiki.apache.org/solr/SolrSecurity
http://www.lucidimagination.com/search/document/d1e338dc452db2e4/how_can_i_protect_the_solr_cores
Following is my configuration:
realms.properties:
admin: admin,server-administr
eems to point
> to the config - you may want to correct.
>
>
> On Wed, Jun 23, 2010 at 3:09 PM, Rakhi Khatwani
> wrote:
>
> > Hi,
> >I checked out modules & lucene from the trunk.
> > Performed a build using the following commands
> > ant clean
&
causing this exception?
Regards,
Raakhi
On Wed, Jun 23, 2010 at 1:35 PM, Rakhi Khatwani wrote:
>
> Oops this is probably i didn't checkout the modules file from the trunk.
> doing that right now :)
>
> Regards
> Raakhi
>
> On Wed, Jun 23, 2010 at 1:12 PM, Rakhi Khatwa
Oops this is probably i didn't checkout the modules file from the trunk.
doing that right now :)
Regards
Raakhi
On Wed, Jun 23, 2010 at 1:12 PM, Rakhi Khatwani wrote:
> Hi,
>Patching did work. but when i build the trunk, i get the following
> exception:
>
> [Sol
r running it?
>
> On 22 June 2010 16:06, Rakhi Khatwani wrote:
> > Hi,
> > I tried checking out the latest code (rev 956715) the patch did not
> > work on it.
> > Infact i even tried hunting for the revision mentioned earlier in this
> > thread (i.e. rev 9556
re any workaround to support this feature??
>- Maybee http://wiki.apache.org/solr/Deduplication prevents from
> adding duplicates in you index, but then you miss the collapse counts
> and other computed values
>
> On 21 June 2010 09:04, Rakhi Khatwani wrote:
> > Hi,
> >
Thanks Peter :)
On Tue, Jun 22, 2010 at 3:08 PM, Peter Karich wrote:
> ups, sorry. I meant Martijn! Not the germanized Martin :-/
>
> Peter.
>
> > Hi,
> > I wanted to apply field collapsing on the title(type string). but
> > want to show only one document (and the count of such documents
Hi,
I wanted to apply field collapsing on the title(type string). but
want to show only one document (and the count of such documents) per title
rather than show all the documents.
Regards
Raakhi
On Tue, Jun 22, 2010 at 12:59 AM, Peter Karich wrote:
> Hi Raakhi,
>
> First, field collap
Hi,
I have an index with the following fields:
id (unique)
title
description
price.
Suppose i want to find unique documents and count of all documents with the
same title, sorted on price.
How do i go about it.
Knowing that field collapsing is not stable with 1.4.
if
, Jun 18, 2010 at 6:14 PM, Martijn v Groningen <
martijn.is.h...@gmail.com> wrote:
> Hi Rakhi,
>
> The patch is not compatible with 1.4. If you want to work with the
> trunk. I'll need to get the src from
> https://svn.apache.org/repos/asf/lucene/dev/trunk/
>
> Martijn
Hi Moazzam,
Where did u get the src code from??
I am downloading it from
https://svn.apache.org/repos/asf/lucene/solr/branches/branch-1.4
and the latest revision in this location is 955469.
so applying the latest patch(dated 17th june 2010) on it still generates
errors.
Any P
't figure
> >>> that out")
> >>>
> >>> - Moazzam
> >>>
> >>> On Wed, Jun 16, 2010 at 8:25 AM, Moazzam Khan
> wrote:
> >>> > Hi Rakhi,
> >>> >
> >>> > You are supposed to get the cod
Hi,
I wanted to try out field collapsing for a requirement. i went through
the wiki and solr-236. but there are lot of patch files. and the comments
below left me confused.
i tried applyin the patch file on 1.4.0 release but ended up with many
compile errors.
i even downloaded the latest code
Hi,
I tried downloading solr 1.4.1 from the site. but it shows an empty
directory. where did u get solr 1.4.1 from?
Regards,
Raakhi
On Tue, Jun 8, 2010 at 10:35 PM, Jean-Sebastien Vachon <
js.vac...@videotron.ca> wrote:
> Hi All,
>
> I've been running some tests using 6 shards each one con
Hi,
Is there any way to create an IndexSchema from a
CommonsHttpSolrServer. (where u don't know the location of schema.xml and
solrconfig.xml or those files are in some other machine.)
I tried looking for solrJ api's for the same. but coudn't find it.
or is there any way to retrieve sch
Thankyou So Much :)
On Thu, Jun 3, 2010 at 6:47 PM, Ahmet Arslan wrote:
> > Hi Ahmet,
> > but i use
> > solrj to commit documents. and there is no commit
> > method which allows you to mention expungeDeletes.
> >
>
> Alternatively you can do it with SolrQuery.
>
> final SolrQuery q
Hi Ahmet,
but i use solrj to commit documents. and there is no commit
method which allows you to mention expungeDeletes.
BTW i am using solr 1.4
Regards,
Raakhi
On Thu, Jun 3, 2010 at 5:03 PM, Ahmet Arslan wrote:
> > Hi,
> >I have a schema with id as
> > one of the field
Hi,
I have a schema with id as one of the fields. i index some documents
(by adding and deleting some documents).
when i perform faceting on all documents(q=*:*) with facet.field=id, i even
get those id's for which the document is deleted
for example: (025_null,026_null are deleted
Hi,
Oh okay. Thanks a ton
On Tue, May 25, 2010 at 11:15 PM, Chris Hostetter
wrote:
>
> :Is there any way to get all the fields (irrespective of
> whether
> : it contains a value or null) in solrDocument.
>
> no. a document only has "Field" instances for the fields which it has
>
> > *
> > Regards
> > Aditya
> > www.findbestopensource.com
> >
> >
> > On Tue, May 25, 2010 at 4:14 PM, Rakhi Khatwani >wrote:
> >
> >> Hi,
> >> Is there any way to get all the fields (irrespective of
> whether
Hi,
Is there any way to get all the fields (irrespective of whether
it contains a value or null) in solrDocument.
or
Is there any way to get all the fields in schema.xml of the url link (
http://localhost:8983/solr/core0/)??
Regards,
Raakhi
Hi,
I was trying out a clustering example. which worked out as mentioned
in the document.
Now, I want to use the clustering feature in my multicore where i have my
core indexes saved.
so i edit the solrconfig.xml in tht file to add clustering information (i
did make sure that the lib declara
ki.apache.org/solr/SimpleFacetParameters#Field_Value_Faceting_Parameters
>
> On Fri, May 14, 2010 at 10:38 AM, Rakhi Khatwani >wrote:
>
> > Hi,
> >whn i use facet queries, whats the default size of the results
> > returned? how do we configure if we want all the results shown?
> >
> > Regards
> > Raakhi
> >
>
Hi,
whn i use facet queries, whats the default size of the results
returned? how do we configure if we want all the results shown?
Regards
Raakhi
Hi,
I was going through solr cloud documentation (
http://wiki.apache.org/solr/SolrCloud). and was trying out a simple setup.
I could execute example A and B successfully.
However whn i try example C, i get the following exception:
2010 12:22:29 PM org.apache.log4j.Category warn
WARNING: Excep
Hi,
Has anyone tried creating customInputFormat which reads from
solrIndex for processing using mapreduce??? is it possible doin tht?? and
how?
Regards,
Raakhi
Hi,
Solr home: 1.3.0/examples/multicore
Type of Queries: Recursive e.g. I search in the index for some name that
returns some rows. For each row there is a field called parentid which is a
unique key for some other row in the index. The next queries search the
index for the parentid . This continue
Hi,
i have indexed some data on solr 1.3.0. Now i wanna upgrade to solr
1.4.0 but on the same data.
so here are the following steps i performed:
1. extract solr 1.4.0
2. copied the conf and data folder of my index from solr
1.3.0/examples/multicore to solr1.4.0/examples/multicore/
3. started
Hi,
I am trying 2 run a solr server using JettySolrRunner, however i
keep gettin the following exception:
Can't find resource 'solrconfig.xml' in classpath or 'solr/conf/',
cwd=/home/ithurs/shellworkspace/SolrPOC
at
org.apache.solr.core.SolrResourceLoader.openResource(SolrResourceLoader.
Hi,
Suppose i have a content field of type text.
an example on content field is as shown below:
"After frustrated waiting period to get my credit card from the ICICI Bank,
today I decided to write them a online petition stating my problem... Below
is the unedited version of letter I sent to IC
Hi,
i am using solrj
i want to store dates into a date field called publish date in solr.
how do we do it using solrj
likewise how do we query from solr using java date? do we always have
to convert it into UTC field and then query it?
How do i query solr for documents publis
Hi,
Is there any article which explains the locks in solr??
there is some info on solrconfig.txt which says that you can set the lock
type to none(NoLockFactory), single(SingleInstanceLockFactory),
NativeFSLockFactory and simple(SimpleFSLockFactory) which locks everytime we
create a new file.
Hi,
Sorry i forgot to mention that comment field is a text field.
Regards,
Raakhi
On Thu, Nov 12, 2009 at 8:05 PM, Grant Ingersoll wrote:
>
> On Nov 12, 2009, at 8:55 AM, Rakhi Khatwani wrote:
>
> > Hi,
> > I am using solr 1.3 and i hv inserted some data in my comme
Hi,
I am using solr 1.3 and i hv inserted some data in my comment
field.
for example:
for document1:
The iPhone 3GS finally adds common cell phone features like multimedia
messaging, video recording, and voice dialing. It runs faster; its promised
battery life is longer; and the multimed
Hi,
i have a complex schema as shown below:
Book
- Title
- Category
- Publication
- Edition
- Publish Date
- Author (multivalued) => Author is a multivalued field containing
the following attributes.
- Name
- Age
- Location
HI,
am inserting the records one by one. 1st i create a solr input
document, add it into solr, perform a commit.
i loop this entire process for a million times.
Regards,
Raakhi
On Wed, Oct 28, 2009 at 1:45 AM, Grant Ingersoll wrote:
>
> On Oct 26, 2009, at 1:14 AM, Rakhi Khatwani
Hi,
i was trying to insert one million records in solr (keeping the id from
0 to 100). things were fine till it inserted (id = 523932). after that
it started inserting it from 1 (i.e updating). i am not able to understand
this behaviour. any pointers??
Regards,
Raakhi
nda weird... ny pointers?
Regards,
Raakhi
On Fri, Oct 9, 2009 at 3:50 PM, Rakhi Khatwani wrote:
> Hi,
> well i have a schema where i store a json string.
> consider a small example schema shown below:
>
> -
>
> -
>
> {"word":"words","baseWo
ption
QUERY: buzz:"baseWord:khat*" => gives no result
QUERY:buzz:"frequency:[2 TO 10]" =>gives no result
QUERY: buzz:"baseWord*khatwani" => gives the result (example above)
QUERY:buzz:"baseWord*khat*" = > gives no results.
ny pointers?
Regards
Raak
Hi Koji,
thanx a ton ... now it worked :)
On Fri, Oct 9, 2009 at 6:02 AM, Koji Sekiguchi wrote:
> Hi Rakhi,
>
> Use multiValued (capital V), not multivalued. :)
>
> Koji
>
>
> Rakhi Khatwani wrote:
>
>> Hi,
>> i have a small sc
Hi,
i have a small schema with some of the fields defined as:
where the field author_name is multivalued.
however in UI (schema browser), following r the details of author_name
field, its nowhere mentioned tht its multivalued.
Field: author_name
Field Type: text
Properties: Indexed, T
re is a book about it.
>
>
> On 10/7/09, Shalin Shekhar Mangar wrote:
> > On Wed, Oct 7, 2009 at 2:51 PM, Rakhi Khatwani
> wrote:
> >
> >> we basically wanna generate PDF reports which contain, tag clouds, bar
> >> charts, pie charts etc.
> >>
&g
we basically wanna generate PDF reports which contain, tag clouds, bar
charts, pie charts etc.
Regards,
Raakhi
On Wed, Oct 7, 2009 at 1:28 PM, Shalin Shekhar Mangar <
shalinman...@gmail.com> wrote:
> On Tue, Oct 6, 2009 at 1:09 PM, Rakhi Khatwani
> wrote:
>
> > Hi,
> &g
Hi,
i have an example in which i want to use a regular expression in my
solr query:
for example: suppose i wanna search on a sample :
raakhi rajnish ninad goureya sheetal
ritesh rajnish ninad goureya sheetal
where my content field is of type text
when i type in
QUERY: content:raa*
RESPONSE
Hi,
i wanted to query solr and send the output some reporting tool. has
anyone done something like that? moreover, which reporting filter is good??
ny suggesstions?
Regards,
Raakhi
lly need
> togive
> us some more details on what you want to *do* with 1,000,000 hits
> before any meaningful response is possible.
>
> Best
> Erick
>
> On Mon, Jul 13, 2009 at 8:47 AM, Rakhi Khatwani
> wrote:
>
> > Hi,
> > If while using Solr, what wo
Hi,
If while using Solr, what would the behaviour be like if we perform the
search and we get more than one million hits
Regards,
Raakhi
Hi,
How do we tag solr indexes and search on those indexes, there is not
much information on wiki. all i could find is this:
http://wiki.apache.org/solr/UserTagDesign
has anyone tried it? (using solr API)
One more question, can we change the schema dynamically at runtime? (while
solr instan
Hi,
I read the following article:
http://www.lucidimagination.com/Community/Hear-from-the-Experts/Articles/Scaling-Lucene-and-Solr
its mentioned that its much easier to set the shards parameter for your
SearchHandler in solrcofig.xml.
i also went through:
http://www.nabble.com/newbie-quest
236e9bd6e91849
> >
> > I guess there was some error during the update
> >
> > On Tue, Jun 30, 2009 at 3:33 PM, Rakhi Khatwani
> wrote:
> >> Hi,
> >> I am integrating solr with hadoop. so i wrote a map reduce method which
> >> writes the in
Hi,
I am integrating solr with hadoop. so i wrote a map reduce method which
writes the indexes in HDFS.
the map methods work fine, and in my reduce method, i call solrServer to
update the indexes, but when i try accessing solrServer, i get the following
exception
java.lang.ClassCastException: j
Hi Michael,
Sorry for the misinterpretation.
in that case, its the same like querying multiple shards. :)
Thanks,
Raakhi
On Thu, Jun 18, 2009 at 4:09 PM, Michael Ludwig wrote:
> Rakhi Khatwani schrieb:
>
>> On Thu, Jun 18, 2009 at 3:51 PM, Michael Ludwig
>>
On Thu, Jun 18, 2009 at 3:51 PM, Michael Ludwig wrote:
> Rakhi Khatwani schrieb:
>
>> [...] how do we do a distributed search across multicores?? is it
>> just like how we query using multiple shards?
>>
>
> I don't know how we're supposed to use it. I
Hi,
1. Is it possible to query from another index folder (say index1) in
solr?
2. Is it possible to query 2 indexes(folders index1 and index2) stored
in the same machine using the same port on a single solr instance?
3. consider a case:
i have indexes in 2 shards, and i
.com> wrote:
>
> Hello,
>
> All of this is covered on the Wiki, search for: distributed search
>
> Otis
> --
> Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
>
>
>
> - Original Message
> > From: Rakhi Khatwani
> >
Hi,
I was looking for ways in which we can use solr in distributed mode.
is there anyways we can use solr indexes across machines or by using Hadoop
Distributed File System?
Its has been mentioned in the wiki that
When an index becomes too large to fit on a single system, or when a single
quer
Hi Mark,
i actually got this error coz i was using an old version of
java. now the problem is solved
Thanks anyways
Raakhi
On Tue, Jun 9, 2009 at 11:17 AM, Rakhi Khatwani wrote:
> Hi Mark,
> yea i would like to open a JIRA issue for it. how do i go about
thConstants.NODESET
>
> So you get back an Object based on the XPathConstant passed. There does not
> appear to be a value that would return an ArrayList.
> Using XPathConstants.NODESET gets you a NodeList according to the XPath
> API.
>
> I'm not sure what could cause this to
Hi,
I was executing a simple example which demonstrates DistributedSearch.
example provided in the following link:
http://wiki.apache.org/solr/DistributedSearch
however, when i startup the server in both port nos: 8983 and 7574, i get
the following exception:
SEVERE: Could not start S
66 matches
Mail list logo