Hi Nithya
I'm new to this myself and I'm sure there are other ways to POST to solr but
here's one way. This uses the Apache commons HttpClient - downloaded from
http://jakarta.apache.org/commons/httpclient/
You need to change the first parameter to the StringRequestEntity
constructor to use a stri
i) In lucene we add document by using java. But here they given in xml
format and posting them using POST.jar. How can i add document in java?
In java ,there have a class named org.apache.solr.util.SimplePostTool ,you can
look at the source code of it,and you'll know how it worked for posting xm
If you are used to working with Lucene and want to interface Solr directly
from within a java application, you can take a look at DirectSolrConnection
from EmbeddedSolr, check the wiki page
http://wiki.apache.org/solr/EmbeddedSolr for more info.
cheers,
Tristan
On 7/6/07, Kijiji Xu, Ping <[EMAI
I use solr with tomcat 5.5.23. I have successfully used Darren Erik
Vengroff's java client for adding and deleting found on this page.
http://wiki.apache.org/solr/SolJava
I also successfully use EmbeddedSolr for direct API usage (found at the end of
this link)
Karen
On Friday 06 July 2007
Hi all,
Is there a way through solr to find out about "most commonly accessed" solr
documents ? So for example, my client may wish to list the top 10 most
popular videos, based on previous accesses to them in the solr server db.
If there are any solr features to help with this can someone poi
On 7/5/07, Norskog, Lance <[EMAIL PROTECTED]> wrote:
I understand that I cannot query on the 'null' value for a field, and so
I should make null fields -1 instead.
About dynamic fields: is there a way to query for the existence of a
dynamic field?
You could use an open-ended range query:
For m
Solr doesn't have a record of what documents were accessed.
The document cache shows which documents were in the parts
of search result list which were served, but probably not
a count of those inclusions.
Luckily, this information is trivial to get from HTTP
server access logs. Look for documents
On 7/6/07, Karen Loughran <[EMAIL PROTECTED]> wrote:
I use solr with tomcat 5.5.23. I have successfully used Darren Erik
Vengroff's java client for adding and deleting found on this page.
http://wiki.apache.org/solr/SolJava
I also successfully use EmbeddedSolr for direct API usage (found at th
Maybe create a snippet of code in the page of the video information that if
the page was accessed from search results it will increment a counter within
a database (sqlite, mysql, etc). You can then update solr every so often
(daily, hourly, twice a day, etc) and include the hits. This would the
: I need a new feature in solr : to allow the configuration of the
: IndexSearcher class in the schema configuration to override the lucene
: IndexSearcher .
I haven't had a chance to look at the patch you submited yet, but can you
elaborate on your use case? There's another open issue relating
Hello, is there any documentation on how to use the new spell check module?
Thanks
Andrew
: I also created an issue in the solr jira:
: https://issues.apache.org/jira/browse/SOLR-288 but I didn t find the way
: to upload the patch.
look in the left nav of the Jira issue screen after creating the issue,
there is an "Attach file to this issue" link.
-Hoss
Hi,
I deployed solr web app with a different name then found commit does not
work. When I looked at the code, I saw variable webapp_name is populated
but not used. It always uses solr as the web app name. optimize has the
same problem. Is this a known bug?
Wrong:
rs=`curl http://${solr_hostname}
: but not used. It always uses solr as the web app name. optimize has the
: same problem. Is this a known bug?
which version of Solr are you using? 1.2 added a new webapps_name option.
-Hoss
It defaults to solr, are you specifying your webapp name when you invoke
the program?
usage: $prog [-h hostname] [-p port] [-u username] [-U url] [-v] [-V]
...
-w specify name of Solr webapp (defaults to solr)
Xuesong Luo wrote:
I'm using 1.2, yes, it adds a webapps_name
: I'm using 1.2, yes, it adds a webapps_name option, but it's never used
: in the commit/optimizer.
uh are you sure you are using 1.2?
http://svn.apache.org/viewvc/lucene/solr/tags/release-1.2.0/src/scripts/commit?view=markup
http://svn.apache.org/viewvc/lucene/solr/tags/release-1.2.0/src/sc
I configured the webapp name in scripts.conf, just found our bin
directory has not been updated to 1.2. That's the problem.
Thanks
Xuesong
-Original Message-
From: Tobin Cataldo [mailto:[EMAIL PROTECTED]
Sent: Friday, July 06, 2007 10:44 AM
To: solr-user@lucene.apache.org
Subject: Re: we
Hmmm, it's different than the one I got, we may just installed the
search.war from 1.2 but forgot to update the bin.
Thanks
Xuesong
-Original Message-
From: Chris Hostetter [mailto:[EMAIL PROTECTED]
Sent: Friday, July 06, 2007 10:44 AM
To: solr-user@lucene.apache.org
Subject: RE: webapp
I'm using 1.2, yes, it adds a webapps_name option, but it's never used
in the commit/optimizer.
-Original Message-
From: Chris Hostetter [mailto:[EMAIL PROTECTED]
Sent: Friday, July 06, 2007 10:32 AM
To: solr-user@lucene.apache.org
Subject: Re: webapp_name in commit and optimize
: but n
Documents in Lucene are read-only. You need to track accesses
separately. You can have a changeble score value in your documents, but
you'll have to re-index them for each change.
We use Google Analytics as a first cut. If you look at
http:/www.divvio.com (pimping my employer) and look at the page
Peter,
I was playing with Nutch for quite some time before Solr, so
I know Nutch better than Solr. Nutch has a plugin mechanism
so that you can add a parser for a document type. It comes with
parser plugins for most popular doc types (with varying degrees of
international text support).
My que
Uh, lots of confusion in this thread:
Peter: Nutch does have plugins for parsing PDFs, Word documents, and so on.
Kuro: Solr does not have the crawling component. Use Nutch to crawl. Nutch
also has a built-in webapp for searching. Of course, you can get Solr to
search the content that Nutch
I couldn't find any documention on the spell check handler either but found
enough information from the solrconfig.xml file, simply search for
"SpellCheckerRequestHandler" (online version here):
http://svn.apache.org/repos/asf/lucene/solr/trunk/example/solr/conf/solrconfig.xml
You can view the or
23 matches
Mail list logo