minGramSize

2013-04-23 Thread hassancrowdc
Hi, I want my minGramSize in ngram filter to be the size of the word passed in the query. how can i do that? Because if i put minsize to 2 and write in abc it gives me result for ab and bc i just want abc or what ever the length of my word is, i want it to be the minGram Size. how can i do that?

EdgeGram filter

2013-04-23 Thread hassancrowdc
Hi, I want to edgeNgram let's say this document that has 'difficult contents' so that if i query (using disman) q=dif it shows me this result. This is working fine. But now if i search for q=con it gives me this document as well. is there any way to only show this document when i search for 'dif'

Re: Searching

2013-04-19 Thread hassancrowdc
thanks. I was expecting an answer that could help me to choose analyzers or tokenizers. any help for anyone of the scenarios? -- View this message in context: http://lucene.472066.n3.nabble.com/Searching-tp4057328p4057465.html Sent from the Solr - User mailing list archive at Nabble.com.

Searching

2013-04-19 Thread hassancrowdc
I want to search so that: - if i write an alphabet it returns all the items that start with that alphabet(a returns apple, aspire etc). - if i ask for a whole string, it returns me just the results with exact string. (like search for Samsung S3 then only result is samsung s3) -if i ask for somet

Import in Solr

2013-04-19 Thread hassancrowdc
I want to update(delta-import) one specific item. Is there any query to do that? like i can delete specific item with the following query: localhost:8080/solr/devices/update?stream.body=id:46commit=true Thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/Import-in-S

Re: Paging and sorting in Solr

2013-04-18 Thread hassancrowdc
thnx -- View this message in context: http://lucene.472066.n3.nabble.com/Paging-and-sorting-in-Solr-tp4057000p4057098.html Sent from the Solr - User mailing list archive at Nabble.com.

Change the response of delta import

2013-04-18 Thread hassancrowdc
Is there any way i can change the response xml from delta import query: locathost:8080/solr/devices/dataimport?command=delta-import&commit=true I want to change the response. -- View this message in context: http://lucene.472066.n3.nabble.com/Change-the-response-of-delta-import-tp4057093.html

Solr indexing

2013-04-18 Thread hassancrowdc
Solr is not showing the dates i have in database. any help? is solr following any specific timezone? On my database my date is 2013-04-18 11:29:33 but solr shows me "2013-04-18T15:29:33Z". Any help -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-indexing-tp4057017.htm

Re: Paging and sorting in Solr

2013-04-18 Thread hassancrowdc
Hi, I double checked. It is the field. if i sort through manufacturer field it sorts but if i sort through name it does not sort. both the field has everything same. Is there any difference in sorting alphabetically or size of the word? -- View this message in context: http://lucene.472066.n3

Paging and sorting in Solr

2013-04-18 Thread hassancrowdc
I have done paging using solr rows and start query attributes. But now it shows me result with that is sorted page wise. I meant if i have the following scenario: rows=25&start=0&sort=manufacturer asc It will give me first 25 matching results and then sort only those. I want it to sort all

Re: solr tdate field

2013-04-15 Thread hassancrowdc
query is as following: "localhost:8080/solr/collection1/select?wt=json&omitHeader=true&defType=dismax&rows=11&qf=manufacturer%20model%20displayName&fl=id&q=samsung" and requesthandler: -- View this message in context: http://lucene.472066.n3.nabble.com/solr-tdate-field-tp4056069p

Re: solr tdate field

2013-04-15 Thread hassancrowdc
this is the date field in my schema.xml and i do not get the second point; how reference a non-TrieDateField. -- View this message in context: http://lucene.472066.n3.nabble.com/solr-tdate-field-tp4056069p4056088.html Sent from the Solr - User mailing list archive at Nabble.com.

solr tdate field

2013-04-15 Thread hassancrowdc
Hi, I have date field being indexed into solr. in my schema i have the following code for it, but in java, i get the following error when i search using solr: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Date Why is solr returning me String back where i have ty

solr j response

2013-02-10 Thread hassancrowdc
Hi, Can someone explain what is the response of solrj. After i am done, what will be the format of the result? For example, if normal response is like this by doing query http://localhost/solr/core/q=*:*&wtjson: {response {numfound:# , docs{ [ { id="#" createdDate="#" } { i

securing solr with jboss

2013-02-04 Thread hassancrowdc
Hi, i want same thing as the following but with jboss: http://knackforge.com/blog/sivaji/how-protect-apache-solr-admin-console how can i do that? any hint, or tutorial what can be helpful? regards, hassan -- View this message in context: http://lucene.472066.n3.nabble.com/securing-solr-with

Modify result json file

2013-01-28 Thread hassancrowdc
Hi, I want to change the name in the result json file from solr. Like i want numFound to be be totalNumRecords etc. Any hint how i can do that? -- View this message in context: http://lucene.472066.n3.nabble.com/Modify-result-json-file-tp4036853.html Sent from the Solr - User mailing list archi

Re: Deletion from database

2013-01-24 Thread hassancrowdc
ok, how can i issue delete for each item deleted since the last successful update? Do i write something like delete query with delta import query in dataconfig? If so, what will i add in dataconfig for deletion? -- View this message in context: http://lucene.472066.n3.nabble.com/Deletion-from-

Deletion from database

2013-01-24 Thread hassancrowdc
Hi, I am trying to figure out a way so that if i delete anything from my database how will that item be deleted from my indexed data? is there anyway i can make new core with same config as the existing core, do full index, swap the data with the existing core and delete the new core. So every tim

Re: ResultSet Solr

2013-01-23 Thread hassancrowdc
no I wanted it in json. i want it to start from where square bracket starts [ . I want to remove everything before that. I can get it in json by including wt=json. I just want to remove Response, numFound, start and docs. -- View this message in context: http://lucene.472066.n3.nabble.com/Resu

ResultSet Solr

2013-01-23 Thread hassancrowdc
Is there anyway i can get rid of the response header(response header, status, Qtime,response, numFound, start, docs) from the resultset of the query in solr. I only want to see the result without this info at the top. -- View this message in context: http://lucene.472066.n3.nabble.com/ResultSet

solr-datetime field

2013-01-23 Thread hassancrowdc
Date and time is not being displayed properly, It goes to he next line after year and month, see following: "createdDate":"2012-12- 21T21:34:51Z" in my schema: and type is: Is there any datetime field in solr that i can write in schema.xml so that my date and time are shown properly in my resu

Re: solr query

2013-01-22 Thread hassancrowdc
thnx. One quick question, can I control the way resultset of the query is shown: I mean if i want displayName to be shown first and then the id and then manufacturer and model? is there any way i can do that? -- View this message in context: http://lucene.472066.n3.nabble.com/solr-query-tp4035

Re: solr query

2013-01-22 Thread hassancrowdc
ok, i think it is phrase query problem. On Tue, Jan 22, 2013 at 11:40 AM, Shawn Heisey-4 [via Lucene] < ml-node+s472066n4035371...@n3.nabble.com> wrote: > On 1/22/2013 8:53 AM, hassancrowdc wrote: > > ok. Coming to my original question: problem is only manufacturer field > is

Re: solr query

2013-01-22 Thread hassancrowdc
pe of field as those are same as mysql type) On Tue, Jan 22, 2013 at 10:27 AM, Shawn Heisey-4 [via Lucene] < ml-node+s472066n4035345...@n3.nabble.com> wrote: > On 1/22/2013 8:16 AM, hassancrowdc wrote: > > > > > > > 0 > > 1 > > > > all > > tr

Re: solr query

2013-01-22 Thread hassancrowdc
Schema:

solr query

2013-01-22 Thread hassancrowdc
Hi, I have indexed data from mysql database to solr. Indexing is successful everything is woring ok but when i query through the fields of my table i can only query from one field none of the rest are giving me any resultset(numFound comes out to be 0) any idea how i can fix t or where should i loo

Re: Index data from multiple tables into Solr

2013-01-17 Thread hassancrowdc
com> wrote: > >> On 1/15/2013 1:37 PM, hassancrowdc wrote: >> > After indexing data from database to solr. I want to search such that >> if i >> > write any word (that is included in the documents been indexed) it >> should >> > return all the d

Re: Index data from multiple tables into Solr

2013-01-15 Thread hassancrowdc
setting up these tutorials and they are very > informative. > > -Original Message- > From: hassancrowdc [mailto:[hidden > email]<http://user/SendEmail.jtp?type=node&node=4033617&i=0>] > > Sent: Tuesday, January 15, 2013 3:38 PM > To: [hidden email] <

Re: Index data from multiple tables into Solr

2013-01-15 Thread hassancrowdc
it based on your application needs. > > -Original Message----- > From: hassancrowdc [mailto:[hidden > email]<http://user/SendEmail.jtp?type=node&node=4033563&i=0>] > > Sent: Tuesday, January 15, 2013 2:38 PM > To: [hidden email] <http://user/SendEmail.jtp?typ

Re: Index data from multiple tables into Solr

2013-01-15 Thread hassancrowdc
hat kind of server-side programming language you are using, > there might be some libraries available that will allow to integrate your > web-application with solr (for example: sunspot_solr in ruby) > > On Tue, Jan 15, 2013 at 5:24 AM, hassancrowdc <[hidden > email]<htt

Re: Index data from multiple tables into Solr

2013-01-14 Thread hassancrowdc
lumns. There several administration monitoring tools you may find > useful. > > On 01/14/2013 11:45 AM, hassancrowdc wrote: > > > ok stats are changing, so the data is indexed. But how can i do query > with > > this data, or ow can i search it, like the command will be

Re: Index data from multiple tables into Solr

2013-01-12 Thread hassancrowdc
>> multicore and hook it up to the database: >> >> http://www.coderthing.com/solr-with-multicore-and-database-hook-part-1/ >> >> I hope it helps! >> D. >> >> >> >> On Thu, Jan 10, 2013 at 6:19 PM, hassancrowdc <[hidden >> email]<http:

Index data from multiple tables into Solr

2013-01-10 Thread hassancrowdc
Hi, i am trying to index multiple tables in solr. I am not sure which data config file to be changed there are so many of them(like solr-data-config, db-data-config)? Also, do i have to change the id, name and desc to the name of the columns in my table? and how do i add solr_details field in