Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion [ANN] Mongoosastic: Mongoose + Elastic Search

Received: by 10.58.145.227 with SMTP id sx3mr834726veb.31.1349292695762;
        Wed, 03 Oct 2012 12:31:35 -0700 (PDT)
X-BeenThere: mongoose-orm@googlegroups.com
Received: by 10.220.141.4 with SMTP id k4ls1701243vcu.8.gmail; Wed, 03 Oct
 2012 12:31:34 -0700 (PDT)
Received: by 10.52.93.132 with SMTP id cu4mr696873vdb.14.1349292694856;
        Wed, 03 Oct 2012 12:31:34 -0700 (PDT)
Date: Wed, 3 Oct 2012 12:31:34 -0700 (PDT)
From: shawn wilson <ag4ve...@gmail.com>
To: mongoose-orm@googlegroups.com
Message-Id: <88a3dbff-c95a-4394-9297-47270c906dfd@googlegroups.com>
In-Reply-To: <CAJreXKAc3TfFMKBFqsfzb3vnn8v1rAL5t4SO5AEuV7FHryRH4A@mail.gmail.com>
References: <CAJreXKDezsCdJzQ8mqmWUD4yKHUr8uC1O7u0eDkqD6QgKK=3vw@mail.gmail.com>
 <dd15b272-7aa9-42d7-a272-4bf05185f5e7@googlegroups.com>
 <CAJreXKB6g5M72r4BLbF8KUdd8JY5XnACZ4+QWH89y+ZyhJ_DGA@mail.gmail.com>
 <CAGYf_qQFS=GC-=VmJh_TdsKo+CXOT1tr3bLGreze+xbA1J5ZNw@mail.gmail.com>
 <CAJreXKAc3TfFMKBFqsfzb3vnn8v1rAL5t4SO5AEuV7FHryRH4A@mail.gmail.com>
Subject: Re: [mongoose] Re: [ANN] Mongoosastic: Mongoose + Elastic Search
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_577_4232827.1349292694435"

------=_Part_577_4232827.1349292694435
Content-Type: multipart/alternative; 
	boundary="----=_Part_578_5739662.1349292694435"

------=_Part_578_5739662.1349292694435
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

months later, but yes i can provide a use case now. i want a back end 
"scraper" to take json and shove it into es. the only thing i really want 
in mongo are a few values from the structure, the resource it came from, 
and a timestamp. mongo never needs to see the majority of this data, and 
when i query it, i just want it passed along as maybe a 'meta: { <es data> 
}' object or some such.

i can hydrate the result to get the query done (i think). however, i'm 
thinking i'm going to have to write some pre or post hook to do the insert 
and didn't know whether there was a cleaner way in your plugin?

i found this thread first with the question which is why i'm posting here. 
however, i can submit an issue if that would be preferred.

On Wednesday, June 20, 2012 5:09:20 PM UTC, James Carr wrote:
>
> Could you provide a use case or example?
>
> I'm looking to add features but not sure how'd this would be used.
>
> Thanks,
> James
> On Jun 20, 2012 11:55 AM, "Phill Rosen" <phill...@gmail.com <javascript:>> 
> wrote:
>
>> Would be cool if a stream from es could update/insert to mongoose.
>>
>> On Wed, Jun 20, 2012 at 12:51 PM, James Carr <james....@gmail.com<javascript:>> 
>> wrote:
>> > Great, this is why i wanted to announce this ASAP so I could get some
>> > feature requests. ;)
>> >
>> > I'll add it to the issue tracker and get started.
>> >
>> > Thanks,
>> > James
>> >
>> > On Jun 20, 2012 11:19 AM, "Charlie" <cha...@powmedia.co.uk<javascript:>> 
>> wrote:
>> >>
>> >> I've been integrating ElasticSearch into my app this week so this looks
>> >> interesting.
>> >>
>> >> It would be great if there was a way to also set boosts per field,
>> >> alongside the es_indexed option.  In the model would be a great place 
>> to
>> >> define this mapping anyway
>> >> (http://www.elasticsearch.org/guide/reference/mapping/)
>> >>
>> >> Will try it out this week, thanks
>> >>
>> >>
>> >>
>> >> On Wednesday, June 20, 2012 4:26:01 PM UTC+1, James Carr wrote:
>> >>>
>> >>> Hey All,
>> >>>
>> >>> I just released a new mongoose plugin last night that allows mongoose
>> >>> models to be indexed in elasticsearch on save for full text 
>> searching. For
>> >>> now just about all of the Query DSL in elastic search (or at least as 
>> much
>> >>> as is supported by elastical) works.
>> >>>
>> >>> Check it out and let me know of any improvements that can be
>> >>> made: http://jamescarr.github.com/mongoosastic/
>> >>>
>> >>>
>> >>>
>> >>> Thanks,
>> >>> James
>> >>
>> >> --
>> >> http://mongoosejs.com
>> >> http://github.com/learnboost/mongoose
>> >> You received this message because you are subscribed to the Google
>> >> Groups "Mongoose Node.JS ORM" group.
>> >> To post to this group, send email to mongoo...@googlegroups.com<javascript:>
>> >> To unsubscribe from this group, send email to
>> >> mongoose-orm...@googlegroups.com <javascript:>
>> >> For more options, visit this group at
>> >> http://groups.google.com/group/mongoose-orm?hl=en
>> >
>> > --
>> > http://mongoosejs.com
>> > http://github.com/learnboost/mongoose
>> > You received this message because you are subscribed to the Google
>> > Groups "Mongoose Node.JS ORM" group.
>> > To post to this group, send email to mongoo...@googlegroups.com<javascript:>
>> > To unsubscribe from this group, send email to
>> > mongoose-orm...@googlegroups.com <javascript:>
>> > For more options, visit this group at
>> > http://groups.google.com/group/mongoose-orm?hl=en
>>
>> --
>> http://mongoosejs.com
>> http://github.com/learnboost/mongoose
>> You received this message because you are subscribed to the Google
>> Groups "Mongoose Node.JS ORM" group.
>> To post to this group, send email to mongoo...@googlegroups.com<javascript:>
>> To unsubscribe from this group, send email to
>> mongoose-orm...@googlegroups.com <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/mongoose-orm?hl=en
>>
>
------=_Part_578_5739662.1349292694435
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

months later, but yes i can provide a use case now. i want a back end "scra=
per" to take json and shove it into es. the only thing i really want in mon=
go are a few values from the structure, the resource it came from, and a ti=
mestamp. mongo never needs to see the majority of this data, and when i que=
ry it, i just want it passed along as maybe a 'meta: { &lt;es data&gt; }' o=
bject or some such.<div><br></div><div>i can hydrate the result to get the =
query done (i think). however, i'm thinking i'm going to have to write some=
 pre or post hook to do the insert and didn't know whether there was a clea=
ner way in your plugin?</div><div><br></div><div>i found this thread first =
with the question which is why i'm posting here. however, i can submit an i=
ssue if that would be preferred.<br><br>On Wednesday, June 20, 2012 5:09:20=
 PM UTC, James Carr wrote:<blockquote class=3D"gmail_quote" style=3D"margin=
: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><p>C=
ould you provide a use case or example?</p>
<p>I'm looking to add features but not sure how'd this would be used.</p>
<p>Thanks,<br>
James</p>
<div class=3D"gmail_quote">On Jun 20, 2012 11:55 AM, "Phill Rosen" &lt;<a h=
ref=3D"javascript:" target=3D"_blank" gdf-obfuscated-mailto=3D"h9UcRLX5S20J=
">phill...@gmail.com</a>&gt; wrote:<br type=3D"attribution"><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa=
dding-left:1ex">
Would be cool if a stream from es could update/insert to mongoose.<br>
<br>
On Wed, Jun 20, 2012 at 12:51 PM, James Carr &lt;<a href=3D"javascript:" ta=
rget=3D"_blank" gdf-obfuscated-mailto=3D"h9UcRLX5S20J">james....@gmail.com<=
/a>&gt; wrote:<br>
&gt; Great, this is why i wanted to announce this ASAP so I could get some<=
br>
&gt; feature requests. ;)<br>
&gt;<br>
&gt; I'll add it to the issue tracker and get started.<br>
&gt;<br>
&gt; Thanks,<br>
&gt; James<br>
&gt;<br>
&gt; On Jun 20, 2012 11:19 AM, "Charlie" &lt;<a href=3D"javascript:" target=
=3D"_blank" gdf-obfuscated-mailto=3D"h9UcRLX5S20J">cha...@powmedia.co.uk</a=
>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; I've been integrating ElasticSearch into my app this week so this =
looks<br>
&gt;&gt; interesting.<br>
&gt;&gt;<br>
&gt;&gt; It would be great if there was a way to also set boosts per field,=
<br>
&gt;&gt; alongside the es_indexed option. &nbsp;In the model would be a gre=
at place to<br>
&gt;&gt; define this mapping anyway<br>
&gt;&gt; (<a href=3D"http://www.elasticsearch.org/guide/reference/mapping/"=
 target=3D"_blank">http://www.elasticsearch.org/<wbr>guide/reference/mappin=
g/</a>)<br>
&gt;&gt;<br>
&gt;&gt; Will try it out this week, thanks<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Wednesday, June 20, 2012 4:26:01 PM UTC+1, James Carr wrote:<br=
>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hey All,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I just released a new mongoose plugin last night that allows m=
ongoose<br>
&gt;&gt;&gt; models to be indexed in elasticsearch on save for full text se=
arching. For<br>
&gt;&gt;&gt; now just about all of the Query DSL in elastic search (or at l=
east as much<br>
&gt;&gt;&gt; as is supported by elastical) works.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Check it out and let me know of any improvements that can be<b=
r>
&gt;&gt;&gt; made:&nbsp;<a href=3D"http://jamescarr.github.com/mongoosastic=
/" target=3D"_blank">http://jamescarr.github.<wbr>com/mongoosastic/</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thanks,<br>
&gt;&gt;&gt; James<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; <a href=3D"http://mongoosejs.com" target=3D"_blank">http://mongoos=
ejs.com</a><br>
&gt;&gt; <a href=3D"http://github.com/learnboost/mongoose" target=3D"_blank=
">http://github.com/learnboost/<wbr>mongoose</a><br>
&gt;&gt; You received this message because you are subscribed to the Google=
<br>
&gt;&gt; Groups "Mongoose Node.JS ORM" group.<br>
&gt;&gt; To post to this group, send email to <a href=3D"javascript:" targe=
t=3D"_blank" gdf-obfuscated-mailto=3D"h9UcRLX5S20J">mongoo...@googlegroups.=
com</a><br>
&gt;&gt; To unsubscribe from this group, send email to<br>
&gt;&gt; <a href=3D"javascript:" target=3D"_blank" gdf-obfuscated-mailto=3D=
"h9UcRLX5S20J">mongoose-orm...@<wbr>googlegroups.com</a><br>
&gt;&gt; For more options, visit this group at<br>
&gt;&gt; <a href=3D"http://groups.google.com/group/mongoose-orm?hl=3Den" ta=
rget=3D"_blank">http://groups.google.com/<wbr>group/mongoose-orm?hl=3Den</a=
><br>
&gt;<br>
&gt; --<br>
&gt; <a href=3D"http://mongoosejs.com" target=3D"_blank">http://mongoosejs.=
com</a><br>
&gt; <a href=3D"http://github.com/learnboost/mongoose" target=3D"_blank">ht=
tp://github.com/learnboost/<wbr>mongoose</a><br>
&gt; You received this message because you are subscribed to the Google<br>
&gt; Groups "Mongoose Node.JS ORM" group.<br>
&gt; To post to this group, send email to <a href=3D"javascript:" target=3D=
"_blank" gdf-obfuscated-mailto=3D"h9UcRLX5S20J">mongoo...@googlegroups.com<=
/a><br>
&gt; To unsubscribe from this group, send email to<br>
&gt; <a href=3D"javascript:" target=3D"_blank" gdf-obfuscated-mailto=3D"h9U=
cRLX5S20J">mongoose-orm...@<wbr>googlegroups.com</a><br>
&gt; For more options, visit this group at<br>
&gt; <a href=3D"http://groups.google.com/group/mongoose-orm?hl=3Den" target=
=3D"_blank">http://groups.google.com/<wbr>group/mongoose-orm?hl=3Den</a><br=
>
<br>
--<br>
<a href=3D"http://mongoosejs.com" target=3D"_blank">http://mongoosejs.com</=
a><br>
<a href=3D"http://github.com/learnboost/mongoose" target=3D"_blank">http://=
github.com/learnboost/<wbr>mongoose</a><br>
You received this message because you are subscribed to the Google<br>
Groups "Mongoose Node.JS ORM" group.<br>
To post to this group, send email to <a href=3D"javascript:" target=3D"_bla=
nk" gdf-obfuscated-mailto=3D"h9UcRLX5S20J">mongoo...@googlegroups.com</a><b=
r>
To unsubscribe from this group, send email to<br>
<a href=3D"javascript:" target=3D"_blank" gdf-obfuscated-mailto=3D"h9UcRLX5=
S20J">mongoose-orm...@<wbr>googlegroups.com</a><br>
For more options, visit this group at<br>
<a href=3D"http://groups.google.com/group/mongoose-orm?hl=3Den" target=3D"_=
blank">http://groups.google.com/<wbr>group/mongoose-orm?hl=3Den</a><br>
</blockquote></div>
</blockquote></div>
------=_Part_578_5739662.1349292694435--

------=_Part_577_4232827.1349292694435--