Solr 3.3 Sorting is not working for long fields

2011-11-11 Thread rajini maski
Hi, I have upgraded my Solr from 1.4.1 to 3.3.Now I tried to sort on a long field and documents are not getting sorted based on that. Sort is working when we do sorting on facet ex:facet=on &facet.sort=studyid But when do simple sort on documents , sort=studyid, sort doesn't happen

Re: Solr 3.3 Sorting is not working for long fields

2011-11-14 Thread rajini maski
ield is > studyid? > > You really have to provide more details, input, output, etc > to get reasonable help. It might help to review: > > http://wiki.apache.org/solr/UsingMailingLists > > Best > Erick > > On Fri, Nov 11, 2011 at 5:52 AM, rajini maski > wrote: > &g

Re: Solr 3.3 Sorting is not working for long fields

2011-11-14 Thread rajini maski
1 - 97 The same case works with Solr1.4.1 but it is not working solr 3.3 Regards, Rajani On Mon, Nov 14, 2011 at 2:23 PM, Michael Kuhlmann wrote: > Am 14.11.2011 09:33, schrieb rajini maski: > >> query : >> http://localhost:8091/Group/**select?/&indent=on&

Re: Solr 3.3 Sorting is not working for long fields

2011-11-14 Thread rajini maski
I On Mon, Nov 14, 2011 at 7:23 PM, Ahmet Arslan wrote: > > When I do a basic sort on *long *field. the sort doesn't > > happen. > > > > > > Query is : > > > > -< > http://blr-ws-195:8091/Solr3.3/select/?q=2%3A104+AND+526%3A27747&version=2.2&start=0&rows=10&indent=on&sort=469%20asc&fl=469# > > >

Re: Solr 3.3 Sorting is not working for long fields

2011-11-14 Thread rajini maski
Yes . On 11/14/11, Ahmet Arslan wrote: >> I tried this one.   > name="tlong" class="solr.TrieLongField" >> precisionStep="8" omitNorms="true" >> positionIncrementGap="0"/> >> >> It didn't work :( >> >> Sort didn't happen > > > Did you restart tomcat and perform re-index? >

Re: Solr 3.3 Sorting is not working for long fields

2011-11-15 Thread rajini maski
All, On Tue, Nov 15, 2011 at 1:21 PM, kashif.khan wrote: > Obviously there is some problem somewhere in the schema or any other files. > the default SOLR demo which is by using the start.jar works well with the > long field. It is just that we do not know where is the problem causing > this >

Re: Solr 3.3 Sorting is not working for long fields

2011-11-15 Thread rajini maski
15, 2011 at 2:53 PM, rajini maski wrote: > All, > > > > On Tue, Nov 15, 2011 at 1:21 PM, kashif.khan wrote: > >> Obviously there is some problem somewhere in the schema or any other >> files. >> the default SOLR demo which is by using the start.j

Re: Solr 3.3 Sorting is not working for long fields

2011-11-15 Thread rajini maski
3:28 PM, Michael Kuhlmann wrote: > Hi, > > Am 15.11.2011 10:25, schrieb rajini maski: > > > omitNorms="true" positionIncrementGap="0"/> >> > > [...] > > > > omitNorms="true" positionIncrementGap="0"/>

Re: Tree Faceting in Solr 1.4

2010-07-22 Thread rajini maski
I am also looking out for same feature in Solr and very keen to know whether it supports this feature of tree faceting... Or we are forced to index in tree faceting formatlike 1/2/3/4 1/2/3 1/2 1 In-case of multilevel faceting it will give only 2 level tree facet is what i found.. If i give

Re: logic required for newbie

2010-07-28 Thread rajini maski
you can index each of these field separately... field1-> Id field2-> name field3->user_id field4->country. field7-> landmark While quering you can specify "q=Landmark9" This will return you results.. And if you want only particular fields in output.. use the "fl" parameter in query...

Re: logic required for newbie

2010-07-28 Thread rajini maski
fields but here I dont know the > the field name because it depends on text match. > > is there any other solution.. I am ready to change in schema or in logic. I > am using solrj. > > please help me I stuck here.. > > with regards > > > On Wed, Jul 28, 2010 at 7:22 PM,

Re: SolrJ Response + JSON

2010-07-28 Thread rajini maski
Yeah right... This query will do it http://localhost:8090/solr/select/?q=*:*&version=2.2&start=0&rows=10&indent=on&wt=json This will do your work... This is more liike using xsl transformation supported by solr..:) Regards, Rajani Maski On Wed, Jul 28, 2010 at 6:24 PM, Mark Allan wrote:

Re: logic required for newbie

2010-07-29 Thread rajini maski
> Right now I am getting proper result but getting full column set. My > requirement is only match landmark should return.. > So I want to filter the column which carry text (match to query). > > hoping someone will help me to clear my concept.. > > regards > > On Thu, Jul

Re: Problems running on tomcat

2010-08-02 Thread rajini maski
I have observed this error while there is mistake in indexed fields.. i.e; The field defined while indexing but undefined in schema... then this error is thrown.. You can check for that missing filed in your Catalina logs.. There it will be written as Unknown filed.. Regards, Rajani Maski On Tu

Solr-HOW TO HANDLE THE LOCK FILE CREATION WHILE INDEXING AND OPERATION TIMED OUT WEB EXCEPTION ERROR

2010-08-16 Thread rajini maski
Hello Everyone, Please help me knowing the logic behind this lock file generation while indexing data in solr! The trouble I am facing is as follows: The data that I indexed is nearly in millions. At the initial level of indexing I find no errors unless it cross up-to 10lacs documen

Re: OutOfMemoryErrors

2010-08-16 Thread rajini maski
Hello There, Even I am facing same errors... @Grijesh, Where exactly I need to make these changes of increasing JVM heap space..I mean where i need to specify them... ? I had made changes in tomcat config Java(JVM) initial memory pool and maximum memory pool to 256-1024MB..Yet the error persists i

Re: stream.url problem

2010-08-17 Thread rajini maski
If the connector port number in your localhost is same as in other system then this error is probable..You can change port number in server.xml of your system or other system and make them different...If it is different only then one other probablity is remote access enabled or not... Rajani Maski

Re: OutOfMemoryErrors

2010-08-17 Thread rajini maski
I am getting it while indexing data to solr not while querying... Though I have enough memory space upto 40GB and I my indexing data is just 5-6 GB yet that particular error is seldom observed... (SEVERE ERROR : JAVA HEAP SPACE , OUT OF MEMORY ERROR ) I could see one lock file generated in the data

Re: OutOfMemoryErrors

2010-08-17 Thread rajini maski
ments are you indexing? > > The memory you have is irrelevant if you only allocate a small > portion of it for the running process... > > Best > Erick > > On Tue, Aug 17, 2010 at 7:35 AM, rajini maski > wrote: > > > I am getting it while indexing data to solr

Re: Solr-HOW TO HANDLE THE LOCK FILE CREATION WHILE INDEXING AND OPERATION TIMED OUT WEB EXCEPTION ERROR

2010-08-17 Thread rajini maski
be useful. > > Best > Erick > > On Tue, Aug 17, 2010 at 12:10 AM, rajini maski >wrote: > > > Hello Everyone, > > > > Please help me knowing the logic behind this lock file generation > > while indexing data in solr! > > > > The

Re: OutOfMemoryErrors

2010-08-17 Thread rajini maski
mail programs OK > > Also, what else happens while you're indexing? Do you search > while indexing? How often do you commit your changes? > > > > On Tue, Aug 17, 2010 at 1:18 PM, rajini maski > wrote: > > > 100 > > JVM Initial memory pool -256MB &g

Re: OutOfMemoryErrors

2010-08-17 Thread rajini maski
Hill wrote: > A merge factor of 100 is very high and out of the norm. Try starting with a > value of 10. I've never seen a running system with a value anywhere near > this high. > > Also, what is your setting for ramBufferSizeMB? > > -Jay > > On Tue, Aug 17, 2010 a

Logic behind Solr creating files in .../data/index path.

2010-09-07 Thread rajini maski
All, While we post data to Solr... The data get stored in "//data/index" path in some multiple files with different file extensions... Not worrying about the extensions, I want to know how are these number of files created ? Does anyone know on what logic are these multiple index files created

Re: Looking for Developers

2010-10-28 Thread rajini maski
Its better if we can make some solr-job list.. that would be better.. if not, chances that this mailing list of solr queries become less of that and more lik job forum.. this mailing list is so uselful to all developers to get answers for their techinical queries.. On Thu, Oct 28, 2010 at 11:30

Spell-Check Component Functionality

2010-11-18 Thread rajini maski
All, I am trying apply the Solr spell check component functionality to our data. The configuration set up I needed to make for it by updating config.xml and schema.xml is done as follows.. Please let me know if any errors in it. I am not getting any suggestions in suggestion tags of solr ou

Re: Spell-Check Component Functionality

2010-11-18 Thread rajini maski
Hello Peter, Thanks For reply :)I did spellcheck.q=Curst as you said ...Query is like: http://localhost:8909/solr/select/?spellcheck.q=Curst&version=2.2&start=0&rows=10&indent=on&spellcheck=true I am getting this error :( HTTP Status 500 - null java.lang.NullPointerException at java.io

Re: Spell-Check Component Functionality

2010-11-18 Thread rajini maski
elect/?spellcheck.q=Curst&version=2.2&start=0&rows=10&indent=on&q=Crust#> Crust No suggestion Tags.. What is the proper configuration for this? Is there any specific article written on spell check-solr other then in solr-wiki page..I am not getting clear idea ab

Re: Spell-Check Component Functionality

2010-11-21 Thread rajini maski
If any one know articles or blog on solr spell-check component configuration type..please let me know..solr-wiki not helping me solve maze.. On Fri, Nov 19, 2010 at 12:40 PM, rajini maski wrote: > And If I am trying to do : > > http://localhost:8909/solr/select/?spellcheck.q=Curst&am

Solr -File Based Spell Check

2010-12-05 Thread rajini maski
How does the solr file based spell check work? How do we need to enter data in the spelling.txt...I am not clear about its functionality..If anyone know..Please reply. I want to index a word = Wear But while searching I search as =Dress I want to get results for Wear.. How do i apply this functio

Re: Solr -File Based Spell Check

2010-12-06 Thread rajini maski
Are you sure you want spellcheck/autosuggest? > > Because what you're talking about almost sounds like > synonyms. > > Best > Erick > > On Mon, Dec 6, 2010 at 1:37 AM, rajini maski > wrote: > > > How does the solr file based spell check work? > > &g

Re: Solr -File Based Spell Check and Read .cfs file generated

2010-12-06 Thread rajini maski
Anyone know abt it? how to extract the dictionary generated by default.? How do i read this .cfs files generated in index folder.. Awaiting reply On Mon, Dec 6, 2010 at 7:54 PM, rajini maski wrote: > Yeah.. I wanna use this Spell-check only.. I want to create myself the > dict

Re: Faceting Query

2011-02-14 Thread rajini maski
This feature works in SOLR 4.0 release. You can follow this link for knowing how it works... Click here Regards Rajani Maski On Mon, Feb 14, 2011 at 4:05 PM, Isha Garg wrote: > On Friday 11 February 2011 11:34 PM,

Re: Faceting Query

2011-02-14 Thread rajini maski
Why I am not getting result hirearchy for "wheat" when it is coming in the flat faceting above. Awaiting reply Regards, Rajani Maski On Mon, Feb 14, 2011 at 4:18 PM, rajini maski wrote: > This feature works in SOLR 4.0 release. > > You can follow this link for knowing

Configure 2 or more Tomcat instances.

2011-02-22 Thread rajini maski
I have a tomcat6.0 instance running in my system, with connector port-8090, shutdown port -8005 ,AJP/1.3 port-8009 and redirect port-8443 in server.xml (path = C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\server.xml) How do I configure one mor

Re: Configure 2 or more Tomcat instances.

2011-02-23 Thread rajini maski
is error ? I have jdk1.6.0_02 and tomcat 6 version set up.. Regards Rajani Maski On Tue, Feb 22, 2011 at 7:53 PM, Paul Libbrecht wrote: > Rajini, > > you need to make the (~3) ports defined in conf/server.xml different. > > paul > > > Le 22 fév

Tomcat EXE Source Code

2011-02-25 Thread rajini maski
Can anybody help me to get the source code of the Tomcat exe file i.e, source code of the installation exe . Thanks..

Re: Tomcat EXE Source Code

2011-02-25 Thread rajini maski
this problem.. Any suggestions? On Fri, Feb 25, 2011 at 3:18 PM, Jan Høydahl wrote: > Why do you want it? > Try asking on the Tomcat list :) > -- > Jan Høydahl, search solution architect > Cominvent AS - www.cominvent.com > > On 25. feb. 2011, at 09.16, rajini maski wrote: &

Create a tomcat service.

2011-02-28 Thread rajini maski
Does anybody have a script to create a tomcat service? I'm trying to set my system up to run multiple instances of tomcat at the same time (on different ports, obviously), and can't get the service to create properly.I tried to follow the steps mentioned in this link

Re: Solr under Tomcat

2011-03-02 Thread rajini maski
Sai, The index directory will be in your Solr_home//Conf//data directory.. The path for this directory need to be given where ever you want to by changing the data-dir path in config XML that is present in the same //conf folder . You need to stop tomcat service to delete this directory and t

Re: Full Text Search with multiple index and complex requirements

2011-03-06 Thread rajini maski
> > I just tried to answer your many questions, liking youe questions type.. > Answers attached to questions.. > > Thank you Rajini, for your interest :) > > A) The data for every user is totally unrelated to every other user. This > gives us few advantages: > > 1. we can keep our indexes small

Use of multiple tomcat instance and shards.

2011-03-07 Thread rajini maski
In order to increase the Java heap memory, I have only 2gb ram… so my default memory configuration is --JvmMs 128 --JvmMx 512 . I have the single solr data index upto 6gb. Now if I am trying to fire a search very often on this data index, after sometime I find an error as java heap space

Re: Use of multiple tomcat instance and shards.

2011-03-08 Thread rajini maski
siderations > > -- > Jan Høydahl, search solution architect > Cominvent AS - www.cominvent.com > > On 8. mars 2011, at 07.40, rajini maski wrote: > > > In order to increase the Java heap memory, I have only 2gb ram… > so > > my default memory configurat

Re: Use of multiple tomcat instance and shards.

2011-03-08 Thread rajini maski
u explained doesn't allow it but anyways you could > also check Solr Cloud and its distributed requests [1]. > Cheers, > Tommaso > > [1] : http://wiki.apache.org/solr/SolrCloud#Distributed_Requests > > 2011/3/8 Tommaso Teofili > > > Hi Rajani, > > > >

Query on facet field’s count

2011-03-11 Thread rajini maski
Query on facet field results... When I run a facet query on some field say : facet=on & facet.field=StudyID I get list of distinct StudyID list with the count that tells that how many times did this study occur in the search query. But I also needed the count of these distinct StudyID lis

Index Defaults Section and main index section that is in solrconfig.xml

2011-03-11 Thread rajini maski
Any documentation on index Defaults Section and main index section that is in solrconfig.xml -- Solr1.4.1 I want to understand the terminology of these parameters and how are they inter connected?1032 1000 2147483647 *I read document in solr -wiki. From this I under

Re: Query on facet field¹s count

2011-03-11 Thread rajini maski
atch to do that. SOLR-2242 > > > >Bill Bell > >Sent from mobile > > > > > >On Mar 11, 2011, at 1:34 AM, rajini maski wrote: > > > >> Query on facet field results... > >> > >> > >> When I run a facet query on some field

Error while performing facet search across shards..

2011-03-29 Thread rajini maski
An error while performing facet across shards..The following is the query: http://localhost:8090/InstantOne/select?/&indent=on &shards=localhost:8090/InstantOne,localhost:8091/InstantTwo ,localhost:8093/InstantThree&q=filenumber:10&facet=on&facet.field=studyId No studyId fields are b

How to avoid Lock file generation - solr 1.4.1

2011-04-06 Thread rajini maski
I am using Solr 1.4.1(windows os) and below are the settings in my solr config file: 1000 1 32 1 native While writing the index, I am doing the post procedure.. posting the xml with solr/update http request. I am gettting the following error. SEVERE: Could not start SOLR. C

Query regarding solr plugin.

2011-04-22 Thread rajini maski
One doubt regarding adding the solr plugin. I have a new java file created that includes few changes in SynonymFilterFactory.java. I want this java file to be added to solr instance. I created a package as : org.apache.pco.search This includes OrcSynonymFilterFactory java class extends

Re: Query regarding solr plugin.

2011-04-24 Thread rajini maski
> which case Solr may be finding > "org.apachepco.search.orchSynonymFilterFactory" > but failing to load a dependency (that would have to be put in the lib > or the jar). > > Hope that helps > Erick > > > > On Fri, Apr 22, 2011 at 3:00 AM, rajini maski &g

Re: Query regarding solr plugin.

2011-04-25 Thread rajini maski
you'll be OK. Or your code is throwing an error > on load. Or > something like that... > > 3> to try to understand what's up, I'd back up a step. Make a really > stupid class > that doesn't do anything except derive from BaseTokenFilterFacotry and see > if > y

Re: Query regarding solr plugin.

2011-04-27 Thread rajini maski
t with a fresh install and build up gradually rather than try to > unravel the current code. It feels wasteful, but winds up being faster in > my experience... > > Good Luck! > Erick > > On Tue, Apr 26, 2011 at 12:41 AM, rajini maski > wrote: > > Thanks Erick. I have

Facing problem with white space in synonyms

2011-04-27 Thread rajini maski
Query related to solr synonymfilterfactory. I am using Solr 1.4.1. I have datatype field "textSynonym" The steps followed are : 1) synonym.txt has many words separated with a white space . Example : Hindclaw, Hind claw 2) Indexed a word - "Hi

Does the Solr enable Lemmatization [not the Stemming]

2011-05-05 Thread rajini maski
Does the solr enable lemmatization concept? I found a documentation that gives an information as solr enables lemmatization concept. Here is the link : http://www.basistech.com/knowledge-center/search/2010-09-language-identification-language-support-and-entity-extraction.pdf Can anyone help

Re: Searching accross Solr-Multicore

2011-05-09 Thread rajini maski
If the schema is different across cores , you can query across the cores only for those fields that are common. Querying across all cores for some query paramterer and gettin result set in one output xml can be achieved by shards http://localhost:8090/solr1&indent=on&q=*:*&shards=localhost:8090/so

Re: Facet filter: how to specify OR expression?

2011-05-12 Thread rajini maski
The input parameter assigning to the field "tint" is type string ("or"). It is trying to assign tint=or which is incorrect. So the respective exception has occurred. On Thu, May 12, 2011 at 4:10 PM, cnyee wrote: > The exception says: > > java.lang.NumberFormatExcepton: for input string "or" > >

Re: Out of memory on sorting

2011-05-19 Thread rajini maski
Explicit Warming of Sort Fields If you do a lot of field based sorting, it is advantageous to add explicitly warming queries to the "newSearcher" and "firstSearcher" event listeners in your solrconfig which sort on those fields, so the FieldCache is populated prior to any queries being executed by

Re: Query on facet field¹s count

2011-05-25 Thread rajini maski
eld=StudyID&facet.mincount=1&facet.limit=-1&f.StudyID.facet.namedistinct=1 &shards=localhost:8090/solr2 It gets matched result set from both the cores but facet results are only from first core. Rajani On Sat, Mar 12, 2011 at 10:35 AM, rajini maski wrote: > Thanks Bill Bell

Query regarding Solr-2242 patch for getting distinct facet counts.

2011-05-26 Thread rajini maski
The patch solr 2242 for getting count of distinct facet terms doesn't work for distributedProcess (https://issues.apache.org/jira/browse/SOLR-2242) The error log says HTTP ERROR 500 Problem accessing /solr/select. Reason: For input string: "numFacetTerms" java.lang.NumberFormatExcept

Re: Query regarding Solr-2242 patch for getting distinct facet counts.

2011-05-27 Thread rajini maski
e: > I am pretty sure it does not yet support distributed shards.. > > But the patch was written for 4.0... So there might be issues with running > it on 1.4.1. > > On 5/26/11 11:08 PM, "rajini maski" wrote: > > > The patch solr 2242 for getting co

Applying synonyms increase the data size from MB to GBs

2011-06-05 Thread rajini maski
Applying synonyms increased the data size from 28 mb to 10.3 gb Before enabling synonyms to the a field , the data size was 28mb. Now , after applying synonyms I see that data folder size has increased to 10.3 gb. Attached is schema field type for that field:

Re: Applying synonyms increase the data size from MB to GBs

2011-06-05 Thread rajini maski
not the right way to do so? Is there a way where in I can apply all those file to same tag with some delimiter separated? like this: Rajani On Mon, Jun 6, 2011 at 11:01 AM, Gora Mohanty wrote: > On Mon, Jun 6, 2011 at 10:34 AM, rajini ma

Re: Query regarding Solr-2242 patch for getting distinct facet counts.

2011-06-08 Thread rajini maski
nts); facet_fields.add(dff.getKey(), resCount); } Regards, Rajani On Fri, May 27, 2011 at 1:14 PM, rajini maski wrote: > No such issues . Successfully integrated with 1.4.1 and it works across > single index. > > for f.2.facet.numFacetTerms=1 pa

Code for getting distinct facet counts across shards(Distributed Process).

2011-06-08 Thread rajini maski
nts); facet_fields.add(dff.getKey(), resCount); } Regards, Rajani On Fri, May 27, 2011 at 1:14 PM, rajini maski wrote: > No such issues . Successfully integrated with 1.4.1 and it works across > single index. > > for f.2.facet.numFacetTerms=1 pa

Query on Synonyms feature in Solr

2011-06-13 Thread rajini maski
Synonyms feature to be enabled on documents in Solr. I have one field in solr that has the content of a document.( say field name : document_data). The data in that field is : "Tamil Nadu state private school fee determination committee headed by Justice Raviraja has submitted the private schoo

Re: Query on Synonyms feature in Solr

2011-06-13 Thread rajini maski
;schools" > and for "KeywordTokenizerFactory" the whole text is one token. > > Beste regards > Karsten > > > > Original-Nachricht > > Datum: Mon, 13 Jun 2011 16:07:35 +0530 > > Von: rajini maski > > An: solr-user@lucene.apache

Re: Query on Synonyms feature in Solr

2011-06-15 Thread rajini maski
Erick: I have tried what you said. I needed clarification on this.. Below is my doubt added: Say If i have field type : The data indexed in this field is : sentence 1 : " tissue de

Re: Query on Synonyms feature in Solr

2011-06-15 Thread rajini maski
appear in position 0, > followed by the other two terms. > > So your example should "just work". But as I said, it would probably > be best if you put your synonym filter only in at index or query time. > > An analogous process happens if you add synonyms at index > t

Re: Query on Synonyms feature in Solr

2011-06-15 Thread rajini maski
> followed by the other two terms. > > So your example should "just work". But as I said, it would probably > be best if you put your synonym filter only in at index or query time. > > An analogous process happens if you add synonyms at index > time. > > Best &g

Token Factory attribute in filter tag

2011-06-17 Thread rajini maski
How does this attribute "token factory" within filter work? In this link [click here],There is the usage of token factory in the synonym filter tag. Here I see the white space token at index time then a synonym filter

Query on multi valued field

2011-07-29 Thread 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 Eg: Consider that following are the documents matched for say q= *:* *DOC1* 1 * *

Re: Query on multi valued field

2011-08-02 Thread rajini maski
Thank you. This logic works for me. Thanks a lot. Regards, Rajani Maski On Wed, Aug 3, 2011 at 1:21 AM, Chris Hostetter wrote: > > : The query is get only those documents which have multiple elements > for > : that multivalued field. > : > : I.e, doc 2 and 3 should be returned from the