Re: Does solrj return result in XML format? If not then how to make it do that.

2009-05-04 Thread ahmed baseet
n > XML from SolrJ? > >Erik > > > On May 4, 2009, at 8:13 AM, ahmed baseet wrote: > > Can we get the results as received by Solrj in XML format? If yes how to >> do >> that. I think there must be some way to make solrj returns results in XML >> format

Re: Update an existing Solr Index

2009-05-04 Thread ahmed baseet
As I know when you resend another index request with some old ID, old field but new content, the old one gets overwritten by the new one. @solr-users, Views??? --Ahmed On Mon, May 4, 2009 at 5:26 PM, appleman1982 wrote: > > Hi All, > I have a requirement wherein i want to update an existing ind

Does solrj return result in XML format? If not then how to make it do that.

2009-05-04 Thread ahmed baseet
Can we get the results as received by Solrj in XML format? If yes how to do that. I think there must be some way to make solrj returns results in XML format. I need some pointers in this direction. As I know solrs returns the result in solrdocument format that we've to iterate to extract the fields

Re: org.apache.*.*.... class not found exception in Internet Explorer

2009-05-03 Thread ahmed baseet
refox download\apache-solr-1.3.0\apache-solr-1.3.0\dist\solrj-lib\commons-codec-1.3.jar;D:\firefox download\apache-solr-1.3.0\apache-solr-1.3.0\dist\solrj-lib\commons-logging-1.0.4.jar Thanks, Ahmed. On Mon, May 4, 2009 at 12:10 PM, ahmed baseet wrote: > Hi, > I'm trying to query sol

org.apache.*.*.... class not found exception in Internet Explorer

2009-05-03 Thread ahmed baseet
Hi, I'm trying to query solr indexer thru a web page and trying to display the result. I've the following class to query solr [I'm using the query(string) method], import org.apache.solr.common.SolrDocumentList; import org.apache.solr.common.SolrDocument; import java.util.Map; import java.util.Ite

How to iterate the solrdocumentlist result

2009-05-03 Thread ahmed baseet
Hi All, I'm able to get the whole result bundle by using the following method, QueryResponse qr = server.query(query); SolrDocumentList sdl = qr.getResults(); but I'm not able to iterate over the results. I converted this to string and displayed that and that is a full res

Re: Problem adding unicoded docs to Solr through SolrJ

2009-04-29 Thread ahmed baseet
ction for posting to Solr and it works prefectly. But is there any intelligent way of doing all this, like straight from default encoded string to utf-8 encoded string, without going via byte array. Thank you very much. --Ahmed. On Wed, Apr 29, 2009 at 6:45 PM, Michael Ludwig wrote: &g

Problem adding unicoded docs to Solr through SolrJ

2009-04-29 Thread ahmed baseet
Hi All, I'm trying to automate the process of posting xml s to Solr using Solrj. Essentially I'm extracting the text from a given Url, then creating a solrDoc and posting the same using the following function, public void postToSolrUsingSolrj(String rawText, String pageId) { String url = "

Re: Addition of new field to Solr schema.xml not getting reflected properly

2009-04-29 Thread ahmed baseet
n Wed, Apr 29, 2009 at 4:13 PM, Erik Hatcher wrote: > Did you reindex your documents after making changes and restarting? The > types of changes you're making require reindexing. > >Erik > > > On Apr 29, 2009, at 2:13 AM, ahmed baseet wrote: > > Hi All, >

Addition of new field to Solr schema.xml not getting reflected properly

2009-04-28 Thread ahmed baseet
Hi All, I'm trying to add a new field to Solr, so I stopped the tomcat[I'm working on Windows] using the "Configure Tomcat" menu of Tomcat, then added the following field After restarting Tomcat, I couldn't see the changes, so I did the restart couple of times, and then the schema showed me the ch

Re: How to post in-memory[not residing on local disks] Xml files to Solr server for indexing?

2009-04-28 Thread ahmed baseet
Thank you very much. Now its working fine, fixed those minor classpath issues. Thanks, Ahmed. 2009/4/28 Noble Paul നോബിള്‍ नोब्ळ् > the Solr distro contains all the jar files. you can take either the > latest release (1.3) or a nightly > > On Tue, Apr 28, 2009 at 11:34 AM,

Re: How to post in-memory[not residing on local disks] Xml files to Solr server for indexing?

2009-04-27 Thread ahmed baseet
n, Apr 27, 2009 at 6:59 PM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > On Mon, Apr 27, 2009 at 6:27 PM, ahmed baseet >wrote: > > > Can anyone help me selecting the proper pom.xml file out of the bunch of > > *-pom.xml.templates available. > > > &g

Re: How to post in-memory[not residing on local disks] Xml files to Solr server for indexing?

2009-04-27 Thread ahmed baseet
t 4:53 PM, ahmed baseet >wrote: > > > > > To be precise it gives me the following error, > > .cannot find symbol: > > symbol : class CommonsHttpSolrServer > > > > I rechecked to make sure that "commons-httpclient-3.1.jar" is in the &g

Re: How to post in-memory[not residing on local disks] Xml files to Solr server for indexing?

2009-04-27 Thread ahmed baseet
solr-solrj-pom.xml etc] and I'm not able to figure out which one to use. Any help would be appreciated. Thanks, Ahmed. On Mon, Apr 27, 2009 at 4:53 PM, ahmed baseet wrote: > Shalin, thanks for your quick response. > > Actually I'm trying to pull plaintext from html pages and trying

Re: How to post in-memory[not residing on local disks] Xml files to Solr server for indexing?

2009-04-27 Thread ahmed baseet
commons-logging-1.0.4.jar Thank you very much. Ahmed. On Mon, Apr 27, 2009 at 3:55 PM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > On Mon, Apr 27, 2009 at 3:30 PM, ahmed baseet >wrote: > > > Hi All, > > I'm trying to post some files to Solr server. I&

How to post in-memory[not residing on local disks] Xml files to Solr server for indexing?

2009-04-27 Thread ahmed baseet
Hi All, I'm trying to post some files to Solr server. I've done this using the post.jar files for posting xml files residing on my local disk[I tried posting all those xml files from example directory]. Now I'm trying to generate xml files on the fly, with required text to be indexed included there

Re: How to indexing non-english html text in unicode with Solr?

2009-04-24 Thread ahmed baseet
l wrote: > See the Solr Cell contrib: > http://wiki.apache.org/solr/ExtractingRequestHandler. Note, it's 1.4-dev > only. If you want it for 1.3, you'll have to use Tika on the client side. > > Solr does support Unicode indexing. > > > On Apr 24, 2009, at 2:22 AM,

How to indexing non-english html text in unicode with Solr?

2009-04-23 Thread ahmed baseet
Hi All, I'm trying to index some regional/non-eng html pages with Solr. I thought of indexing the corresponding unicode text for that page as Solr supports Unicode indexing, right? But I'm not able to extract Xml from the html page, because for posting to Solr we require Xml. Can anyone tell me any