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' or
'di'. basically i want to edgegram 'difficultcontent' not 'difficult' and
'content'. Any help?


Thanks.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/EdgeGram-filter-tp4058337.html
Sent from the Solr - User mailing list archive at Nabble.com.


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?

Thanks.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/minGramSize-tp4058450.html
Sent from the Solr - User mailing list archive at Nabble.com.


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=deletequeryid:46/query/deletecommit=true

Thanks.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Import-in-Solr-tp4057301.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 something it returns me anything that is similar to what i m
asking.(like if i only write 'sam' it should return 'samsung') 

right now i m using text_en_splitting for my field type, it looks like this:

fieldType name=text_en_splitting class=solr.TextField
positionIncrementGap=100 autoGeneratePhraseQueries=true
  analyzer type=index
tokenizer class=solr.WhitespaceTokenizerFactory/


filter class=solr.StopFilterFactory ignoreCase=true
words=lang/stopwords_en.txt enablePositionIncrements=true/
filter class=solr.WordDelimiterFilterFactory
generateWordParts=1 generateNumberParts=1 catenateWords=1
catenateNumbers=1 catenateAll=0 splitOnCaseChange=1/
filter class=solr.LowerCaseFilterFactory/
filter class=solr.KeywordMarkerFilterFactory
protected=protwords.txt/
filter class=solr.PorterStemFilterFactory/
  /analyzer
  analyzer type=query
tokenizer class=solr.WhitespaceTokenizerFactory/
filter class=solr.SynonymFilterFactory synonyms=synonyms.txt
ignoreCase=true expand=true/
filter class=solr.StopFilterFactory
ignoreCase=true
words=lang/stopwords_en.txt
enablePositionIncrements=true
/
filter class=solr.WordDelimiterFilterFactory
generateWordParts=1 generateNumberParts=1 catenateWords=0
catenateNumbers=0 catenateAll=0 splitOnCaseChange=1/
filter class=solr.LowerCaseFilterFactory/
filter class=solr.KeywordMarkerFilterFactory
protected=protwords.txt/
filter class=solr.PorterStemFilterFactory/
filter class=solr.PositionFilterFactory /
  /analyzer
/fieldType



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Searching-tp4057328.html
Sent from the Solr - User mailing list archive at Nabble.com.


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.


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=25start=0sort=manufacturer asc 

It will give me first 25 matching results and then sort only those. 

I want it to sort all the results first and then apply rows and start. How
can i do that?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Paging-and-sorting-in-Solr-tp4057000.html
Sent from the Solr - User mailing list archive at Nabble.com.


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.nabble.com/Paging-and-sorting-in-Solr-tp4057000p4057013.html
Sent from the Solr - User mailing list archive at Nabble.com.


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.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-importcommit=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
Sent from the Solr - User mailing list archive at Nabble.com.


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.


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, 

field name=createdDate type=date indexed=true stored=true
required=true /

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 type=date in schema.xml?

Thanks. 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-tdate-field-tp4056069.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: solr tdate field

2013-04-15 Thread hassancrowdc
fieldType name=date class=solr.TrieDateField precisionStep=0
positionIncrementGap=0/

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.


Re: solr tdate field

2013-04-15 Thread hassancrowdc
query is as following:
localhost:8080/solr/collection1/select?wt=jsonomitHeader=truedefType=dismaxrows=11qf=manufacturer%20model%20displayNamefl=idq=samsung

and 

requesthandler:

requestHandler name=standard class=solr.StandardRequestHandler
default=true /
  requestHandler name=/update class=solr.XmlUpdateRequestHandler /
  requestHandler name=/admin/
class=org.apache.solr.handler.admin.AdminHandlers /



--
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-tdate-field-tp4056069p4056100.html
Sent from the Solr - User mailing list archive at Nabble.com.


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=#
   }
   {
id=#
createdDate=#
   }
  ]
  }
  }
and i want to format createdDate. will the result of the solrj make
createdDate a java object so that i can format it the way i want to?

thanks



--
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-j-response-tp4039606.html
Sent from the Solr - User mailing list archive at Nabble.com.


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-jboss-tp4038388.html
Sent from the Solr - User mailing list archive at Nabble.com.


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 archive at Nabble.com.


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 time i delete anything from database, it creates a new core, index
data, swap it and then delete the new core(that was made)?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Deletion-from-database-tp4036018.html
Sent from the Solr - User mailing list archive at Nabble.com.


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-database-tp4036018p4036026.html
Sent from the Solr - User mailing list archive at Nabble.com.


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: 
field name=createdDate type=date indexed=true stored=true
required=true /
and type is:
fieldType name=date class=solr.TrieDateField precisionStep=0
positionIncrementGap=0/

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 resultset(json) from solr?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-datetime-field-tp4035704.html
Sent from the Solr - User mailing list archive at Nabble.com.


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-tp4035729.html
Sent from the Solr - User mailing list archive at Nabble.com.


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/ResultSet-Solr-tp4035729p4035748.html
Sent from the Solr - User mailing list archive at Nabble.com.


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 look for problem? I have seen logs it does not show anything
happen. 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-query-tp4035325.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: solr query

2013-01-22 Thread hassancrowdc
Schema:
?xml version=1.0 encoding=UTF-8 ?
schema name=User Schema version=1.0
types
fieldtype name=string  class=solr.StrField
sortMissingLast=true omitNorms=true/
fieldType name=boolean class=solr.BoolField
sortMissingLast=true/
fieldType name=int class=solr.TrieIntField precisionStep=0
positionIncrementGap=0/
fieldType name=float class=solr.TrieFloatField
precisionStep=0 positionIncrementGap=0/
fieldType name=long class=solr.TrieLongField precisionStep=0
positionIncrementGap=0/
fieldType name=double class=solr.TrieDoubleField
precisionStep=0 positionIncrementGap=0/
fieldType name=date class=solr.TrieDateField precisionStep=0
positionIncrementGap=0/
fieldType name=text class=solr.TextField
positionIncrementGap=100
 analyzer type=index
tokenizer class=solr.WhitespaceTokenizerFactory/
filter class=solr.StopFilterFactory ignoreCase=true
words=stopwords.txt enablePositionIncrements=true /
filter class=solr.LowerCaseFilterFactory/
/analyzer
analyzer type=query
tokenizer class=solr.WhitespaceTokenizerFactory/
filter class=solr.StopFilterFactory ignoreCase=true
words=stopwords.txt enablePositionIncrements=true /
filter class=solr.SynonymFilterFactory
synonyms=synonyms.txt ignoreCase=true expand=true/
filter class=solr.LowerCaseFilterFactory/
/analyzer
/fieldType
/types
 
fields
field name=id type=int indexed=true stored=true
required=true multiValued=false/
field name=manufacturer type=string indexed=true stored=true
required=true /
field name=model type=string indexed=true stored=true
required=true /
field name=displayName type=string indexed=true stored=true
required=true /
field name=displayImg type=string indexed=true stored=true
required=true /
field name=status type=string indexed=true stored=true
required=true /
field name=createdBy type=string indexed=true stored=true
required=true /
   /fields
 

uniqueKeyid/uniqueKey 

solrQueryParser defaultOperator=OR/
/schema

solrconfig:

?xml version=1.0 encoding=UTF-8 ?
config
  luceneMatchVersionLUCENE_40/luceneMatchVersion
  
  directoryFactory name=DirectoryFactory
class=${solr.directoryFactory:solr.StandardDirectoryFactory}/
 
  updateHandler class=solr.DirectUpdateHandler2 /
 
  requestDispatcher handleSelect=true 
requestParsers enableRemoteStreaming=false
multipartUploadLimitInKB=2048 /
  /requestDispatcher
 
  requestHandler name=standard class=solr.StandardRequestHandler
default=true /
  requestHandler name=/update class=solr.XmlUpdateRequestHandler /
  requestHandler name=/admin/
class=org.apache.solr.handler.admin.AdminHandlers / 
   
  admin
defaultQuery*:*/defaultQuery
  /admin
  requestHandler name=/dataimport
class=org.apache.solr.handler.dataimport.DataImportHandler
lst name=defaults
  str name=configdata-config.xml/str
  lst name=datasource
 str name=drivercom.mysql.jdbc.Driver/str
 str name=urljdbc:mysql://localhost:/**/str
 str name=user/str
 str name=password*/str
  /lst
/lst
  /requestHandler
 
/config

dataconfig:
?xml version=1.0 encoding=UTF-8?
dataConfig
document name=doc
entity name=cc_gadget pk=id query=select * from cc_gadget
deltaImportQuery=select * from cc_gadget where
id='${dataimporter.delta.id}'
deltaQuery=select id from cc_gadget where last_modified_date 
gt;
'${dataimporter.last_index_time}'
field column=id name=id/
field column=manufacturer name=manufacturer/
field column=model name=model/
field column=display_img name=displayImg /
field column=status name=status /
field column=created_by name=createdBy /
entity name=cc_gadget_lang pk=gadget_id query=select display_desc,
language from cc_gadget_lang where gadget_id ='${cc_gadget.id}'
   deltaQuery=select gadget_id from cc_gadget_lang where
gadget_id='${cc_gadget.id}'
field column=display_desc name=displayName/
/entity
   /entity
/document
/dataConfig

the only field i can query through is manufacturer i cant query through
anyother field like model or anyother. 
query in browser:
http://localhost:8080/solr/collection1/select?q=kobodefType=dismaxqf=modeldebugQuery=trueindent=trueechoParams=all

query response: 

response
lst name=responseHeader
int name=status0/int
int name=QTime1/int
lst name=params
str name=echoParamsall/str
str name=debugQuerytrue/str
str name=indenttrue/str
str name=qkobo/str
str name=qfmodel/str
str name=defTypedismax/str
/lst
/lst
result name=response numFound=0 start=0/result
lst name=debug
str name=rawquerystringkobo/str
str 

Re: solr query

2013-01-22 Thread hassancrowdc
I thought that is the problem in the beginning but I have tried Kobo, but
it does not give me result(numFound=0) If you want i can send you xml of
resultset. and can you explain ho i can make it flexible so that it takes
care of upper/lowercase or any other character? (I can't change the type 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:

  response
  lst name=responseHeader
  int name=status0/int
  int name=QTime1/int
  lst name=params
  str name=echoParamsall/str
  str name=debugQuerytrue/str
  str name=indenttrue/str
  str name=qkobo/str
  str name=qfmodel/str
  str name=defTypedismax/str

 Based on what I can see, I am thinking it didn't match because what's in
 your index is probably Kobo, and you are searching for kobo.  The type
 on all your fields except id is string, which is defined as StrField
 with no analysis chain.  This means that your queries must be *precise*
 - including uppercase/lowercase and any other characters.  If your value
 were to include spaces, you would have to enclose the query text in
 quotes to make it a phrase query.

 You do have one fieldtype (text) that would make this match - the
 analysis chain includes LowerCaseFilterFactory.  You would have to
 change the types of one or more of your fields and then completely
 reindex.

 Thanks,
 Shawn



 --
  If you reply to this email, your message will be added to the discussion
 below:
 http://lucene.472066.n3.nabble.com/solr-query-tp4035325p4035345.html
  To unsubscribe from solr query, click 
 herehttp://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=4035325code=aGFzc2FuY3Jvd2RjYXJlQGdtYWlsLmNvbXw0MDM1MzI1fC00ODMwNzMyOTM=
 .
 NAMLhttp://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml





--
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-query-tp4035325p4035351.html
Sent from the Solr - User mailing list archive at Nabble.com.

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
  working. with the same code and everything, if i use manufacturer field
 in
  query it gives me results but not with model or displayName etc. what
  should i do?

 When you search by manufacturer and find a record that a model search
 for kobo should also find, what do you see in the model field?  Any
 characters (spaces or anything else) other than the following?

 str name=modelKobo/str

 Thanks,
 Shawn



 --
  If you reply to this email, your message will be added to the discussion
 below:
 http://lucene.472066.n3.nabble.com/solr-query-tp4035325p4035371.html
  To unsubscribe from solr query, click 
 herehttp://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=4035325code=aGFzc2FuY3Jvd2RjYXJlQGdtYWlsLmNvbXw0MDM1MzI1fC00ODMwNzMyOTM=
 .
 NAMLhttp://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml





--
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-query-tp4035325p4035375.html
Sent from the Solr - User mailing list archive at Nabble.com.

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-tp4035325p4035390.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Index data from multiple tables into Solr

2013-01-15 Thread hassancrowdc
Hi,
once i have indexed data from multiple tables from mysql database into
solr, is there any way that it update data(automatically) if any change is
made to the data in mysql?


On Tue, Jan 15, 2013 at 6:13 AM, Naresh [via Lucene] 
ml-node+s472066n403343...@n3.nabble.com wrote:

 Get user's input, form the solr query and send a request to the server
 (you
 can also pass a parameter called wt (xml,json etc) to direct solr to
 return
 output in that format). Parse the results from solr and display them to
 user in your website.

 Depending on what 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]http://user/SendEmail.jtp?type=nodenode=4033438i=0wrote:


  thanx, I got it.
 
  How Can i integrate solr with my website? so that i can use it for
 search?
 
 
  On Mon, Jan 14, 2013 at 4:04 PM, Lance Norskog-2 [via Lucene] 
  [hidden email] http://user/SendEmail.jtp?type=nodenode=4033438i=1
 wrote:
 
   Try all of the links under the collection name in the lower left-hand
   columns. 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
http://localhost:8983/solr/select?q=(any of my field column from
   table)?
coz whatever i am putting in my url it shows me an xml file but the
numFound are always 0?
   
   
On Sat, Jan 12, 2013 at 1:24 PM, Alexandre Rafalovitch [via Lucene]
 
[hidden email] http://user/SendEmail.jtp?type=nodenode=4033291i=0

   wrote:
   
Have you tried the Admin interface yet? The one on :8983 port if
 you
   are
running default setup. That has a bunch of different stats you can
  look
   at
apart from a nice way of doing a query. I am assuming you are on
 Solr
   4,
of
course.
   
Regards,
Alex.
   
On Fri, Jan 11, 2013 at 5:13 PM, hassancrowdc [hidden email]
   http://user/SendEmail.jtp?type=nodenode=4032778i=0wrote:
   
   
So, I followed all the steps and solr is working successfully, Can
  you
please tell me how i can see if my data is indexed or not? do i
 have
   to
enter specific url into my browser or anything. I want to make
 sure
   that
the data is indexed.
   
   
   
Personal blog: http://blog.outerthoughts.com/
LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch
- Time is the quality of nature that keeps events from happening
 all
  at
once. Lately, it doesn't seem to be working.  (Anonymous  - via GTD
   book)
   
   
--
  If you reply to this email, your message will be added to the
   discussion
below:
   
   
  
.
NAML
  
 
 http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
  
  
   
   
   
   
--
View this message in context:
  
 
 http://lucene.472066.n3.nabble.com/Index-data-from-multiple-tables-into-Solr-tp4032266p4033268.html
  
Sent from the Solr - User mailing list archive at Nabble.com.
  
  
  
   --
If you reply to this email, your message will be added to the
 discussion
   below:
  
  
 
 http://lucene.472066.n3.nabble.com/Index-data-from-multiple-tables-into-Solr-tp4032266p4033291.html
To unsubscribe from Index data from multiple tables into Solr, click
  here
 
 
   .
   NAML
 
 http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
  
  
 
 
 
 
  --
  View this message in context:
 
 http://lucene.472066.n3.nabble.com/Index-data-from-multiple-tables-into-Solr-tp4032266p4033296.html

  Sent from the Solr - User mailing list archive at Nabble.com.
 



 --
 Regards
 Naresh


 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://lucene.472066.n3.nabble.com/Index-data-from-multiple-tables-into-Solr-tp4032266p4033438.html
  To unsubscribe from Index data from multiple tables into Solr, click 
 herehttp://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=4032266code=aGFzc2FuY3Jvd2RjYXJlQGdtYWlsLmNvbXw0MDMyMjY2fC00ODMwNzMyOTM=
 .
 NAMLhttp

Re: Index data from multiple tables into Solr

2013-01-15 Thread hassancrowdc
okay, thank you.

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 documents that include that word. But it does not. When i
write http://localhost:8983/solr/select?q=anyword   i gives me error.

is there anything wrong with my http? or is this the wrong place to search?


On Tue, Jan 15, 2013 at 2:48 PM, sswoboda [via Lucene] 
ml-node+s472066n4033563...@n3.nabble.com wrote:

 https://wiki.apache.org/solr/Solrj client. You'd have to configure it /
 use it based on your application needs.

 -Original Message-
 From: hassancrowdc [mailto:[hidden 
 email]http://user/SendEmail.jtp?type=nodenode=4033563i=0]

 Sent: Tuesday, January 15, 2013 2:38 PM
 To: [hidden email] http://user/SendEmail.jtp?type=nodenode=4033563i=1
 Subject: Re: Index data from multiple tables into Solr

 ok.
 so if i have manufacturer and id fields in schema file, what will be wat
 will be program that will use that will use solr API?




 --
 View this message in context:
 http://lucene.472066.n3.nabble.com/Index-data-from-multiple-tables-into-Solr-tp4032266p4033556.html

 Sent from the Solr - User mailing list archive at Nabble.com.


 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://lucene.472066.n3.nabble.com/Index-data-from-multiple-tables-into-Solr-tp4032266p4033563.html
  To unsubscribe from Index data from multiple tables into Solr, click 
 herehttp://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=4032266code=aGFzc2FuY3Jvd2RjYXJlQGdtYWlsLmNvbXw0MDMyMjY2fC00ODMwNzMyOTM=
 .
 NAMLhttp://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml





--
View this message in context: 
http://lucene.472066.n3.nabble.com/Index-data-from-multiple-tables-into-Solr-tp4032266p4033614.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Index data from multiple tables into Solr

2013-01-15 Thread hassancrowdc
I dont want to search by one field, i want to search as a whole. I am
following that tutorial i got indexing, updating but now for search i would
like to search through everything i have indexed not a specific field. I
can do by using defaultfield but i would like to search through everything
i have indexed. any hint how i can do that?


On Tue, Jan 15, 2013 at 3:49 PM, sswoboda [via Lucene] 
ml-node+s472066n4033617...@n3.nabble.com wrote:

 What error are you getting? Which field are you searching (default field)?
 Did you try specifying a default field? What is your schema like? Which
 analyzers did you use?

 Which version of solr are you using? I highly recommend going through the
 tutorial to get a basic understanding of inserting, updating, and
 searching:

 http://lucene.apache.org/solr/tutorial.html

 Hours have been spent in setting up these tutorials and they are very
 informative.

 -Original Message-
 From: hassancrowdc [mailto:[hidden 
 email]http://user/SendEmail.jtp?type=nodenode=4033617i=0]

 Sent: Tuesday, January 15, 2013 3:38 PM
 To: [hidden email] http://user/SendEmail.jtp?type=nodenode=4033617i=1
 Subject: Re: Index data from multiple tables into Solr

 okay, thank you.

 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 documents that include that word. But it does not. When i
 write http://localhost:8983/solr/select?q=anyword   i gives me error.

 is there anything wrong with my http? or is this the wrong place to
 search?


 On Tue, Jan 15, 2013 at 2:48 PM, sswoboda [via Lucene] 
 [hidden email] http://user/SendEmail.jtp?type=nodenode=4033617i=2
 wrote:

  https://wiki.apache.org/solr/Solrj client. You'd have to configure it
  / use it based on your application needs.
 
  -Original Message-
  From: hassancrowdc [mailto:[hidden
  email]http://user/SendEmail.jtp?type=nodenode=4033563i=0]
 
  Sent: Tuesday, January 15, 2013 2:38 PM
  To: [hidden email]
  http://user/SendEmail.jtp?type=nodenode=4033563i=1
  Subject: Re: Index data from multiple tables into Solr
 
  ok.
  so if i have manufacturer and id fields in schema file, what will be
  wat will be program that will use that will use solr API?
 
 
 
 
  --
  View this message in context:
  http://lucene.472066.n3.nabble.com/Index-data-from-multiple-tables-int
  o-Solr-tp4032266p4033556.html
 
  Sent from the Solr - User mailing list archive at Nabble.com.
 
 
  --
   If you reply to this email, your message will be added to the
  discussion
  below:
 
  http://lucene.472066.n3.nabble.com/Index-data-from-multiple-tables-int
  o-Solr-tp4032266p4033563.html  To unsubscribe from Index data from
  multiple tables into Solr, click
  herehttp://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro
  =unsubscribe_by_codenode=4032266code=aGFzc2FuY3Jvd2RjYXJlQGdtYWlsLmN
  vbXw0MDMyMjY2fC00ODMwNzMyOTM=
  .
  NAMLhttp://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro
  =macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.n
  amespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabb
  le.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21na
  bble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_em
  ail%21nabble%3Aemail.naml
 




 --
 View this message in context:
 http://lucene.472066.n3.nabble.com/Index-data-from-multiple-tables-into-Solr-tp4032266p4033614.html

 Sent from the Solr - User mailing list archive at Nabble.com.


 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://lucene.472066.n3.nabble.com/Index-data-from-multiple-tables-into-Solr-tp4032266p4033617.html
  To unsubscribe from Index data from multiple tables into Solr, click 
 herehttp://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=4032266code=aGFzc2FuY3Jvd2RjYXJlQGdtYWlsLmNvbXw0MDMyMjY2fC00ODMwNzMyOTM=
 .
 NAMLhttp://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml





--
View this message in context: 
http://lucene.472066.n3.nabble.com/Index-data-from-multiple-tables-into-Solr-tp4032266p4033622.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Index data from multiple tables into Solr

2013-01-14 Thread hassancrowdc
thanx, I got it.

How Can i integrate solr with my website? so that i can use it for search?


On Mon, Jan 14, 2013 at 4:04 PM, Lance Norskog-2 [via Lucene] 
ml-node+s472066n4033291...@n3.nabble.com wrote:

 Try all of the links under the collection name in the lower left-hand
 columns. 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
  http://localhost:8983/solr/select?q=(any of my field column from
 table)?
  coz whatever i am putting in my url it shows me an xml file but the
  numFound are always 0?
 
 
  On Sat, Jan 12, 2013 at 1:24 PM, Alexandre Rafalovitch [via Lucene] 
  [hidden email] http://user/SendEmail.jtp?type=nodenode=4033291i=0
 wrote:
 
  Have you tried the Admin interface yet? The one on :8983 port if you
 are
  running default setup. That has a bunch of different stats you can look
 at
  apart from a nice way of doing a query. I am assuming you are on Solr
 4,
  of
  course.
 
  Regards,
  Alex.
 
  On Fri, Jan 11, 2013 at 5:13 PM, hassancrowdc [hidden email]
 http://user/SendEmail.jtp?type=nodenode=4032778i=0wrote:
 
 
  So, I followed all the steps and solr is working successfully, Can you
  please tell me how i can see if my data is indexed or not? do i have
 to
  enter specific url into my browser or anything. I want to make sure
 that
  the data is indexed.
 
 
 
  Personal blog: http://blog.outerthoughts.com/
  LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch
  - Time is the quality of nature that keeps events from happening all at
  once. Lately, it doesn't seem to be working.  (Anonymous  - via GTD
 book)
 
 
  --
If you reply to this email, your message will be added to the
 discussion
  below:
 
 

  .
  NAML
 http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml

 
 
 
 
  --
  View this message in context:
 http://lucene.472066.n3.nabble.com/Index-data-from-multiple-tables-into-Solr-tp4032266p4033268.html

  Sent from the Solr - User mailing list archive at Nabble.com.



 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://lucene.472066.n3.nabble.com/Index-data-from-multiple-tables-into-Solr-tp4032266p4033291.html
  To unsubscribe from Index data from multiple tables into Solr, click 
 herehttp://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=4032266code=aGFzc2FuY3Jvd2RjYXJlQGdtYWlsLmNvbXw0MDMyMjY2fC00ODMwNzMyOTM=
 .
 NAMLhttp://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml





--
View this message in context: 
http://lucene.472066.n3.nabble.com/Index-data-from-multiple-tables-into-Solr-tp4032266p4033296.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Index data from multiple tables into Solr

2013-01-12 Thread hassancrowdc
So, I followed all the steps and solr is working successfully, Can you
please tell me how i can see if my data is indexed or not? do i have to
enter specific url into my browser or anything. I want to make sure that
the data is indexed.

your tutorial is very helpful, thanks again.


On Fri, Jan 11, 2013 at 10:26 AM, hassan altaf hassancrowdc...@gmail.comwrote:

 Thanks a lot.

 Do i have to use multicore for indexing mysql data ? Can you please
 explain the purpose or functionality of multicore?


 On Fri, Jan 11, 2013 at 8:56 AM, Dariusz Borowski [via Lucene] 
 ml-node+s472066n4032511...@n3.nabble.com wrote:

 Hi!

 I know the pain! ;)

 That's why I wrote a bit on a blog, so I could remember in the future.
 Here
 is the link in case you would like to read a tutorial how to setup SOLR
 w/
 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://user/SendEmail.jtp?type=nodenode=4032511i=0wrote:


  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 schema?
 
 
 
  --
  View this message in context:
 
 http://lucene.472066.n3.nabble.com/Index-data-from-multiple-tables-into-Solr-tp4032266.html
  Sent from the Solr - User mailing list archive at Nabble.com.
 


 --
  If you reply to this email, your message will be added to the
 discussion below:

 http://lucene.472066.n3.nabble.com/Index-data-from-multiple-tables-into-Solr-tp4032266p4032511.html
  To unsubscribe from Index data from multiple tables into Solr, click
 herehttp://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=4032266code=aGFzc2FuY3Jvd2RjYXJlQGdtYWlsLmNvbXw0MDMyMjY2fC00ODMwNzMyOTM=
 .
 NAMLhttp://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml







--
View this message in context: 
http://lucene.472066.n3.nabble.com/Index-data-from-multiple-tables-into-Solr-tp4032266p4032655.html
Sent from the Solr - User mailing list archive at Nabble.com.

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 schema?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Index-data-from-multiple-tables-into-Solr-tp4032266.html
Sent from the Solr - User mailing list archive at Nabble.com.