RE: Error while indexing using SmartChineseAnalyzer

2009-09-01 Thread Jana, Kumar Raja
SmartChineseAnalyzer On Tue, Sep 1, 2009 at 4:37 PM, Jana, Kumar Raja wrote: > Hi, > > I tried using the patch provided for Solr-1336 JIRA issue for > integrating Lucene's SmartChineseAnalyzer with Solr and tried testing it > out but I faced the AbstractMethodError during

Error while indexing using SmartChineseAnalyzer

2009-09-01 Thread Jana, Kumar Raja
Hi, I tried using the patch provided for Solr-1336 JIRA issue for integrating Lucene's SmartChineseAnalyzer with Solr and tried testing it out but I faced the AbstractMethodError during indexing as well as Searching (stack trace below). There seems to be something wrong during the tokenization of

RE: How to search for "C++"?

2009-03-26 Thread Jana, Kumar Raja
Hi Leonardo, 1. U can change the fieldtype to "string" in which case no tokenizers will act on ur data and the content will be stored as is. 2. If u are using Solr 1.4 (latest) then there is a provision to mention protected words for WordDelimiterFilterFactory which will take care of your issue.

RE: Field Boosting with wildcard

2009-02-24 Thread Jana, Kumar Raja
Hi Amit, Wildcard searches do not support highlighting and rank boosting from Solr-1.3 onwards. -Kumar -Original Message- From: dabboo [mailto:ag...@sapient.com] Sent: Tuesday, February 24, 2009 4:06 PM To: solr-user@lucene.apache.org Subject: Field Boosting with wildcard Hi, I am t

RE: Wildcard search with q query

2009-02-24 Thread Jana, Kumar Raja
Hi Amit, Leading wildcard searches are not allowing in Solr Out-of-the-box. There are other techniques to overcome this handicap. Search for "Leading Wildcards" in the user mailing list archives will return the necessary mail threads which might be pretty useful to you. -Kumar -Original Mess

RE: Query regarding setTimeAllowed(Integer) and setRows(Integer)

2009-02-17 Thread Jana, Kumar Raja
: Query regarding setTimeAllowed(Integer) and setRows(Integer) Jana, Kumar Raja wrote: > 2. If I set SolrQuery.setTimeAllowed(2000) Will this kill query > processing after 2 secs? (I know this question sounds silly but I just > want a confirmation from the experts J That is the idea, but

RE: Query regarding setTimeAllowed(Integer) and setRows(Integer)

2009-02-17 Thread Jana, Kumar Raja
) Requesting 5000 rows will use a lot of server time, because it has to fetch the information for 5000 results when it makes the response. It is much more efficient to request only the results you will need, usually 10 at a time. wunder On 2/17/09 3:30 AM, "Jana, Kumar Raja" wr

Query regarding setTimeAllowed(Integer) and setRows(Integer)

2009-02-17 Thread Jana, Kumar Raja
Hi, I am trying to avoid queries which take a lot of server time. For this I plan to use setRows(Integer) and setTimeAllowed(Integer) methods while creating the SolrQuery. I would like to know the following: 1. I set SolrQuery.setRows(5000) Will the processing of the query stop once 5

RE: Combination of EmbeddedSolrServer and CommonHttpSolrServer

2009-02-09 Thread Jana, Kumar Raja
Hi, I have a few queries regarding this: 1. Does this mean that committing on the indexing (Embedded) server does not reflect the document changes when we fire a search through another (HTTP) server? 2. What happens to the commit fired on the indexing server? Can I remove that and just commit on

RE: wildcard search issue

2009-02-05 Thread Jana, Kumar Raja
Hi Mahendra, Wildcard searches are case-sensitive in Solr. I faced the same issue and handled converting the query string to lower case in my code itself. The filters and analyzers are not applicable for wildcard queries. FYI You will also face problem when you use keywords/Operators in your q

RE: Customizing Solr to handle Leading Wildcard queries

2009-01-27 Thread Jana, Kumar Raja
s with begin/end delim characters (e.g. kumar -> ^ k u m a r $, *kumar -> "k u m a r $") Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: "Jana, Kumar Raja" > To: solr-user@lucene.apache.org > Sent: Thursd

RE: Customizing Solr to handle Leading Wildcard queries

2009-01-15 Thread Jana, Kumar Raja
: Thursday, January 15, 2009 7:59 PM To: solr-user@lucene.apache.org Subject: Re: Customizing Solr to handle Leading Wildcard queries On Jan 15, 2009, at 8:23 AM, Jana, Kumar Raja wrote: > Not being able to perform Leading Wildcard queries is a major > handicap. > I want to be able to perform

Customizing Solr to handle Leading Wildcard queries

2009-01-15 Thread Jana, Kumar Raja
Hi, Not being able to perform Leading Wildcard queries is a major handicap. I want to be able to perform searches like *.pdf to fetch all pdf documents from Solr. I have found quite a few threads on this topic and one of the solutions was that this feature can be enabled by adding: parser.

RE: How to do Query on multiple parameters

2009-01-14 Thread Jana, Kumar Raja
Isn't this a single query on 2 parameters/fields? Try q=DaVinci AND Price:[10 TO 40] -Original Message- From: prerna07 [mailto:pkhandelw...@sapient.com] Sent: Wednesday, January 14, 2009 8:07 PM To: solr-user@lucene.apache.org Subject: How to do Query on multiple parameters Our requir

RE: Special characters

2009-01-06 Thread Jana, Kumar Raja
Filtering of special characters depends on the filters you use for the fields in your schema.xml. If you are using WordDelimiterFilterFactory in your analyzer then the special characters get removed during the processing of your field. But the WordDelimiterFilterFactory does a lot of other things

RE: Scoped searches in XML documents

2008-12-22 Thread Jana, Kumar Raja
e.org Subject: Re: Scoped searches in XML documents If your XML documents are of a fixed schema, you may want to look at DataImportHandler with XPathEntityProcessor http://wiki.apache.org/solr/DataImportHandler On Mon, Dec 22, 2008 at 5:49 PM, Jana, Kumar Raja wrote: > Hi, > > > &g

Scoped searches in XML documents

2008-12-22 Thread Jana, Kumar Raja
Hi, I want to perform scoped searches in XML documents using Solr. I am using Solr-Cell to index my document files. I've noticed that when I index an xml file to Solr (via Solr-Cell) the field tags get stripped off and only the values are sent to Solr. i.e. Say I have an XML document which con

Date Stats support using Solr

2008-12-19 Thread Jana, Kumar Raja
Hi, I was searching for features in Solr which would give me the maximum and minimum values for various numeric and name fields. I found the Stats Component (Solr-680) and thanks a ton for that !!! J Is there a similar component for date fields too? I played a bit with the stats component b

RE: How can i indexing MS-Outlook files?

2008-12-14 Thread Jana, Kumar Raja
Apache Tika is integrated with Solr in Solr 1.4. Check out ExtractingRequestHandler aka Solr-Cell project. http://wiki.apache.org/solr/ExtractingRequestHandler -Original Message- From: RaghavPrabhu [mailto:raghavprabh...@gmail.com] Sent: Monday, December 15, 2008 10:46 AM To: solr-use

RE: Returning snippets with results

2008-12-12 Thread Jana, Kumar Raja
on on large Document highlighting over on the Lucene mailing list. I'd suggest looking through the java-u...@lucene.apache.org archives (via MarkMail or Nabble or one of those) for "large document highlighting" -Grant On Dec 6, 2008, at 4:26 AM, Jana, Kumar Raja wrote: > Hi, &g

RE: Taxonomy Support on Solr

2008-12-12 Thread Jana, Kumar Raja
> Otis > -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > > > - Original Message > > From: "Jana, Kumar Raja" > > To: solr-user@lucene.apache.org > > Sent: Thursday, December 11, 2008 5:03:02 AM > > Subject: Taxonomy Suppo

Taxonomy Support on Solr

2008-12-11 Thread Jana, Kumar Raja
Hi, Any plans of supporting user-defined classifications on Solr? Is there any component which returns all the children of a node (till the leaf node) when I search for any node? May be this would help: Say I have a few SolrDocuments classified as: A

RE: Adding External Metadata to pdf document

2008-12-08 Thread Jana, Kumar Raja
g External Metadata to pdf document On Dec 8, 2008, at 2:26 AM, Jana, Kumar Raja wrote: > > Hi Grant, > > Thanks for the help. It has solved my problem. > Cool. In case you didn't see Solr Cell is now committed. > Is there any example Solrj code to send a documen

RE: Adding External Metadata to pdf document

2008-12-07 Thread Jana, Kumar Raja
log_ID field. See http://wiki.apache.org/solr/ExtractingRequestHandler#head-88b9f55989c987 8638e88be5d335b5126550f87c On Dec 6, 2008, at 4:05 AM, Jana, Kumar Raja wrote: > Hi, > > I need to add some external metadata along with the documents I send > to ExtractingRequestHandler. Can someone

Returning snippets with results

2008-12-06 Thread Jana, Kumar Raja
Hi, I want to get snippets along with my results. For this, I use the Highlighting Feature to return the context of fragment size 10. Some of the documents are very large (over 30 MB) in size and the Highlighting feature works only for stored fields. So this makes it necessary for me to store

Adding External Metadata to pdf document

2008-12-06 Thread Jana, Kumar Raja
Hi, I need to add some external metadata along with the documents I send to ExtractingRequestHandler. Can someone please tell me how do i achieve this? E.g. Say I need to index the file abc.pdf. I want to add some more additional information to the metadata such as Category = Alphabets, Catalog