What are Steps to create new filter factory ?

2009-07-27 Thread prerna07
Hi, I want to create a txt file named as lemmatisation.txt and want to use it through filter factory. This flow will work similar to synonym filter factory please provide information on below mentioned points; 1) What are the steps to create a new filter factory which is similar to synonym filt

Re: Exception thrown when searching field defined with PhoneticFilterFactory filter...

2009-07-24 Thread prerna07
0.0 all:KLR^10.0 Why is this showing ANKL, HNT, KLRS. ? Why does solr convert search string to ANKL, HNT, KLRS ... strings? Erik Hatcher wrote: > > > On Jul 24, 2009, at 4:53 AM, prerna07 wrote: >> Does that mean my indexes should be created with phonetic filt

How does search work with phonetic filter factory ?

2009-07-24 Thread prerna07
Hi, I am using phonetic filter factory. I am searching for product_12345 string, which is present in only one record. Issue: Solr return me all indexes which have product_ i.e. it ignore the string present after _. Also debugQuery looks like : product_4844308 product_4844308 PhraseQue

Re: Exception thrown when searching field defined with PhoneticFilterFactory filter...

2009-07-24 Thread prerna07
Does that mean my indexes should be created with phonetic filter factory in my fieldTypes? Currently I am quering on text fields and phonetic factory is defined for uery analyser only. Shalin Shekhar Mangar wrote: > > On Fri, Jul 24, 2009 at 2:01 PM, prerna07 > wrote: >

Re: Exception thrown when searching field defined with PhoneticFilterFactory filter...

2009-07-24 Thread prerna07
HI all, I am also using Phonetic filter factory but it is behaving very weird. Issue: 1) I have total 10400 indexes but when i search for *:* it return me only 288 results. AS soon as i remove phonetic filter factory from it start working correctly. Can someone help me understand the issue wit

US/UK/CA/AU English support

2009-07-22 Thread prerna07
Hi, 1) Out of US/UK/CA/AU,which english does solr support ? 2) PhoneticFilterFactory perform search for similar sounding words. For example : search on carat will give results of carat, caret and carrat. I also observed that PhoneticFilterFactory also support linguistic variation for US/UK/C

Re: Boosting Code

2009-07-21 Thread prerna07
Hi, I have to boost document, Can someone help me understanding how can we implement docBoost via transformer. Thanks, Prerna Marc Sturlese wrote: > > If you mean at indexing time, you set field boost via data-config.xml. > That boost is parsed from there and set to the lucene document going

Boosting of search results

2009-07-21 Thread prerna07
HI, I want to boost / block search results, i don't want to use boosting of fields/ term of dismaxrequest handler. I have seen some post saying "setting a value to the key $docBoost via transformer", but i am not sure how to use / set doc boost via transformer. http://www.nabble.com/Boosting-C

Lemmatisation support in Solr

2009-07-21 Thread prerna07
Hi, I am implementing Lemmatisation in Solr, which means if user looks for "Mouse" then it should display results of Mouse and Mice both. I understand that this is something context search. I think of using synonym for this but then synonyms.txt will be having so many records and this will keep

Linguistic variation support

2009-07-21 Thread prerna07
Hi, I am implementing linguistic variations in solr search engine. I want to implement this for US/UK/CA/AU english. e.g. Color (UK) = Colour (US) when user searches for either of the word, both results should appear. I don't want to use synonym.txt as this will make synonym.txt very long. Ple

Re: Solr Query | Field:value with dismaxquery

2009-06-19 Thread prerna07
p;qt=dismaxrequest works perfectly fine. I am not able to understand why it is working with "Pfqs Boxed set Sfqs" and not working with "Pfqs ePub eBook Sfqs". Please help. Thanks, Prerna Michael Ludwig-4 wrote: > > prerna07 schrieb: >> >> I am facing i

Default AND operator | search on multiple fields

2009-06-18 Thread prerna07
Hi, I want to perform search with default AND operator on multiple fields. Below mentioned query works fine with AND operator and one field : ?q={!lucene q.op=AND df=prdMainTitle_product_s}Ladybird Shrinkwrap However as soon as I add two fields, it starts giving me records which have two terms

Solr Query | Field:value with dismaxquery

2009-06-17 Thread prerna07
I am facing issue with query with dismaxrequest. Issue: I am Querying solr for field specific value, Query is returning correct results with "Pfqs Cassette Sfqs" while it does not work with "Pfqs ePub eBook Sfqs". Sample queries: ?q=facetFormat_product_s:"Pfqs ePub eBook Sfqs" - return correct

Query on date fields

2009-06-08 Thread prerna07
Hi, I have two date attributes in my Indexes: DisplayStartDate_dt DisplayEndDate_dt I need to fetch results where today's date lies between displayStartDate and dislayEndDate. However i cannot send hardcoded displayStartdate and displayEndDate date in query as there are 1000 different dates

Query with AND|OR operator with Dismaxrequest

2009-05-18 Thread prerna07
Hi, I am not getting correct results with a Query which has multiple AND | OR operator. Query Format q=((A AND B) OR (C OR D) OR E) ?q=((intAgeFrom_product_i:[0+TO+3]+AND+intAgeTo_product_i:[3+TO+*])+OR+(intAgeFrom_product_i:[0+TO+3]+AND+intAgeTo_product_i:[0+TO+3])+OR+(ageFrom_product_s:Adul

Issue with Unique Key

2009-03-28 Thread prerna07
Issue: Unique Key not working. We defined unique key in schema.xml: IndexId_s Still multiple index are getting craete with the same Index_id. Please suggest if we need to add/ change something in schema.xml. Thanks, prerna -- View this message in context: http://www.nabble.com/Issue-wit

Copy solr indexes from 2 solr instance

2009-03-25 Thread prerna07
Hi, Issue 1: I have 2 solr instances, i need to copy indexes from solr1 instance to solr2 without restarting the solr. Please suggest how will this work. Both solr are on multicore setup. Issue2: I deleted all indexes from solr and reloaded my core, solr admin return 0 results. The size of ind

Re: Querying Solr Index for date fields

2009-01-19 Thread prerna07
ike date or numeric ranges. > > Erik > > > On Jan 16, 2009, at 9:23 AM, prerna07 wrote: > >> >> >> We also make query on date ranges, it works when you use NOW function. >> Try using : >> ?q=dateField:[* TO NOW] >> ?q=dateField:[NOW-

Re: Querying Solr Index for date fields

2009-01-16 Thread prerna07
We also make query on date ranges, it works when you use NOW function. Try using : ?q=dateField:[* TO NOW] ?q=dateField:[NOW-45DAYS TO NOW] ?q=dateField:[NOW TO NOW+45DAYS] Issue: Current issue which i am facing is with dismaxrequesthandler for date field. As soon as I add dateField in dismax

Re: Issue with dismaxrequestHandler for date fields

2009-01-14 Thread prerna07
.e. date fields ) in solrConfig.xml ? prerna07 wrote: > > Hi, > > We are facing issues while using dismaxrequesthandler for date fields. > We have to define date fields in of solrConfig.xml. > > > productPublicationDate_product_dt^1.0 > productPublicationDate_product_dt[N

RE: How to do Query on multiple parameters

2009-01-14 Thread prerna07
Thanks, it works..:) Jana, Kumar Raja wrote: > > 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,

Single facet on multiple attributes

2009-01-14 Thread prerna07
Hi, How can we create single facet on multiple attributes? Thanks, -- View this message in context: http://www.nabble.com/Single-facet-on-multiple-attributes-tp21457259p21457259.html Sent from the Solr - User mailing list archive at Nabble.com.

How to do Query on multiple parameters

2009-01-14 Thread prerna07
Our requirement is to make solr query on two or more attributes. for example the search criteria is DaVinci AND price between 10 TO 40 The query i am using is ; ?q=DaVinci&q=Price:[10 TO 40] this query is returning me results for first query parameter only (?q=DaVinc). What should be the query

Issue with dismaxrequestHandler for date fields

2009-01-14 Thread prerna07
Hi, We are facing issues while using dismaxrequesthandler for date fields. We have to define date fields in of solrConfig.xml. productPublicationDate_product_dt^1.0 productPublicationDate_product_dt[NOW-45DAYS TO NOW]^1.0 as soon as we add this in solrConfig.xml, dismax stops working for ot

Re: Issue in Facet on date field

2009-01-13 Thread prerna07
don't think there's a way to do that without modifiying the source (if > you find it let me know :D) > > > > prerna07 wrote: >> >> Hi, >> >> I have to create two facets on a date field: >> 1) First Facet will have results between two dat

Issue in Facet on date field

2009-01-13 Thread prerna07
Hi, I have to create two facets on a date field: 1) First Facet will have results between two date range , i.e. [NOW TO NOW+45DAYS] 2) Second Facet will have results between two date range , i.e. [NOW-45DAYS TO NOW] I want both results in a single query. The query i am using is mentioned below :

Re: Solr query for date

2009-01-08 Thread prerna07
ng: "]" ... ). - I am running the query on slr admin on internet explorer. i have defined date field as date in schema.xml Akshay-8 wrote: > > On Thu, Jan 8, 2009 at 3:38 PM, prerna07 wrote: > >> >> >> >> My requireme

Re: Solr query for date

2009-01-08 Thread prerna07
correct query for range with days. Thanks, Prerna Akshay-8 wrote: > > You can use DateMath as: > > date_field:[NOW TO NOW+45DAYS] > > On Wed, Jan 7, 2009 at 3:00 PM, prerna07 wrote: > >> >> Hi, >> >> what will be the syntax of this sql query

Re: Solr query for date

2009-01-07 Thread prerna07
Is this necessary to define date_field as in schema.xml. OR Solr query can work on text field type ? Akshay-8 wrote: > > You can use DateMath as: > > date_field:[NOW TO NOW+45DAYS] > > On Wed, Jan 7, 2009 at 3:00 PM, prerna07 wrote: > >> >> Hi, >>

Solr query for date

2009-01-07 Thread prerna07
Hi, what will be the syntax of this sql query SELECT * FROM table WHERE date > SYSDATE and date http://www.nabble.com/Solr-query-for-date-tp21327696p21327696.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Issues with facet

2008-10-22 Thread prerna07
Thanks, it helped. We were using *_s fields which had analyser section. We used to copy all fields in some other field type and used this new type in facet. It is working fine now. Thanks, Prerna prerna07 wrote: > > Hi, > > On using Facet in solr query I am facing va

Issues with facet

2008-10-21 Thread prerna07
Hi, On using Facet in solr query I am facing various issues. Scenario 1: I have 11 Index with tag : productIndex my search query is appended by facet parameters : facet=true&facet.field=Index_Type_s&qt=dismaxrequest The facet node i am getting in solr result is : - - 11

Re: search not working correctly

2008-10-20 Thread prerna07
". However, do you really want to search for incomplete > words? > > On Mon, Oct 20, 2008 at 2:40 PM, prerna07 <[EMAIL PROTECTED]> > wrote: > >> >> Hi, >> >> I have some indexes with string values "upload". >> Search on &q=upload

search not working correctly

2008-10-20 Thread prerna07
Hi, I have some indexes with string values "upload". Search on &q=upload and &q=upl* gives me all results. Issues : Search on &q=upl gives me ZERO result. Do i need to append query with some other parameter or solr search does not work in this scenario? Thanks, Prerna -- View this message i

Re: Synonym format not working

2008-10-20 Thread prerna07
The issue with synonym arise when i have number in synonym defination: ccc =>1,2 gives following result in debugQuery= true : MultiPhraseQuery(all:" (1 ) (2 ccc ) 3") all:" (1 ) (2 ccc ) 3" However fooaaa=> fooaaa, baraaa,bazaaa gives correct synonym results

Re: Synonym format not working

2008-10-16 Thread prerna07
o you see when you use > &debugQuery=true in the URL? Do you see the query that includes synonyms? > Can you give us the actual query and actual synonyms? > > > Otis > -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > > >

Synonym format not working

2008-10-16 Thread prerna07
Hi, I am facing issue in synonym search of solr. The synonym.txt contain the format: ccc => 1,2,ccc ccc => 3 I am not getting any search result for ccc. I have created indexes with string value. Do i need to change anything in schema .xml ? String tag from Schema.xml :

How to retrieve all field names of index of one type

2008-10-14 Thread prerna07
Hi, I want to retrieve all field names of one index type, is there any way solr can do this? For example: I have 3 index with the field name and value : ProductVO I want to retrieve all other field names present in the indexes which have field name as index_type and value as "ProductVO". Plea

Re: Incomplete search by using dixmasequesthandler

2008-10-04 Thread prerna07
All these fields are dynamic fields hence we dont know names of all the fields also the number of dynamic fields is large, and we want to search for all these dynamic fields. Is there any other way of query field boosting ? prerna07 wrote: > > Hi, > > I am using dismaxreque

Incomplete search by using dixmasequesthandler

2008-10-04 Thread prerna07
Hi, I am using dismaxrequesthandler to boost by query on the basis of fields. There are 5 indexes which contain the search string. Field names which have this Searchcriteria are: - statusName_s - listOf_author - prdMainTitle_s - productDescription_s - productURL_s my query string is : ?q=Shahr

Re: Solr search by indexes on the basis of different search fields

2008-09-16 Thread prerna07
to be describing something more hierarchical, but perhaps you can > just make all clauses required. > > Otis > -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > > > - Original Message >> From: prerna07 <[EMAIL PROTECTED]> >> To:

Solr search by indexes on the basis of different search fields

2008-09-16 Thread prerna07
We are doing serach in solr on indexes, is it possible to search on the basis of different fields. For example we have a index created with fields author, title, ISBN and phase. we want the search result first on the basis of author then title match and then ISBN. -- View this message in cont