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
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.
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
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
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
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
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
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.
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
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
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.
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'
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?
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
>> 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:
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
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
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
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] <
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
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
Schema:
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
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
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
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
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
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
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
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-
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
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
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
33 matches
Mail list logo