You probably want to first look at Lucene

http://lucene.apache.org/java/docs/

If you don't like that, you can try implementing this:

http://www.miislita.com/term-vector/term-vector-3.html

-Tristan

On Nov 18, 5:47 am, Barakat <ahmedbara...@gmail.com> wrote:
> Hi All,
>
> I want to have a search box in my page so the user can search for name
> in an address book
>
> for example i expect the user to write any words he wants in the box
> for search for example
> "Mike Laurance California"
>
> If such words written and I want to search with it in my data store
> that has a property for name, address, phone number and other
> properties, because I don't know what the user will write in the
> search box, I have to loop with the written words to do queries on all
> kind of properties i have, then do like intersection between these
> queries I got from that search.
>
> This the way I am thinking in to implement such kind of search, but I
> see this not an efficient one because with the number of inputs to the
> search increase, the queries is increase, and if the datastore has
> huge number of entries, it will become a mess.
>
> Also I didn't find an function to intersect queries, it should be done
> with loops which another mess.
>
> Is there any way to do this search with an efficient way even if it is
> complex.
>
> I don't have any knowledge about search engines and techniques, so if
> there any article or book good to give me a start so I can get the
> basics for that?
>
> Thanks in  Advance

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.


Reply via email to