When you specify a sort parameter it totally overrides the
scoring. You can specify multiple sort criteria, e.g. both
live_dt and score. If you specify two sort criteria, any
ties in the first are broken by the second and so on through
as many sort criteria as you have specified.
Note that specify
Thanks eric
i think thats the way to go
This leads to one more question. since now that i have two doc with the same
content path i want to get distinct content path with max date.
1
/editorial-updates
Sept content : Honda is releasing the car this
month
2
/editorial-update
I'd index them as separate documents.
Best,
Erick
On Mon, Oct 7, 2013 at 2:59 PM, Darniz wrote:
> Thanks Eric
>
> Ok if we go by that proposal of copying all date fields into on bag_of_dates
> field
>
> Hence now we have a field and it will look something like this.
>
> 2013-09-01T00:00:0
Thanks Eric
Ok if we go by that proposal of copying all date fields into on bag_of_dates
field
Hence now we have a field and it will look something like this.
2013-09-01T00:00:00Z
2013-12-01T00:00:00Z
Sept content : Honda is releasing the car this month
Dec content : T
Wait, are you saying you have fields like
2013-12-01T00:00:00Z_entryDate? So
you have some wildcard definition in your
schema like
*_entryDate type="tdate"?
If so, I think your model is just wrong and you should
have some field(s) that you store dates in.
That aside, and assuming you have wildcard
Thanks Eric.
i hope i understood correctly, but my main concern is i have to tie specific
content indexed to a specific time range. and make that document come up in
search results only for that time. As i have mentioned in my previous
example we have multiple data-string structures which makes a
the copyField directive handles glob patterns as the source, did you try that?
Best,
Erick
On Thu, Oct 3, 2013 at 10:49 PM, Darniz wrote:
> i am assuming there is no solution or i have to handle it at index time.
>
> Any solr experts please
>
>
>
> --
> View this message in context:
> http://lu
i am assuming there is no solution or i have to handle it at index time.
Any solr experts please
--
View this message in context:
http://lucene.472066.n3.nabble.com/Doing-time-sensitive-search-in-solr-tp4092273p4093414.html
Sent from the Solr - User mailing list archive at Nabble.com.
Thanks Eric
When i did solr in 2010 i thought now they might have evolved and allow
doing query by providing wildcard in field name, but looks like i have to
provide a concrete dynamic field name to query.
Anyway will look in the catch all fields.
Do you have any examples on how a catch all fiel
Try it and see :).
Dynamic fields are just like regular fields once you index a document
that uses one. After that, they should behave just like regular.
If you're asking if you can create a query like *_txt:text meaning
search all the fields that end with _txt for the word "text", I don't
think
Hello
i just wanted to make sure can we query dynamic fields using wildcard well
if not then i dont think this solution might work, since i dont know the
exact concrete name of the field.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Doing-time-sensitive-search-in-solr-
Thanks for the quick answers.
i have gone thru the presentation and thats what i was tilting towards using
dynamic fields i just want to run down an example so thats its clear about
how to approach this issue.
Sept content : Honda is releasing the car this month
Dec content : Toyota is
If your different strings have different semantics (date, etc), you may
need to split your entries based on that semantics.
Either have the 'entity' represent one 'string-date' structure or have
additional field that represents content searchable during that specific
period and only have one with
Hi Darniz,
Just put the date in a separate field and add a range query on that field
to your existing query.
Otis
Solr & ElasticSearch Support
http://sematext.com/
On Sep 26, 2013 7:53 PM, "Darniz" wrote:
> hello Users,
>
> i have a requirement where my content should be search based upon time.
14 matches
Mail list logo