RE: Query regarding Solr ClassCastException on client side for Java

2011-07-31 Thread Tejas Bavishi
Hi This happened because the there are 2 jars - apache-solr-solrj-3.3.0.jar and apache-solr-solrj-1.3.0.jar in the Apache Solr distribution. After I removed the apache-solr-solrj-1.3.0.jar file, the code is working fine. Thank you for your pointers!! Best Regards, Tejas Bavishi -Original

Re: Solr Incremental Indexing

2011-07-31 Thread Pranav Prakash
There could be multiple ways of getting this done, and the exact one depends a lot on factors like - what system are you using? How realtime the change has to be reflected back into the system? How is the indexing/replication done? Usually, in cases where the tolerance is about 6hrs (i.e. your DB

Re: Query on multi valued field

2011-07-31 Thread Alexei Martchenko
have you tried multi:1 and multi:2 and multi:3 ? 2011/7/29 rajini maski > Hi All, > > I have a specific requirement in the multi-valued field type.The > requirement is as follows > > There is a multivalued field in each document which can have mutliple > elements or single element. > > For

Re: Solr 3.2.0 is not writing log

2011-07-31 Thread tmahesh
In etc/jetty.xml, at line 204, you should remove the comment (delete line 204 and line 218) 204 -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-3-2-0-is-not-writing-log-tp3208945p3214774.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: An idea for an intersection type of filter query

2011-07-31 Thread Chris Hostetter
: fq AND fq AND fq AND (fqu OR fqu OR fqu) : : It would be awesome to have a syntax that creates arbitrarily complex and : nested AND/OR combinations, but that would be a MAJOR undertaking. The logic : I've mentioned above seems to be the most useful you could get with just : having the one addi

Re: Solr can not index "F**K"!

2011-07-31 Thread randohi
Yes, that is where the problem comes! Many many thanks to everyone! -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-can-not-index-F-K-tp3214246p3214666.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: changing the root directory where solrCloud stores info inside zookeeper File system

2011-07-31 Thread Mark Miller
Sorry for the delay on this response Yatir - I missed this email. I need to be more diligent ;) You can chroot any path by tacking it on the ZooKeeper address. So if the address is 127.0.0.1:3002, then you can use the /solr sub-tree by using the address 127.0.0.1:3002/nestedisokay/solr - Mark

Re: Solr can not index "F**K"!

2011-07-31 Thread Chris Hostetter
: http://sec.gov/Archives/edgar/data/1474227/00014742271032/d424b3.htm My money is on in solrconfig.xml... http://www.lucidimagination.com/search/?q=maxFieldLength#/p:solr -Hoss

Re: Solr can not index "F**K"!

2011-07-31 Thread Mark Mandel
I hate to be the PC guy, but seriously, did this have to be said? On Mon, Aug 1, 2011 at 6:58 AM, randohi wrote: > One of our clients (a hot girl!) -- E: mark.man...@gmail.com T: http://www.twitter.com/neurotic W: www.compoundtheory.com cf.Objective(ANZ) + Flex - Nov 17, 18 - Melbourne Aus

Re: Solr can not index "F**K"!

2011-07-31 Thread randohi
The content of protwords.txt: dontstems zwhacky -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-can-not-index-F-K-tp3214246p3214525.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr can not index "F**K"!

2011-07-31 Thread Michael Sokolov
On 7/31/2011 7:29 PM, randohi wrote: org.apache.solr.analysis.KeywordMarkerFilterFactory args:{protected: protwords.txt luceneMatchVersion: LUCENE_33 } Could something be going on here? What's in your "protwords.txt" ? -Mike

imported to solr

2011-07-31 Thread Kiks
The indexed contents of 100 sites were imported to solr from nutch using: bin/nutch solrindex http://127.0.0.1:8983/solr/ crawl/crawldb crawl/linkdb crawl/segments/* now, a solr admin search for 'photography' includes these results: 0.12570743 1.0440307 94d97f2806240d18d67cafe9c34

Re: Solr can not index "F**K"!

2011-07-31 Thread randohi
It is not in stopwords list. The file was indexed with the following setting: Field Type: text_en Properties: Indexed, Tokenized, Stored, Multivalued Schema: Indexed, Tokenized, Stored, Multivalued Index: Indexed, Tokenized, Stored Position Increment Gap: 100 Index Analyzer: org.apache.solr.a

Re: positionIncrementGap in schema.xml

2011-07-31 Thread randohi
It is not in stopwords list. The file was indexed with the following setting: Field Type: text_en Properties: Indexed, Tokenized, Stored, Multivalued Schema: Indexed, Tokenized, Stored, Multivalued Index: Indexed, Tokenized, Stored Position Increment Gap: 100 Index Analyzer: org.apache.solr.a

Re: Solr can not index "F**K"!

2011-07-31 Thread François Schiettecatte
Indeed, the analysis will show if the term is a stop word, the term gets removed by the stop filter, turning on verbose output shows that. François On Jul 31, 2011, at 6:27 PM, Shashi Kant wrote: > Check your Stop words list > On Jul 31, 2011 6:25 PM, "François Schiettecatte" > wrote: >> That

Re: Solr can not index "F**K"!

2011-07-31 Thread Shashi Kant
Check your Stop words list On Jul 31, 2011 6:25 PM, "François Schiettecatte" wrote: > That seems a little far fetched, have you checked your analysis? > > François > > On Jul 31, 2011, at 4:58 PM, randohi wrote: > >> One of our clients (a hot girl!) brought this to our attention: >> In this docume

Re: Solr can not index "F**K"!

2011-07-31 Thread François Schiettecatte
That seems a little far fetched, have you checked your analysis? François On Jul 31, 2011, at 4:58 PM, randohi wrote: > One of our clients (a hot girl!) brought this to our attention: > In this document there are many f* words: > > http://sec.gov/Archives/edgar/data/1474227/00014742271032/

Re: Query regarding Solr ClassCastException on client side for Java

2011-07-31 Thread Chris Hostetter
: I am using apache solr 3.3 on windows 7 with JDK 1.6. First question: what version of SolrJ are you using? is it also 3.3? : At the line, QueryResponse queryResponse = solrServer.query(query1); : Class Cast Exception is thrown and no data is fetched. I suspect this : has something to do wit

Re: Solr request filter and indexing process

2011-07-31 Thread Chris Hostetter
: page is loaded. Then I found a problem: some request will return : statusCode:0 and QTime:0, The solr has accepted the request, but It does not : return a result document. If I send each request one by one manually ,It : will return the result. But If I send the request frequently in a very :

Solr can not index "F**K"!

2011-07-31 Thread randohi
One of our clients (a hot girl!) brought this to our attention: In this document there are many f* words: http://sec.gov/Archives/edgar/data/1474227/00014742271032/d424b3.htm and we have indexed it with latest version of Solr (ver 3.3). But, we if we search F**K, it does not return the docum

Re: Solr request filter and indexing process

2011-07-31 Thread Michael Sokolov
The first thing that comes to mind is to check whether you are committing after every insert. A number of things may happen when you commit, including merges, rebuilding the spelling dictionary (is this still true in 3.3? maybe not). It's better to commit after a batch of inserts. -Mike O

Re: Solr request filter and indexing process

2011-07-31 Thread 于浩
Thanks for reply ,the Solr server uses dataimporthandler, it can import 60 thousands records(about 4G index files) properly in about 30 minutes. So I think the memory is enough. Do you know some performance factors about SolrPhpClient ? 2011/7/31 O. Klein > I don't have much experience with S

Re: Solr request filter and indexing process

2011-07-31 Thread O. Klein
I don't have much experience with Solr on windows, but have you given Solr enough java heap size etc? Im assuming you are running Solr stand alone. Maybe try and run it in Tomcat? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-request-filter-and-indexing-process-tp32129

Re: Solr request filter and indexing process

2011-07-31 Thread 于浩
thank you for reply my message. But the developer machine is a new Dell PC with windows7 and 4G memory. If I add 10 document through SolrPHPClient's addDocuments function with XML format, It will takens about more than five seconds. This speed must be unacceptable to our user. I have already disabl

Re: Solr request filter and indexing process

2011-07-31 Thread O. Klein
Might wanna check your resources, like memory and diskspace. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-request-filter-and-indexing-process-tp3212907p3213512.html Sent from the Solr - User mailing list archive at Nabble.com.

Query regarding Solr ClassCastException on client side for Java

2011-07-31 Thread Tejas Bavishi
Hi I am using apache solr 3.3 on windows 7 with JDK 1.6. I am facing very strange problem. My code makes a query to the solr server in Java, the code is pasted below: public QueryResponse getSearchResponse(String query, String url, String...facets){ try{ SolrQuery que