Re: Core admin: create new core

2015-03-06 Thread manju16832003
Solr 5 has been released. I was just giving a try and come across the same issue. As I heard over from some documentation, Solr 5 doesn't come with default core (example in earlier versions). And this requires us to create a core from Solr Admin. When I tried to create the core, I get the followin

Re: Applying boosting for keyword search

2014-05-27 Thread manju16832003
Hi Erick, Your explanation leads me to one question :-) if */select?q=featured:true^100&fq=make:toyota&sort=featured_date desc,price asc* The above query, without edismax, works well because, If I'm not mistaken its boosting document by value method. So I'm boosting all my documents with the va

Re: Applying boosting for keyword search

2014-05-26 Thread manju16832003
Hi Jack, Thank you for the suggestions. :-) -- View this message in context: http://lucene.472066.n3.nabble.com/Applying-boosting-for-keyword-search-tp4137523p4138239.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Applying boosting for keyword search

2014-05-21 Thread manju16832003
Hi Jack, Thanks for your help. I do not want to boost *keyword* field. I apply full text search no keyword field and boost based on another field *featured*. Also qf field allows us to boost the field without values. I would like to boost with value Ex: qf=featured:true^100 - I don't think this

Re: Using fq as OR

2014-05-21 Thread manju16832003
The *fq* is used for searching more deterministic results something like WHERE type={} Where as *q* is something like WHERE type like '%%' user *fq*, if your are sure of what your going to search use *q*, if not sure what your trying to search If you are using fq and if you do not get any matchin

Applying boosting for keyword search

2014-05-21 Thread manju16832003
HI, I have a scenario where by I apply boosting in the following two cases - Usual search, by user selection - Keyword search. I have a field *keyword* that is copy/combination of many fields When user does the usual query, my boosting works fines, this is how I do boosting /select?q=featured:t

Re: Sharing configuration files among cores [4.7.1]

2014-04-14 Thread manju16832003
Thanks Dmitry, Yes I'm on *nix OS. Yes *soft-link* was mentioned by one of my sys-admin friend as well. :-). I was just trying to from the community if there there would be a way from Solr itself. Thanks for suggestion. Probably soft-link is the way to go now :-). -- View this message in c

Sharing configuration files among cores [4.7.1]

2014-04-13 Thread manju16832003
Hi All, I'm using latest version of Solr 4.7.1 and was wondering if there is a way to share common schema.xml. Here is my use case. I have two cores which would have same schema structure. Core 1 = Stores Active Records Core 2 = All records regardless of the status Both the cores would have the sa

Does CachedSqlEntityProcessor works?

2014-03-17 Thread manju16832003
I tried to use *CachedSqlEntityProcessor* in DataImportHandler with Sub-entity query. It does not seems to be working. Here is my query If I remove *processor="CachedSqlEntityProcessor"*, run without CachedSqlEntityProcessor it works fine. With CachedSqlEntityProcessor my sub-entity some h

URLDataSource : Issue assigning single xpath field name to two solr fields

2014-02-24 Thread manju16832003
I'm not sure if I would be missing any configuration params here, however when I tried to assign an xpath field from URLDataSource (XML end point) to two fields defined in schema.xml. Here is my scenario, I have two fields *profile_display* and *profile_indexed* My assignment in DataImpotHandler

Re: start.jar config

2014-02-24 Thread manju16832003
Solr already writes the logs to a file 'solr.log'. Its located in the same folder as start.jar (logs/solr.log). I'm not sure if thats what you looking for :-). -- View this message in context: http://lucene.472066.n3.nabble.com/start-jar-config-tp4119201p4119203.html Sent from the Solr - User

Re: Issue with PHP urlencode and solr encoding

2014-02-23 Thread manju16832003
Hi Shawn and Rico, Thanks you for your suggestions, those are valuable suggestions :-). If Pharse Query does not work as we expected sometimes, I guess we could use *TermQuery* instead. http://blog.florian-hopf.de/2013/01/make-your-filters-match-faceting-in-solr.html This worked fine *fq={!term

Issue with PHP urlencode and solr encoding

2014-02-23 Thread manju16832003
Hi, I come across the issue with urlencoding between PHP and Solr. I have a field indexed with value *WBE(Honda Edix)* in Solr. >From PHP codes, if I urlencode($string) and send to Solr, I do not get the accurate results. Here is the part of the solr query *fq=model:WBE(Honda+Edix)* However, If I

Re: Indexing strategies?

2014-02-12 Thread manju16832003
Hi Erick, Thank you very much, those are valuable suggestions :-). I would give a try. Appreciate your time. -- View this message in context: http://lucene.472066.n3.nabble.com/Indexing-strategies-tp4116852p4117050.html Sent from the Solr - User mailing list archive at Nabble.com.

Indexing strategies?

2014-02-12 Thread manju16832003
Hi, I'm facing a dilemma of choosing the indexing strategies. My application architecture is - I have a listing table in my DB - For each listing, I have 3 calls to a URL Datasource of different system I have 200k records Time taken to index 25 docs is 1Minute, so for 200k it might take more

Difference in boosting with q and eDisMax. Are they same or different?

2014-02-09 Thread manju16832003
Hi, In an application I'm working on, I have applied two types of search criteria to Solr. First one is a definitive search using filter query (fq) where by I know exactly the fields I'm searching for. Secondly I use eDisMax for full-text search, this would be applied when user enters keywords. The

Re: Storing MYSQL DATETIME field in solr as String

2014-01-23 Thread manju16832003
Hi Tariq, I'm glad that helped you :-). Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Solved-Storing-MYSQL-DATETIME-field-in-solr-as-String-tp4106836p4112979.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Storing MYSQL DATETIME field in solr as String

2014-01-06 Thread manju16832003
I found a way to store MySQL DateTime as a string in Solr Here is the way in data-config.xml in the SQL query we could convert the date directly to char CAST(l.creation_date as char) as creation_date, CAST(l.modification_date as char) as modification_date, in schema.xml Output would be 20

Re: Boosting results on value of field different from query

2013-12-29 Thread manju16832003
Hi Puneet, http://localhost:8983/solr/my/select?q=type:sedan^100 type:compact^10 (:*)^1&wt=json&indent=true&fl=,score&debug=results&bf=recip(rord(publish_date),1,2,3)^1.5&sort=score > desc Not really. The query I mentioned it does not restrict the other types, instead it would push other type

Re: Boosting results on value of field different from query

2013-12-25 Thread manju16832003
Hi Puneet, if you type field is pre-determined text field ex type [compact, sedan, hatchback], I think you have to boost with query type field (q) to get more accurate boosting. Ex: http://localhost:8983/solr/my/select?q=type:sedan^100 type:compact^10 (:*)^1&wt=json&indent=true&fl=,score&debug=re

Re: Storing MYSQL DATETIME field in solr as String

2013-12-17 Thread manju16832003
Hi Raymond, Let me give a try. Thanks for suggestion :-). Cheers, On Wed, Dec 18, 2013 at 12:38 AM, Raymond Wiker [via Lucene] < ml-node+s472066n410713...@n3.nabble.com> wrote: > > On 17 Dec 2013, at 17:30 , manju16832003 <[hidden > email]<http://user/SendEmail.jtp?type=

Re: Storing MYSQL DATETIME field in solr as String

2013-12-17 Thread manju16832003
Hi Shekhar, Yes :-). Thanks for the references. Will try out the options you mentioned. Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Storing-MYSQL-DATETIME-field-in-solr-as-String-tp4106836p4107135.html Sent from the Solr - User mailing list archive at Nabble.co

Re: Storing MYSQL DATETIME field in solr as String

2013-12-17 Thread manju16832003
Hi Raymond, You mean during the DIH execution? -- View this message in context: http://lucene.472066.n3.nabble.com/Storing-MYSQL-DATETIME-field-in-solr-as-String-tp4106836p4107136.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr Profiler

2013-12-16 Thread manju16832003
Hi NewRelic is good enough to monitor the Solr. Are you using Solarium or SolrJ client to connect to Solr?. We have used Solarium and able to monitor each calls and gather most of the info. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Profiler-tp4106231p4106859.h

Re: Storing MYSQL DATETIME field in solr as String

2013-12-16 Thread manju16832003
OK here are the scenarios I tried. *Scenario - 1: * dih.xml (aka data-config.xml) -MM-dd'T'HH:mm:ss*" locale="en"/> schema.xml It does not work. Throws an following exception WARN org.apache.solr.handler.dataimport.DateFormatTransformer – Could not parse a Date field java.text.ParseE

Re: Storing MYSQL DATETIME field in solr as String

2013-12-15 Thread manju16832003
Hi Shekhar, Yes, I did specify transformer="DateFormatTransformer" in and I did re-index :-(. Bit strange output. Even I tried to change the Data type of the data field in schema.xml as well. I have tried with changing date type from String to Date and Date to String by applying DateFormatTransf

Re: Storing MYSQL DATETIME field in solr as String

2013-12-15 Thread manju16832003
Hi Shekhar, Thanks for replying :-). Yes your answer is justifiable. DateFormatTransformer was a good consideration. However it doesn't out the format I expected. Rather it outputs in the following manner Tue Jun 05 00:00:00 MYT 2012 Here is DIH configuration And also I tried this way *-- with

Storing MYSQL DATETIME field in solr as String

2013-12-15 Thread manju16832003
Hi All, In database, MYSQL DateTime format is 2013-10-17 15:32:48 [-MM-dd hh:mm:ss] however, when I store this DateTime field in solr as String, it would look something like this 2013-10-17 15:32:48*.0*. Why the 0 is appended at the end of the DateTime? For the same date field, I do have anot

Re: Difference between textfield and strfield

2013-12-09 Thread manju16832003
Hey Iori, Apologize for misunderstanding :-). Yes agree with you, faceting will be OK with TextField type however I'm concern about performance impact while running the facets if we have millions of documents. I wish in future we could apply tokensizers and filters to String fields. :-).Thanks f

Re: Prioritize search returns by URL path?

2013-12-08 Thread manju16832003
Could it be achieved using multiple request handlers? Example: http://localhost:8983/solr/my/wiki http://localhost:8983/solr/my/blog http://localhost:8983/solr/my/forum As we could configure config for each request handler to specify the query. It would be great if Solr supports to query those t

Re: Difference between textfield and strfield

2013-12-08 Thread manju16832003
I don't understand. Use the field type *Ahmet* recommended. Who is Ahmet? -- View this message in context: http://lucene.472066.n3.nabble.com/Difference-between-textfield-and-strfield-tp3986916p4105570.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Prioritize search returns by URL path?

2013-12-05 Thread manju16832003
Hi Jim Glynn, KAMACI is correct. How do you discriminate your documents?. Jim and Kamaci, I do have the same situation where I will be boosting document regular basis and expect documents with higher score appears on top and lower one at the bottom. Here is my requirement. My entity name is LI

Re: Difference between textfield and strfield

2013-12-05 Thread manju16832003
Hi Iori, Thank you replying, really appreciate that. My concern not to use *TextField* and I want to make use of *string* field. Reason is that I have 7 fields that I want to apply case-insensitiveness and all these fields are *facetable* fields. It would not be feasible if I change data type fr

Re: Difference between textfield and strfield

2013-12-05 Thread manju16832003
Hi, If we can not analyse string field, is there any other way to apply case insensitiveness. Ex: I have a field called *make* its values are Toyota, Honda, Chery etc. In Solr make data type is string and values are stored as they appear (Toyota, Honda, Chery). However, when user try to search f

Re: How to set default values for int fields

2013-11-07 Thread manju16832003
Erick, Thanks for replying :-). If I were to do that, we are trying to set string value to int and Solr throws an error. Oh wait, I guess it works because Solr would automatically parse based on the data type of the field. :-). As I could see from the exception java.lang.NumberFormatException.

Re: Multi-core support for indexing multiple servers

2013-11-07 Thread manju16832003
Eric, Just a question :-), wouldn't it be easy to use DIH to pull data from multiple data sources. I do use DIH to do that comfortably. I have three data sources - MySQL - URLDataSource that returns XML from an .NET application - URLDataSource that connects to an API and return XML Here is par

Re: Multi-core support for indexing multiple servers

2013-11-07 Thread manju16832003
Hi Rob, mlti-core approach is different. You could have two cares lets say marketing-core [Has its own schema.xml and data-config.xml] magento-core [Has its own schema.xml and data-config.xml] each core have their own schema.xml and data-config.xml If you go by multi-core approach I guess you won'

How to set default values for int fields

2013-11-06 Thread manju16832003
How do I set default value for int fields ex While indexing lets say if I have not set the value for mileage, and solr tries to assign default value and it fails. Because *mileage* is of type int not string. It throws following exception 3656198 [http-bio-8080-exec-4] ERROR org.apache.solr.serv

Re: get min-max prices as facets

2013-11-06 Thread manju16832003
Hey Peter, Now I understood your requirement :-). I come across this http://wiki.apache.org/solr/StatsComponent have a look if it helps you :-). -- View this message in context: http://lucene.472066.n3.nabble.com/get-min-max-prices-as-facets-tp4099501p4099737.html Sent from the Solr - User ma

Re: get min-max prices as facets

2013-11-05 Thread manju16832003
I'm not sure if my answer would help you :-). Usually we do not need to know the min and max prices that our current database or solr is holding for all the products. Even if you were to that, would be complex and just make your business logic bigger and tedious. Instead, we would know what is th

Re: solr sort facets by name

2013-11-05 Thread manju16832003
Yes it is facet.sort=index would return facet result set in alphabetical order -- View this message in context: http://lucene.472066.n3.nabble.com/solr-sort-facets-by-name-tp4099499p4099522.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr starting problem after spellchecker configuration

2013-09-02 Thread manju16832003
Hi, Following post help you. http://stackoverflow.com/questions/7512945/solr-error-opening-new-searcher-exceeded-limit-of-maxwarmingsearchers-2-try Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-starting-problem-after-spellchecker-configuration-tp4087766p4087

Re: multiValued : How do I specify name to each value returned by multiValue field.

2013-08-12 Thread manju16832003
Hi Jack, Thank you for the suggestions. I'm using DIH and the field names mobile,home,office comes as database fields. And 'phones' field is defined in schema.xml as multiValued. in DIH I'm using sub-entity for 'phones' fields. Let me give a try based on your suggestion :-). Thank you -- View

Re: multiValued : How do I specify name to each value returned by multiValue field.

2013-08-12 Thread manju16832003
Hi Tamanjit, Not really :-). **phones** is an multiValued. Usually solr will produce list of array of values without naming each row something like this Micheal Schumacher 090933434343 052323232323 073628362782 I wanted to be this way. Micheal Schumacher 090933434343

multiValued : How do I specify name to each value returned by multiValue field.

2013-08-12 Thread manju16832003
Hi All, I have a multiValued field, and it returns the result in the following manner Micheal Schumacher 090933434343 052323232323 073628362782 In the above document phones is multiValued and it works fine :-). However I would like to name each row in the 'phones' with meaning

Re: Solr design. Choose Cores or Shards?

2013-08-07 Thread manju16832003
Hi Eric, Thanks for your reply. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-design-Choose-Cores-or-Shards-tp4082930p4083178.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Problems with distributed MoreLikeThis

2013-08-06 Thread manju16832003
I'm not sure about the root cause in your case. However one thing to remember while MLT is that, *MLT does not work with integer fields*. In your case if 'catchall' is copyField and if you are trying to copy any integer values verify it again :-). Thanks -- View this message in context: http

Re: entity classification solr

2013-08-06 Thread manju16832003
Can you provide sample structure of the document with entities, how does the document look like?. As far as I can assume, you do not need to apply any filters. If you are entities are searchable include them in the fulltext or keyword research. Is your entities are part of the document and are they

Solr design. Choose Cores or Shards?

2013-08-06 Thread manju16832003
Hi, I have a confusion over choosing Cores or Shards for the project scenario. My scenario is as follows I have three entities 1. Customers 2. Product Info 3. Listings [Contains all the listings posted by customer based on product] I'm planning to design Solr structure for the above scenario l

Re: multiValued schema example (SOLVED)

2013-05-13 Thread manju16832003
Hi All, I managed to *solve* the issue I had posted earlier with respect to multiValued. Here is the Query suppose to configured this way in *data-config.xml * Description: in the below, first query has associated table images. Each person would have many images. Here the JSON/XML would return all

Re: MultiValue

2013-05-13 Thread manju16832003
Hi All, I managed to *solve* the issue I had posted earlier with respect to multiValued. Here is the Query suppose to configured this way in *data-config.xml * Description: in the below, first query has associated table images. Each person would have many images. Here the JSON/XML would return all

Re: MultiValue

2013-05-12 Thread manju16832003
Hi All, I wanted to achieve something similar [ { "last_name" : "jain", "training_skill":["c", "c++", "php,java,.net"] }] [{"person_id" : "111", "documents" : ["doc_1","doc_2","doc_3","doc4,doc5,doc6"]}] Meaning one person could have more than one document. how do we need to write the query, an

multiValue schema example

2013-05-09 Thread manju16832003
Hi, I have two table to be indexed. Table-1: Person [id,name,addr] Table-2: Docs [id,doc_name,person_id] Relationship is: One person can have many documents. I would like to get json as follows [ { "id" : "name", "address",["doc_id1", "doc_id2", "doc_id3,etc"] }] How would I configure this i