Search feature issues...

0 views
Skip to first unread message

Phil Haack

unread,
Dec 22, 2009, 12:13:11 AM12/22/09
to sub...@googlegroups.com

Hey Simo,

 

I tried out the search feature and ran into a few issues.

 

1.       When I ran the blog on localhost:2732, typed in a search term, and then hit the search button, it tried to run the search on http://localhost/search.aspx instead of localhost:2732/search.aspx.

2.       When I tried to rebuild the index, I got an error that the rebuild failed. I don’t know why it failed. BTW, I recently checked in a fix for log4Net logging to the database. You should merge trunk into your branch and I’ll be able to see what error got logged. J

 

Phil

Simone Chiaretta

unread,
Dec 22, 2009, 5:55:28 AM12/22/09
to sub...@googlegroups.com

1 - Yes, I know about the url: I thought it was a problem of how the URL is built when running inside the visual studio web server.
I do this:
Url.SearchPageUrl().ToFullyQualifiedUrl(Blog)

where SearchPageUrl is GetVirtualPath("search", null);

I thought this would have already built the correct URL. Or is there a way to retrieve only the url without the domain part of it?

2 - I didn't put a lot of logging :) I'll merge trunk into branch and see and add more logging.

Simo


--

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



--
Simone Chiaretta
Microsoft MVP ASP.NET - ASPInsider
Blog: http://codeclimber.net.nz
RSS: http://feeds2.feedburner.com/codeclimber
twitter: @simonech

Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"

Phil Haack

unread,
Dec 22, 2009, 12:25:15 PM12/22/09
to <subtext@googlegroups.com>, sub...@googlegroups.com
Ok, log that as a bug against me. I'll fix it. But I don't think it should be a fully qualified URL in the first place, should it?

Phil


Sent from my mobile phone

Simone Chiaretta

unread,
Dec 22, 2009, 1:27:05 PM12/22/09
to sub...@googlegroups.com
I changed it to Url.SearchPageUrl() and seems to work fine, but not tested in a multi-blog environment with subfolders yet

Simo

Phil Haack

unread,
Dec 22, 2009, 1:31:03 PM12/22/09
to sub...@googlegroups.com

I saw that. I’ll try it out. It should work fine as long as you’re using the Subtext routing. The custom routes I wrote handle multi-blogs with subfolders.

 

Phil

Simone Chiaretta

unread,
Dec 22, 2009, 1:48:33 PM12/22/09
to sub...@googlegroups.com
OK.. awesome
Simo
Reply all
Reply to author
Forward
0 new messages